0 Replies Latest reply on Feb 9, 2009 5:39 PM by sshetty

    Problem starting service jboss.esb:deployment=jbossesb.esb

      Hi,

      I am trying to change the quartz configuration in jboss to use an Oracle database instead of the in memory jobs.

      I followed the steps described here:

      http://jboss.org/community/docs/DOC-12809

      However, when I start jboss, I see the following exception:

      15:25:24,250 WARN [ServiceController] Problem starting service jboss.esb:deployment=jbossesb.esb
      java.lang.RuntimeException: org.jboss.soa.esb.ConfigurationException: org.jboss.soa.esb.schedule.SchedulingException: Failed to schedule job.
       at org.jboss.soa.esb.listeners.config.Configuration.create(Configuration.java:132)
       at org.jboss.soa.esb.listeners.config.JBoss4ESBDeployment.startService(JBoss4ESBDeployment.java:82)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
       at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
      
      Caused by: org.jboss.soa.esb.ConfigurationException: org.jboss.soa.esb.schedule.SchedulingException: Failed to schedule job.
       at org.jboss.soa.esb.listeners.config.ScheduleProviderFactory.createInstance(ScheduleProviderFactory.java:73)
       at org.jboss.soa.esb.listeners.config.Configuration.create(Configuration.java:116)
       ... 113 more
      Caused by: org.jboss.soa.esb.schedule.SchedulingException: Failed to schedule job.
       at org.jboss.soa.esb.schedule.ScheduleProvider.addListener(ScheduleProvider.java:159)
       at org.jboss.soa.esb.schedule.ScheduleProvider.addListener(ScheduleProvider.java:125)
       at org.jboss.soa.esb.listeners.config.ScheduleProviderFactory.createInstance(ScheduleProviderFactory.java:65)
       ... 114 more
      
      
      Caused by: org.quartz.JobPersistenceException: Couldn't store job: Unable to serialize JobDataMap for insertion into database because the value of property 'org.jboss.soa.esb.schedule.ScheduledEventListener' is not serializable: org.jboss.soa.esb.helpers.ConfigTree$Child [See nested exception: java.io.NotSerializableException: Unable to serialize JobDataMap for insertion into database because the value of property 'org.jboss.soa.esb.schedule.ScheduledEventListener' is not serializable: org.jboss.soa.esb.helpers.ConfigTree$Child]
       at org.quartz.impl.jdbcjobstore.JobStoreSupport.storeJob(JobStoreSupport.java:1106)
       at org.quartz.impl.jdbcjobstore.JobStoreSupport$3.execute(JobStoreSupport.java:1048)
       at org.quartz.impl.jdbcjobstore.JobStoreSupport$40.execute(JobStoreSupport.java:3688)
       at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3760)
       at org.quartz.impl.jdbcjobstore.JobStoreTX.executeInLock(JobStoreTX.java:93)
       at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInLock(JobStoreSupport.java:3684)
       at org.quartz.impl.jdbcjobstore.JobStoreSupport.storeJobAndTrigger(JobStoreSupport.java:1036)
       at org.quartz.core.QuartzScheduler.scheduleJob(QuartzScheduler.java:732)
       at org.quartz.impl.StdScheduler.scheduleJob(StdScheduler.java:265)
       at org.jboss.soa.esb.schedule.ScheduleProvider.addListener(ScheduleProvider.java:156)
       ... 116 more
      Caused by: java.io.NotSerializableException: Unable to serialize JobDataMap for insertion into database because the value of property 'org.jboss.soa.esb.schedule.ScheduledEventListener' is not serializable: org.jboss.soa.esb.helpers.ConfigTree$Child
       at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.serializeJobData(StdJDBCDelegate.java:3358)
       at org.quartz.impl.jdbcjobstore.oracle.OracleDelegate.insertJobDetail(OracleDelegate.java:173)
       at org.quartz.impl.jdbcjobstore.JobStoreSupport.storeJob(JobStoreSupport.java:1103)
       ... 125 more
      
      
      


      How can I reconfigure quartz to use the db ? I am trying to get the schedule to work in a cluster.

      Thanks

      :)
      SShetty