[jboss-user] [Clustering/JBoss] - Clusterin JBoss 4.0.5 Default partition repeated in the same

nimind do-not-reply at jboss.com
Thu Jul 3 04:01:36 EDT 2008


Hi,

I am using the All profile, to which I have made the changes at http://wiki.jboss.org/wiki/UsingMod_jk1.2WithJBoss?action=e&windowstate=normal&mode=view
This includes adding the
Code:

jvmRoute="node1"	

and
Code:

jvmRoute="node2"	

to the 2 instances, setting
Code:

true	

and ensuring that AJP connector is uncommented.

I only modify two files: jbosweb-tomcat50.sar/server.xml and jbosweb-tomcat50.sar/META-INF/jboss-service.xml with jvmRoute and UseJK (only that).

Yet when I start up the 2 cluster members. I allowed the first server to completely start then started the second server. Nothing is deployed.

When i start the second server, it begins to add members to cluster with the same ip (second server ip) and differents ports. It repeats and i got 55 members with the same ip (172.19.131.63).

log second server:

  | -------------------------------------------------------
  | GMS: address is 172.19.131.63:1840
  | -------------------------------------------------------
  | 2008-07-03 07:43:37,140 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1781
  | 2008-07-03 07:43:37,140 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1767
  | 2008-07-03 07:43:37,140 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1788
  | 2008-07-03 07:43:38,640 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] New cluster view for partition DefaultPartition (id: 7, delta: 1) : [127.0.0.1:1099, 172.19.131.32:1099, 172.19.131.32:1099, 127.0.0.1:1099, 127.0.0.1:1099, 127.0.0.1:1099, 127.0.0.1:1099, 127.0.0.1:1099]
  | 2008-07-03 07:43:38,640 DEBUG [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] membership changed from 7 to 8
  | 2008-07-03 07:43:38,640 DEBUG [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] Begin notifyListeners, viewID: 7
  | 2008-07-03 07:43:38,640 INFO  [org.jboss.ha.framework.server.DistributedReplicantManagerImpl.DefaultPartition] I am (127.0.0.1:1099) received membershipChanged event:
  | 2008-07-03 07:43:38,640 INFO  [org.jboss.ha.framework.server.DistributedReplicantManagerImpl.DefaultPartition] Dead members: 0 ([])
  | 2008-07-03 07:43:38,640 INFO  [org.jboss.ha.framework.server.DistributedReplicantManagerImpl.DefaultPartition] New Members : 0 ([])
  | 2008-07-03 07:43:38,640 INFO  [org.jboss.ha.framework.server.DistributedReplicantManagerImpl.DefaultPartition] All Members : 8 ([127.0.0.1:1099, 172.19.131.32:1099, 172.19.131.32:1099, 127.0.0.1:1099, 127.0.0.1:1099, 127.0.0.1:1099, 127.0.0.1:1099, 127.0.0.1:1099])
  | 2008-07-03 07:43:38,640 DEBUG [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] End notifyListeners, viewID: 7
  | 2008-07-03 07:43:38,671 DEBUG [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] setState called
  | 2008-07-03 07:43:38,671 DEBUG [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] setState for DistributedState
  | 2008-07-03 07:43:38,671 DEBUG [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] setState for HASessionStateTransfer
  | 2008-07-03 07:43:38,671 DEBUG [org.jboss.ha.hasessionstate.server.HASessionStateImpl./HASessionState/Default] Receiving state of HASessionState
  | 2008-07-03 07:43:38,671 DEBUG [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] setState for HAJNDI
  | 2008-07-03 07:43:38,671 DEBUG [org.jboss.ha.jndi.TreeHead] registerRPCHandler
  | 2008-07-03 07:43:38,671 DEBUG [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] setState for DistributedReplicantManager
  | 2008-07-03 07:43:38,671 DEBUG [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] received a state of 1609 bytes; expanded memory by 34200 bytes (used memory before: 42059216, used memory after: 42093416)
  | 2008-07-03 07:43:38,671 DEBUG [org.jboss.ha.framework.server.DistributedReplicantManagerImpl.DefaultPartition] DRM: Sleeping before re-publishing for 50ms just in case
  | 2008-07-03 07:43:38,734 DEBUG [org.jboss.ha.singleton.HASingletonController] partitionTopologyChanged, isElectedNewMaster=false, isMasterNode=false, viewID=-439979114
  | 2008-07-03 07:43:38,734 DEBUG [org.jboss.ha.framework.server.HARMIServerImpl$RefreshProxiesHATarget] replicantsChanged 'HAJNDI' to 8 (intra-view id: -439979114)
  | 2008-07-03 07:43:39,687 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1767
  | 2008-07-03 07:43:41,781 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1781
  | 2008-07-03 07:43:41,781 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1788
  | 2008-07-03 07:43:43,843 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1811
  | 2008-07-03 07:43:43,843 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1767
  | 2008-07-03 07:43:48,406 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1781
  | 2008-07-03 07:43:48,406 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1811
  | 2008-07-03 07:43:48,406 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1767
  | 2008-07-03 07:43:48,406 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1788
  | 2008-07-03 07:43:50,062 INFO  [org.jboss.cache.TreeCache] viewAccepted(): [172.19.131.84:4568|12] [172.19.131.84:4568, 172.19.131.32:1179, 172.19.131.63:1761, 172.19.131.32:1360, 172.19.131.32:1491, 172.19.131.32:1533, 172.19.131.32:1577, 172.19.131.32:1594]
  | 2008-07-03 07:43:52,171 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1781
  | 2008-07-03 07:43:52,171 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1811
  | 2008-07-03 07:43:52,171 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1767
  | 2008-07-03 07:43:52,171 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1788
  | 2008-07-03 07:43:57,062 INFO  [org.jboss.cache.TreeCache] viewAccepted(): [172.19.131.84:4568|13] [172.19.131.84:4568, 172.19.131.32:1179, 172.19.131.63:1761, 172.19.131.32:1360, 172.19.131.32:1491, 172.19.131.32:1533, 172.19.131.32:1577, 172.19.131.32:1594]
  | 2008-07-03 07:43:57,156 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1781
  | 2008-07-03 07:43:57,156 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1811
  | 2008-07-03 07:43:57,156 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1767
  | 2008-07-03 07:43:57,156 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1788
  | 2008-07-03 07:43:59,843 INFO  [STDOUT] 
  | -------------------------------------------------------
  | GMS: address is 172.19.131.63:1849
  | -------------------------------------------------------
  | 2008-07-03 07:44:02,156 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1781
  | 2008-07-03 07:44:02,156 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1811
  | 2008-07-03 07:44:02,156 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1767
  | 2008-07-03 07:44:02,156 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1788
  | 2008-07-03 07:44:03,937 INFO  [org.jboss.cache.TreeCache] viewAccepted(): [172.19.131.84:4581|7] [172.19.131.84:4581, 172.19.131.32:1297, 172.19.131.32:1482, 172.19.131.32:1518, 172.19.131.32:1541, 172.19.131.63:1803, 172.19.131.63:1829, 172.19.131.63:1849]
  | 2008-07-03 07:44:03,953 WARN  [org.jgroups.protocols.pbcast.STATE_TRANSFER] state received from 172.19.131.84:4581 is null, will return null state to application
  | 2008-07-03 07:44:03,953 DEBUG [org.jboss.cache.TreeCache] transferred state is null (may be first member in cluster)
  | 2008-07-03 07:44:05,906 INFO  [STDOUT] 
  | -------------------------------------------------------
  | GMS: address is 172.19.131.63:1857
  | -------------------------------------------------------
  | 2008-07-03 07:44:07,156 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1781
  | 2008-07-03 07:44:07,156 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1811
  | 2008-07-03 07:44:07,156 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1767
  | 2008-07-03 07:44:07,156 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1788
  | 2008-07-03 07:44:10,953 WARN  [org.jgroups.protocols.pbcast.GMS] join(172.19.131.63:1857) sent to 172.19.131.84:4577 timed out, retrying
  | 2008-07-03 07:44:12,156 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1781
  | 2008-07-03 07:44:12,156 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1811
  | 2008-07-03 07:44:12,156 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1767
  | 2008-07-03 07:44:12,156 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1788
  | 2008-07-03 07:44:12,578 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] Periodic recovery - first pass <jue, 3 jul 2008 07:44:12>
  | 2008-07-03 07:44:12,578 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] StatusModule: first pass 
  | 2008-07-03 07:44:12,578 DEBUG [com.arjuna.ats.txoj.logging.txojLoggerI18N] [com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_3] - TORecoveryModule - first pass
  | 2008-07-03 07:44:12,578 DEBUG [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.recovery.info.firstpass] Local XARecoveryModule - first pass
  | 2008-07-03 07:44:15,015 INFO  [org.jboss.cache.TreeCache] viewAccepted(): [172.19.131.84:4577|11] [172.19.131.84:4577, 172.19.131.32:1261, 172.19.131.32:1473, 172.19.131.32:1510, 172.19.131.63:1799, 172.19.131.63:1825, 172.19.131.63:1857]
  | 2008-07-03 07:44:15,046 WARN  [org.jgroups.protocols.pbcast.STATE_TRANSFER] state received from 172.19.131.84:4577 is null, will return null state to application
  | 2008-07-03 07:44:15,046 DEBUG [org.jboss.cache.TreeCache] transferred state is null (may be first member in cluster)
  | 2008-07-03 07:44:17,250 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1781
  | 2008-07-03 07:44:17,265 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1811
  | 2008-07-03 07:44:17,265 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1767
  | 2008-07-03 07:44:17,265 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1788
  | 2008-07-03 07:44:20,046 INFO  [org.jboss.cache.TreeCache] viewAccepted(): [172.19.131.84:4577|12] [172.19.131.84:4577, 172.19.131.32:1261, 172.19.131.32:1473, 172.19.131.32:1510, 172.19.131.63:1799, 172.19.131.63:1825, 172.19.131.63:1857]
  | 2008-07-03 07:44:22,156 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1781
  | 2008-07-03 07:44:22,156 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1811
  | 2008-07-03 07:44:22,156 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1767
  | 2008-07-03 07:44:22,156 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1788
  | 2008-07-03 07:44:22,578 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] Periodic recovery - second pass <jue, 3 jul 2008 07:44:22>
  | 2008-07-03 07:44:22,578 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] AtomicActionRecoveryModule: Second pass 
  | 2008-07-03 07:44:22,578 DEBUG [com.arjuna.ats.txoj.logging.txojLoggerI18N] [com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_6] - TORecoveryModule - second pass
  | 2008-07-03 07:44:22,578 DEBUG [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.recovery.info.secondpass] Local XARecoveryModule - second pass
  | 2008-07-03 07:44:27,156 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1781
  | 2008-07-03 07:44:27,156 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1811
  | 2008-07-03 07:44:27,156 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1767
  | 2008-07-03 07:44:27,156 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1788
  | 2008-07-03 07:44:32,765 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1781
  | 2008-07-03 07:44:32,765 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1811
  | 2008-07-03 07:44:32,765 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1767
  | 2008-07-03 07:44:32,765 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1788
  | 2008-07-03 07:44:37,203 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1781
  | 2008-07-03 07:44:37,203 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1811
  | 2008-07-03 07:44:37,203 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1767
  | 2008-07-03 07:44:37,203 INFO  [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1788
  | 

Thanks!

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

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



More information about the jboss-user mailing list