aspose file tools
The moose likes Struts and the fly likes How i stop this Quartz thread running in tomcat. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "How i stop this Quartz thread running in tomcat." Watch "How i stop this Quartz thread running in tomcat." New topic
Author

How i stop this Quartz thread running in tomcat.

Vinod suryawanshi
Ranch Hand

Joined: Aug 08, 2012
Posts: 39
Hi friends,
I need to schedule one task which i want to repeat at every day morning between 6-7. So i did my R and D and find following program to create schedule job. Following program is in struts and its working fine. Its automatically started when i start tomcat. But problem is, i don't know how to stop it. when i try to stop tomcat or restart tomcat, i get pop up message with error from tomcat saying, "Tomcat stooping Fail". same thing happen with restart tomcat also.

define in struts-config.xml file a plugin,


CronScheluder.java


MyJob.java


StrutsImp.java


I want this program to stop after stopping tomcat and start again after starting tomcat, and when i start again. So if anybody have any idea about this problem then please help....
Thanks in advanced.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: How i stop this Quartz thread running in tomcat.
 
Similar Threads
Thread Scheduler
is there any way to make this without static ?(this time i give up again)
Service wont registerd on application deploy
scheduling using Quartz
Plugin init method is not called