Hi there,
We have a spring application(batchConsole) that connects to remote scheduler(s).
We do not wish to shutdown the remote scheduler when we stop/start/redploy the application "batchConsole".
How do we do this? do we somehow disconnect the rmi?
In the QuartzInitializerServlet there is a shutdown check in the destroy() method. Since we're using Spring, we don't load this servlet, instead rely and Spring's SchedulerFactoryBean
Our spring config looks like this;
Code:<bean id="batQuartzScheduler" class="org.springframework.scheduling.quartz.SchedulerFactoryBean"> <property name="quartzProperties"> <props> <prop key="org.quartz.scheduler.instanceName">QMPScheduler</prop> <prop key="org.quartz.scheduler.instanceId">AUTO</prop> <prop key="org.quartz.scheduler.rmi.proxy">true</prop> <prop key="org.quartz.scheduler.rmi.registryHost">${bat.quartz.registry.host}</prop> <prop key="org.quartz.scheduler.rmi.registryPort">${bat.quartz.registry.port}</prop> </props> </property> </bean>


Reply With Quote
