Jboss-4.0.5.GA XMLScheduleProvider Problem
tunirs Apr 28, 2010 9:44 PMHi all
I am faceing a problem with org.jboss.varia.scheduler.XMLScheduleProvider
It is a server side mbean application, which reads files from a ftp folder and process them.
So the mbean is scheduled with XMLScheduleProvider. the configaration details are as follows
<mbean code="org.jboss.varia.scheduler.XMLScheduleProvider"
name="mdh.gateway.WPRTL.WPNTWRKS.B2B:service=ScheduleProvider,name=Scheduler">
<depends>mdh:service=ScheduleManager</depends>
<depends>mdh.gateway.WPRTL.WPNTWRKS.B2B-C:name=ReceiveService</depends>
<depends>mdh.gateway.WPRTL.WPNTWRKS.B2B-NMID-SORD:name=ReceiveService</depends>
<depends>mdh.gateway.WPRTL.WPNTWRKS.B2B:name=OutputService</depends>
<attribute name="ScheduleManagerName">mdh:service=ScheduleManager</attribute>
<!--<attribute name="HASingleton">false</attribute>-->
<attribute name="Schedules">
<schedules>
<schedule>
<target-mbean-name>mdh.gateway.WPRTL.WPNTWRKS.B2B-C:name=ReceiveService</target-mbean-name>
<target-method-name>performTask</target-method-name>
<target-method-signature> </target-method-signature>
<start-date>NOW</start-date>
<period>120000</period>
<repetitions>-1</repetitions>
</schedule>
<schedule>
<target-mbean-name>mdh.gateway.WPRTL.WPNTWRKS.B2B-NMID-SORD:name=ReceiveService</target-mbean-name>
<target-method-name>performTask</target-method-name>
<target-method-signature> </target-method-signature>
<start-date>NOW</start-date>
<period>15000</period>
<repetitions>-1</repetitions>
</schedule>
<schedule>
<target-mbean-name>mdh.gateway.WPRTL.WPNTWRKS.B2B:name=OutboxCleanupService</target-mbean-name>
<target-method-name>cleanOutbox</target-method-name>
<target-method-signature> </target-method-signature>
<start-date>NOW</start-date>
<period>335000</period>
<repetitions>-1</repetitions>
</schedule>
<schedule>
<target-mbean-name>mdh.gateway.WPRTL.WPNTWRKS.B2B:name=StoppedFileService</target-mbean-name>
<target-method-name>process</target-method-name>
<target-method-signature> </target-method-signature>
<start-date>NOW</start-date>
<period>18000000</period>
<repetitions>-1</repetitions>
</schedule>
<schedule>
<target-mbean-name>mdh.gateway.WPRTL.WPNTWRKS.B2B:name=Recovery</target-mbean-name>
<target-method-name>performTask</target-method-name>
<target-method-signature> </target-method-signature>
<start-date>NOW</start-date>
<period>1200000</period>
<repetitions>-1</repetitions>
</schedule>
<schedule>
<target-mbean-name>mdh.gateway.WPRTL.WPNTWRKS.B2B:name=StopFileMonitorService</target-mbean-name>
<target-method-name>process</target-method-name>
<target-method-signature> </target-method-signature>
<start-date>NOW</start-date>
<period>1835000</period>
<repetitions>-1</repetitions>
</schedule>
</schedules>
</attribute>
</mbean>
The ReceiveService mbean is configured to be called for infinite time with some interval. But it happens sometimes that the mbean is stop getting invoked. I need to restart the server in that case.
So can you please help me in this case, what may be the problem?
Is is possible to enable the log for XMLScheduleProvider, to check that if the XMLScheduleProvider is stop calling my mbean method or there are problem in my mbean?