0 Replies Latest reply on Nov 6, 2009 3:04 PM by Linnet S

    Weblogic 10.3.1 (11g) and Seam QuartzDispatcher

    Linnet S Newbie
      Quartz 1.6.5
      Seam 2.1.1

      We recently moved from JBoss 4.2 to Weblogic 10.3.1 (11g) and I am not receiving an error "class was not found: org.jboss.seam.async.AsynchronousInvocation" when the QuartzDispatcher tries to retreive jobs from the database. I know that Quartz is configured properly and works properly when using in memory (org.quartz.jobStore.class = org.quartz.simpl.RAMJobStore). However when it's set to jobStoreCMT as previously configured under JBoss it blows up retrieving the same jobs.

      11:01:20,147 INFO  [Processor] I am in startup
      11:01:20,163 DEBUG [ScheduleController] This method is used to kick off jobs when the application is deployed
      11:01:20,163 INFO  [ScheduleController] Before trigger handle in scheduleTimer
      11:01:20,163 INFO  [SchedulerSignalerImpl] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
      11:01:20,163 INFO  [QuartzScheduler] Quartz Scheduler v.1.6.5 created.
      11:01:20,163 INFO  [JobStoreCMT] Using db table-based data access locking (synchronization).
      11:01:20,163 INFO  [JobStoreCMT] JobStoreCMT initialized.
      11:01:20,163 INFO  [StdSchedulerFactory] Quartz scheduler 'SeamScheduler' initialized from an externally opened InputStream.
      11:01:20,163 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.6.5
      11:01:20,179 INFO  [QuartzScheduler] Scheduler SeamScheduler_$_1 started.
      11:01:20,241 INFO  [ScheduleController] After 1st trigger handle in scheduleTimer
      11:01:20,241 INFO  [ScheduleController] After 2nd trigger handle in scheduleTimer
      11:01:20,257 ERROR [JobStoreCMT] Error retrieving job, setting trigger state to ERROR.
      org.quartz.JobPersistenceException: Couldn't retrieve job because a required class was not found: org.jboss.seam.async.AsynchronousInvocation [See nested exception: java.lang.ClassNotFoundException: org.jboss.seam.async.AsynchronousInvocation]
              at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveJob(JobStoreSupport.java:1392)
              at org.quartz.impl.jdbcjobstore.JobStoreSupport.triggerFired(JobStoreSupport.java:2879)
              at org.quartz.impl.jdbcjobstore.JobStoreSupport$38.execute(JobStoreSupport.java:2847)
              at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3760)
              at org.quartz.impl.jdbcjobstore.JobStoreSupport.triggerFired(JobStoreSupport.java:2841)
              at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:342)
      Caused by: java.lang.ClassNotFoundException: org.jboss.seam.async.AsynchronousInvocation
              at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
              at java.security.AccessController.doPrivileged(Native Method)
              at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
              at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
              at java.lang.Class.forName0(Native Method)
              at java.lang.Class.forName(Class.java:247)
              at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:604)
              at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
              at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
              at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
              at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
              at java.util.HashMap.readObject(HashMap.java:1030)
              at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
              at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
              at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
              at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
              at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
              at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
              at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
              at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
              at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.getObjectFromBlob(StdJDBCDelegate.java:3476)
              at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.selectJobDetail(StdJDBCDelegate.java:907)
              at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveJob(JobStoreSupport.java:1380)
              ... 5 more

      I've placed the jboss-seam.jar both the ear and ear/lib directory and it still can't find the class.

      Any ideas?