Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

How i stop this Quartz thread running in tomcat.

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic