Not sure if this is the right forum for this but ...
I have Spring 1.2.0, the included Quartz jar and Tomcat 5.28 on WinXP. I have configured a task to run using the Quartz scheduler
quartz.properties ...Code:<bean id="quartz" class="org.springframework.scheduling.quartz.SchedulerFactoryBean"> <property name="waitForJobsToCompleteOnShutdown"><value>true</value></property> <property name="configLocation"><value>classpath:quartz.properties</value></property> <property name="triggers"> <list><ref bean="cronReportTrigger"/></list> </property> </bean>
and noticed that Tomcat won't shutdown on command anymore. Neither shutdown script or the eclipse tomcat plug-in work If I look at this in eclipse using the Tomcat plug in I seeCode:org.quartz.threadPool.class=org.quartz.simpl.SimpleThreadPool org.quartz.threadPool.threadCount=2 org.quartz.threadPool.threadPriority=4
Thread [DestroyJavaVM]
Thread [Quartz-Scheduler_QuartzSchedulerThread]
Thread [Quartz-Scheduler_Worker-0]
Thread [http-8080-Processor3]
Thread [TP-Processor4]
all listed as Running after a shutdown.
I tried setting waitForJobsToCompleteOnShutdown to false (since the job runs for 5 seconds, only once a day) but this made no difference.
Any one else see this effect?
ps Tomcat shutsdown fine if I comment out the Quartz stuff.


Reply With Quote