[jboss-user] [Clustering/JBoss] - Re: Only one scheduler across all nodes in the cluster

tpawankumar do-not-reply at jboss.com
Wed Apr 9 04:09:21 EDT 2008


Hi,

Following is the message on my console:

  | 10:50:27,533 INFO  [TreeCache] viewAccepted(): MergeView::[10.88.192.129:2355|1]
  |  [10.88.192.129:2355, 10.88.192.141:1528], subgroups=[[10.88.192.129:2355|0] [10
  | .88.192.129:2355], [10.88.192.141:1528|0] [10.88.192.141:1528]]
  | 

This tells that they are in cluster right?

Let me tell you how i deployed.
I have ejb jar file deployed in all/deploy folder in both the nodes.Then i pasted the following code in schedule-service.xml which is inside all/deploy
folder.
       <mbean code="org.jboss.varia.scheduler.ScheduleManager"
  |         	    name="jboss:service=ScheduleManager">
  |         	    <attribute name="StartAtStartup">true</attribute>
  |         	    <attribute name="FixedRate">true</attribute>
  |           </mbean>
  |           
  |             <mbean code="com.covad.scheduler.HearBeatScheduler"
  |                 	    name="com.covad:service=HearBeatScheduler">
  |         </mbean>
  |        
  |         
  |         <mbean code="org.jboss.varia.scheduler.SingleScheduleProvider" 
  |                   name="jboss:service=SingleScheduleProvider">
  |                <depends>jboss.ha:service=HASingletonDeployer,type=Barrier</depends>    
  |               <depends optional-attribute-name="ScheduleManagerName">jboss:service=ScheduleManager</depends>
  |               <depends optional-attribute-name="TargetName">com.covad:service=HearBeatScheduler</depends>
  |               <attribute name="TargetMethod">perform()</attribute>
  |               <attribute name="DateFormat"></attribute>
  |               <attribute name="StartDate">NOW</attribute>
  |               <attribute name="Period">10000</attribute>
  |               <attribute name="Repetitions">-1</attribute>
  |    </mbean> 

.Did i deploy in the correct way or should i deploy in all/deploy-hasingleton folder?

Please help me.

Thanks,
Pavan.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4142606



More information about the jboss-user mailing list