3 Replies Latest reply on Apr 16, 2008 2:57 PM by Kevin Conner

    Scheduling on one .esb shutdown other scheduling

    Mathieu Pasture Newbie

      Hello,

      I am using JBossESB-4.2GA on JBossAS-4.2GA. I have a very strange (and annoying) issue with scheduling. I am using several .esb archives using FTP or scheduling. Sometime, when I redeploy one of the .esb, the scheduling of the others stop working (sometimes it doesn't). The scheduler on the new .esb is always working.

      The strangest part is that a simple touch on each .esb will to redeploy the hub will eventually get the all working together. I have look at the problem for some time now but haven't find a reproducible pattern.

      I have seen a couple of issues regarding scheduling but they don't seam to match my issue:
      - http://jira.jboss.com/jira/browse/JBESB-1582
      - http://jira.jboss.com/jira/browse/JBESB-1631

      Here is the an piece of the jboss-esb.xml that my files are using:

      <ftp-provider name="FtpIn" hostname="ftp.foo.net">
       <ftp-bus busid="foo_FtpIn">
       <ftp-message-filter .../>
       </ftp-bus>
       </ftp-provider>
      
       <schedule-provider name="foo_schedule_provider">
       <simple-schedule scheduleid="foo_MyIn" frequency="90"/>
       </schedule-provider>
      
       ...
      
       <service category="foo" name="foo_FtpIn" description="">
       <listeners>
       <ftp-listener name="foo_FtpIn" busidref="foo_FtpIn" maxThreads="1" is-gateway="true" >
       <property name="pollLatencySeconds" value="60"/>
       </ftp-listener>
       ...
       </listeners>
       ...
       <service category="foo" name="foo_MyIn" description="">
       <listeners>
       <scheduled-listener name="foo_MyIn" scheduleidref="foo_As2In" event-processor="com.foo.messaging.gateway.MyComposerScheduler">
       ...
       </scheduled-listener>
       ...
       </listeners>
       ...


      Do you have any idea on how to debug this?

      Thanks very much.
      Mathieu