During JBoss load time, the quartz scheduler is started and starts catching triggers of
waiting scheduled jobs (from the database). At the time a job is activated, the class
which implements quartz Job cannot be instaciated (in order to
run the job) and the following Exception is thrown:
10:34:11,427 WARN [ServiceController] Problem starting service
jboss.jca:service=RARDeployment,name='quartz-ra.rar'
javax.resource.spi.ResourceAdapterInternalException: org.quartz.SchedulerConfigException:
Failure occured during job recovery.
[See nested exception: org.quartz.JobPersistenceException:
Couldn't recover jobs: Couldn't store trigger: No ClassLoaders found for:
com.lamark.utils.BillingRetryJob
[See nested exception: org.quartz.JobPersistenceException: Couldn't store trigger: No
ClassLoaders found for: com.lamark.utils.BillingRetryJob
[See nested exception: java.lang.ClassNotFoundException: No ClassLoaders found for:
com.lamark.utils.BillingRetryJob]]]
at org.jboss.resource.adapter.quartz.inflow.QuartzResourceAdapter.start(QuartzReso
urceAdapter.java:58)
at org.jboss.resource.deployment.RARDeployment.startService(RARDeployment.java:109 )
How can I ensure that the Job class I created will be created before quartz is loaded?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160298#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...