Tomcat Quartz

broken image


Quartz tomcat shutdown problem

Deploy the QE application by copying the quartzdesk-executor-web.war file to the TOMCATHOME/webapps directory. Start Tomcat and check its logs (TOMCATHOME/logs) if the QE application was started successfully. You may also want to check the QE log files created in the configured work directory. Country music songbooks. I am using Quartz to run a job every hour. The servlet is running on Tomcat and I am using the ServletConextListener to listen for when the context is destroyed. When I shut down tomcat, I get the message: 'appears to have started a thread named MySchedulerWorker-1 but has failed to stop it'. But later I see this message.

Tomcat Quartz

Quartz Scheduler Tomcat

Tomcat Quartz

Deploy the QE application by copying the quartzdesk-executor-web.war file to the TOMCATHOME/webapps directory. Start Tomcat and check its logs (TOMCATHOME/logs) if the QE application was started successfully. You may also want to check the QE log files created in the configured work directory. Country music songbooks. I am using Quartz to run a job every hour. The servlet is running on Tomcat and I am using the ServletConextListener to listen for when the context is destroyed. When I shut down tomcat, I get the message: 'appears to have started a thread named MySchedulerWorker-1 but has failed to stop it'. But later I see this message.

Quartz Scheduler Tomcat

Tomcat Quartz Countertops

Hi,
i use quartz 1.6 with tomcat, i have this error in the server console at the startup or shutdown of tomcat
14 sept. 2007 12:03:00 org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already. Could not load org.quartz.utils.ExceptionHelper. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1238)
Exception in thread 'TestScheduler_QuartzSchedulerThread' java.lang.NoClassDefFoundError: org/quartz/utils/ExceptionHelper
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
at org.quartz.SchedulerException.setCause(SchedulerException.java:141)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at org.quartz.SchedulerException.(SchedulerException.java:136)
at org.quartz.SchedulerException.setCause(SchedulerException.java:141)
at org.quartz.JobPersistenceException.(JobPersistenceException.java:80)
at org.quartz.SchedulerException.(SchedulerException.java:136)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.getConnection(JobStoreSupport.java:640)
at org.quartz.JobPersistenceException.(JobPersistenceException.java:80)
at org.quartz.impl.jdbcjobstore.JobStoreTX.getNonManagedTXConnection(JobStoreTX.java:72)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.getConnection(JobStoreSupport.java:640)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3659)
at org.quartz.impl.jdbcjobstore.JobStoreTX.getNonManagedTXConnection(JobStoreTX.java:72)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.triggerFired(JobStoreSupport.java:2751)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3659)
at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:313)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.triggerFired(JobStoreSupport.java:2751)
at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:313)
cron job run normally, but i can't stop tomcat without kill of his process
Thanks in advance
Walid
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=124321&messageID=195354#195354
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]




broken image