I'm using the spring Quartz SchedulerFactoryBean to run a task (SimpleTriggerBean) every 10 seconds. It works great, except when I undeploy the app, the timer carries on running. The only way to stop it is to restart the server! Is there some JBoss or Spring configuration which will stop the timer when the app is undeployed?
A:
Found the problem - I was manually initialising the Spring Context without destroying it with the servlet. Added a listener, now it's all sorted.
Robert Wilson
2010-02-08 16:42:29