Results 1 to 2 of 2

Thread: Disconnect from a remote scheduler

  1. #1
    Join Date
    Sep 2007
    Posts
    2

    Default Disconnect from a remote scheduler

    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>
    Last edited by GMason; May 20th, 2010 at 02:09 AM.

  2. #2
    Join Date
    Sep 2011
    Posts
    1

    Default Resolution?

    Hi,

    Anyone know how to do this? I've been struggling with this for a day or two and would like to know what the experts think.

    Regards,
    Schnooki

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •