File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes Spring Quartz Shutdown issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring Quartz Shutdown issue" Watch "Spring Quartz Shutdown issue" New topic
Author

Spring Quartz Shutdown issue

nv reddy
Greenhorn

Joined: Sep 21, 2011
Posts: 6

Hi,

I have configured my quartz job with spring and I am using Tomcat for the app. Whenever i try to stop the server the following SERVER warning is showing in console. Please can anyone let me know, how to stop the scheduler using Spring after the job completed.

Sep 22, 2011 12:36:39 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/VendorIntegrity] appears to have started a thread named [DefaultQuartzScheduler_Worker-1] but has failed to stop it. This is very likely to create a memory leak.


Thanks.
Jay Abrahm
Ranch Hand

Joined: May 28, 2008
Posts: 183
Not an expert but I though the scheduler would always be running so that it can trigger the next batch job run. Its just a warning right ? Did you really have a memory leak ?
Jay Abrahm
Ranch Hand

Joined: May 28, 2008
Posts: 183
Or did you just want the job to be triggered one time and not repeatedly. Do you need Quartz for that, isn't there a better way of doing that.
nv reddy
Greenhorn

Joined: Sep 21, 2011
Posts: 6

I need the scheduler to be running continuously and Im not sure, how i can the memory leak. Whenener i brought down the server. the messaging is showing up, but i am not sure about the effects.

One more thing, is there anyway i can setup a job to be runnming only once by crobnexpession. if yes, how the expression should be?

Thanks for you time.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring Quartz Shutdown issue
 
Similar Threads
Spring to run Quartz Job
how do I deploy/run two web apps in one jboss6 Application Server
How to use same quartz tables for multiple jobs
Error when Stopping server
Spring Basic IOC concepts