[jboss-user] [JBoss Seam] - Re: Quartz configuration in Seam 2.0B

pdepaepe do-not-reply at jboss.com
Fri Aug 17 05:31:28 EDT 2007


Adding import org.jboss.seam.async.QuartzDispatcher; where the Asynchronous method is set will fix you classloader error. 

Next step is:

11:27:15,026 ERROR [JobStoreTX] Error retrieving job, setting trigger state to ERROR.
  | org.quartz.JobPersistenceException: Couldn't retrieve job because a required class was not found: No ClassLoaders found for: org.jboss.seam.async.AsynchronousInvocation [See nested exception: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.seam.async.AsynchronousInvocation]
  |         at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveJob(JobStoreSupport.java:1031)
  |         at org.quartz.impl.jdbcjobstore.JobStoreSupport.triggerFired(JobStoreSupport.java:1818)
  |         at org.quartz.impl.jdbcjobstore.JobStoreTX.triggerFired(JobStoreTX.java:1286)
  |         at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:308)
  | * Nested Exception (Underlying Cause) ---------------
  | java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.seam.async.AsynchronousInvocation
  |         at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
  |         at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:514)
  |         at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:408)
  |         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  |         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
  |         at java.lang.Class.forName0(Native Method)
  |         at java.lang.Class.forName(Class.java:242)
  |         at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:585)
  |         at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544)
  |         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
  |         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
  |         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
  |         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
  |         at java.util.HashMap.readObject(HashMap.java:1067)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946)
  |         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1809)
  |         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
  |         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
  |         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
  |         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
  |         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
  |         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
  |         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
  |         at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.getObjectFromBlob(StdJDBCDelegate.java:3873)
  |         at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.selectJobDetail(StdJDBCDelegate.java:956)
  |         at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveJob(JobStoreSupport.java:1021)
  |         at org.quartz.impl.jdbcjobstore.JobStoreSupport.triggerFired(JobStoreSupport.java:1818)
  |         at org.quartz.impl.jdbcjobstore.JobStoreTX.triggerFired(JobStoreTX.java:1286)
  |         at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:308)
  | 11:27:15,100 ERROR [ErrorLogger] An error occured while firing trigger 'DEFAULT.10cb4d60:114731fd10a:-7ffe'
  | org.quartz.JobPersistenceException: Couldn't retrieve job because a required class was not found: No ClassLoaders found for: org.jboss.seam.async.AsynchronousInvocation [See nested exception: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.seam.async.AsynchronousInvocation]
  |         at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveJob(JobStoreSupport.java:1031)
  |         at org.quartz.impl.jdbcjobstore.JobStoreSupport.triggerFired(JobStoreSupport.java:1818)
  |         at org.quartz.impl.jdbcjobstore.JobStoreTX.triggerFired(JobStoreTX.java:1286)
  |         at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:308)
  | * Nested Exception (Underlying Cause) ---------------
  | java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.seam.async.AsynchronousInvocation
  |         at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
  |         at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:514)
  |         at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:408)
  |         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  |         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
  |         at java.lang.Class.forName0(Native Method)
  |         at java.lang.Class.forName(Class.java:242)
  |         at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:585)
  |         at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544)
  |         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
  |         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
  |         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
  |         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
  |         at java.util.HashMap.readObject(HashMap.java:1067)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946)
  |         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1809)
  |         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
  |         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
  |         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
  |         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
  |         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
  |         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
  |         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
  |         at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.getObjectFromBlob(StdJDBCDelegate.java:3873)
  |         at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.selectJobDetail(StdJDBCDelegate.java:956)
  |         at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveJob(JobStoreSupport.java:1021)
  |         at org.quartz.impl.jdbcjobstore.JobStoreSupport.triggerFired(JobStoreSupport.java:1818)
  |         at org.quartz.impl.jdbcjobstore.JobStoreTX.triggerFired(JobStoreTX.java:1286)
  |         at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:308)
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075142#4075142

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4075142



More information about the jboss-user mailing list