[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss startup - Quartz Job instanciation error

gsn do-not-reply at jboss.com
Tue Jun 24 12:56:26 EDT 2008


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#4160298

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



More information about the jboss-user mailing list