Hi All,

I am using scheduler in clustered environment.
Following is jboss-service.xml

  | <?xml version="1.0" encoding="UTF-8"?>
  | <server>
  | <mbean code="org.jboss.varia.scheduler.Scheduler"
  |            name="com.covad:service=Scheduler">
  |     <depends>jboss.ha:service=HASingletonDeployer,type=Barrier</depends>    
    
  |         <attribute name="StartAtStartup">true</attribute>
  |         <attribute 
name="SchedulableClass">com.covad.scheduler.HearBeatScheduler</attribute>       
  
  |         <attribute name="InitialStartDate">NOW</attribute>
  |         <attribute name="SchedulePeriod">60000</attribute>
  |         <attribute name="InitialRepetitions">-1</attribute>
  |     </mbean>
  | </server>
  | 

I have configured two nodes on two different machines.
This HeartBeatScheduler class publishes messages on the JMS topic.

I want only one node to publish the message.But both nodes are publishing  the 
messages.

I am using Jboss 4.2.1 GA and i am deploying the same .sar in both the machines.

Please suggest me where i am going wrong.

Thanks,
Pavan.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4141319#4141319

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4141319
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to