Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-1719

Quartz Resourceadapter: MessageEndpointFactory is not serializable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • AS 4.2.2.GA
    • None
    • None

    Description

      I need to run quartz version 1.6.x under JBoss in cluster with Oracle DB.

      This is the stacktrace I get by starting my JBoss server.

      Caused by: org.quartz.JobPersistenceException: Couldn't store job: Unable to serialize JobDataMap for insertion into database because the value of property 'endpointFactory' is not serializable: org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory [
      See nested exception: java.io.NotSerializableException: Unable to serialize JobDataMap for insertion into database because the value of property 'endpointFactory' is not serializable: org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory]
      at org.quartz.impl.jdbcjobstore.JobStoreSupport.storeJob(JobStoreSupport.java:1041)
      at org.quartz.impl.jdbcjobstore.JobStoreSupport$3.execute(JobStoreSupport.java:983)
      at org.quartz.impl.jdbcjobstore.JobStoreSupport$39.execute(JobStoreSupport.java:3590)
      at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3662)
      at org.quartz.impl.jdbcjobstore.JobStoreTX.executeInLock(JobStoreTX.java:93)
      at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInLock(JobStoreSupport.java:3586)
      at org.quartz.impl.jdbcjobstore.JobStoreSupport.storeJobAndTrigger(JobStoreSupport.java:971)
      at org.quartz.core.QuartzScheduler.scheduleJob(QuartzScheduler.java:703)
      at org.quartz.impl.StdScheduler.scheduleJob(StdScheduler.java:255)
      at org.jboss.resource.adapter.quartz.inflow.QuartzResourceAdapter.endpointActivation(QuartzResourceAdapter.java:99)
      ... 155 more
      Caused by: java.io.NotSerializableException: Unable to serialize JobDataMap for insertion into database because the value of property 'endpointFactory' is not serializable: org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory
      at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.serializeJobData(StdJDBCDelegate.java:3354)
      at org.quartz.impl.jdbcjobstore.oracle.OracleDelegate.insertJobDetail(OracleDelegate.java:173)
      at org.quartz.impl.jdbcjobstore.JobStoreSupport.storeJob(JobStoreSupport.java:1038)
      ... 164 more

      This bug is relative to :
      https://jira.jboss.org/jira/browse/EJBTHREE-836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              traycho Traycho Ivanov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: