1 Reply Latest reply on Jul 12, 2012 1:36 AM by Abhijit Prusty

    ERROR [org.quartz.impl.jdbcjobstore.JobStoreTX] Error retrieving job, setting trigger s tate to ERROR.: org.quartz.JobPersistenceException: Couldn't retrieve job because a required class w as not found

    Abhijit Prusty Newbie

      Hi All,

       

      Can any one help me on this I am getting this exception when my quartz scheduler executes. I ahve quartz-all1.8.4.jar under my ear i.e. under web-inf/lib. Also, I have added quartz.properties to my startup parameters. Along with this, I have commented the quartz-ra.rar from the <server>/deploy folder to use the quartz present in the ear.

       

      Do, let me know if anything is wrong. The class is also available in the package. I am stuck with this issue for last one week, Any help is really apprecdiated.

       

      15:34:00,570 INFO  [DataDefinitionCollectorServiceImpl] DataCollection loading data definition

      15:34:00,773 INFO  [UpdateChecker] New Quartz update(s) found: 1.8.5 [http://www.terracotta.org/kit/

      reflector?kitID=default&pageID=QuartzChangeLog]

      15:34:01,258 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.

      15:34:01,289 ERROR [JobStoreTX] Error retrieving job, setting trigger state to ERROR.: org.quartz.Jo

      bPersistenceException: Couldn't retrieve job because a required class was not found: com.xxx.sdp.d

      1. atasourcing.scheduler.vo.ScheduleGroupDetails [See nested exception: java.lang.ClassNotFoundExceptio

      n: com.XXX.sdp.datasourcing.scheduler.vo.ScheduleGroupDetails]

             at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveJob(JobStoreSupport.java:1391) [:6.0

      .0.Final]

              at org.quartz.impl.jdbcjobstore.JobStoreSupport.triggerFired(JobStoreSupport.java:2878) [:6.

      1. 0.0.Final]

              at org.quartz.impl.jdbcjobstore.JobStoreSupport$38.execute(JobStoreSupport.java:2846) [:6.0.

      1. 0.Final]

              at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.ja

      va:3763) [:6.0.0.Final]

              at org.quartz.impl.jdbcjobstore.JobStoreSupport.triggerFired(JobStoreSupport.java:2840) [:6.

      1. 0.0.Final]

              at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:320) [:6.0.0.Final]

      Caused by: java.lang.ClassNotFoundException: com.xxx.sdp.datasourcing.scheduler.vo.ScheduleGroupDe

      tails

              at java.net.URLClassLoader$1.run(URLClassLoader.java:202) [:1.6.0_24]

              at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_24]

              at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [:1.6.0_24]

              at java.lang.ClassLoader.loadClass(ClassLoader.java:307) [:1.6.0_24]

              at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) [:1.6.0_24]

              at java.lang.ClassLoader.loadClass(ClassLoader.java:248) [:1.6.0_24]

              at java.lang.Class.forName0(Native Method) [:1.6.0_24]

              at java.lang.Class.forName(Class.java:247) [:1.6.0_24]

              at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java

      :284) [jboss-classloader.jar:2.2.0.GA]

              at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java

      :1152) [jboss-classloader.jar:2.2.0.GA]

              at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:8

      86) [jboss-classloader.jar:2.2.0.GA]

              at org.jboss.classloader.spi.base.BaseClassLoader.doLoadClass(BaseClassLoader.java:505) [jbo

      ss-classloader.jar:2.2.0.GA]

              at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:450) [jboss

      -classloader.jar:2.2.0.GA]

              at java.lang.ClassLoader.loadClass(ClassLoader.java:248) [:1.6.0_24]

              at java.lang.Class.forName0(Native Method) [:1.6.0_24]

              at java.lang.Class.forName(Class.java:247) [:1.6.0_24]

              at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:603) [:1.6.0_24]

              at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1574) [:1.6.0_24]

              at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495) [:1.6.0_24]

              at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731) [:1.6.0_24]

              at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) [:1.6.0_24]

              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350) [:1.6.0_24]

              at java.util.HashMap.readObject(HashMap.java:1030) [:1.6.0_24]

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_24]

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_24]

       

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1

      .6.0_24]

              at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_24]

              at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974) [:1.6.0_24]

              at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1848) [:1.6.0_24]

              at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752) [:1.6.0_24]

              at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) [:1.6.0_24]

              at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946) [:1.6.0_24]

              at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870) [:1.6.0_24]

              at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752) [:1.6.0_24]

              at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) [:1.6.0_24]

              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350) [:1.6.0_24]

              at org.quartz.impl.jdbcjobstore.PostgreSQLDelegate.getObjectFromBlob(PostgreSQLDelegate.java

      :101) [:6.0.0.Final]

              at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.selectJobDetail(StdJDBCDelegate.java:904) [:

      1. 6.0.0.Final]

              at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveJob(JobStoreSupport.java:1379) [:6.0

      .0.Final]

              ... 5 more