I'm using quartz 2.1.1, Geronimo 2.2 and Java 6. When I make code changes and want to redeploy my project, how can I make it so either quartz will stop executing jobs or my project will wait for jobs to finish executing before it undeploys?
I've got this working on Geronimo using "wait-on-shutdown" property. But I can't get it to work for the project itself.
I have 3 projects in an ear project. 2 of them use quartz, so those 2 are not a problem. 3rd one is an EJB project, so I'm going to try to use @PreDestroy and see if I can call shutdown(true) on all the schedulers.