[jboss-user] [Clustering/JBoss] - Clustering JBoss 4.0.5, not working, stuck

egandt do-not-reply at jboss.com
Tue Jul 1 09:03:22 EDT 2008


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 jvmRoute="node1" and jvmRoute="node2" to the 2 instances, setting <attribute name="UseJK">true</attribute> and ensuring that AJP connector is uncommented.   

Yet when I start up the 2 cluster members, the first and second servers to be brought up are not finding each other.  I allowed the first server to completely start then started the second server.


I have also setup apache 2.2 using mod_proxy_http as per the instructions on http://wiki.jboss.org/wiki/UsingMod_proxyWithJBoss

However if the 2 cluster members can not see each other, the Apache configuration is not really an issue yet.


First Cluster Member:
GMS: address is oraclelinuxoracle11clusterA:1420 (additional data: 16 bytes)
  | -------------------------------------------------------
  | 21:42:32,178 INFO  [DefaultPartition] Number of cluster members: 1
  | 21:42:32,180 INFO  [DefaultPartition] Other members: 0
  | 21:42:32,190 INFO  [DefaultPartition] Fetching state (will wait for 30000 milliseconds):
  | 21:42:32,216 INFO  [DefaultPartition] State could not be retrieved (we are the first member in group)
  | 21:42:32,244 INFO  [DefaultPartition] New cluster view for partition DefaultPartition (id: 0, delta: 0) : [172.19.2.10:1099]
  | 21:42:32,462 INFO  [DefaultPartition] I am (172.19.2.10:1099) received membershipChanged event:
  | 21:42:32,466 INFO  [DefaultPartition] Dead members: 0 ([])
  | 21:42:32,510 INFO  [DefaultPartition] New Members : 0 ([])
  | 21:42:32,515 INFO  [DefaultPartition] All Members : 1 ([172.19.2.10:1099])
  | 21:42:32,658 INFO  [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/172.19.2.10
  | 21:42:32,725 INFO  [DetachedHANamingService$AutomaticDiscovery] Listening on /172.19.2.10:1102, group=230.0.0.4, HA-JNDI address=172.19.2.10:1100
  | 21:42:35,774 INFO  [CorbaNamingService] Naming: [IOR:000000000000002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E3000000000000200000000000000E8000102000000000C3137322E31392E322E3130000DC80000000000114A426F73732F4E616D696E672F726F6F74000000000000050000000000000008000000004A414300000000010000001C000000000001000100000001050100010001010900000001050100010000002100000060000000000000000100000000000000240000001E0000007E00000000000000010000000C3137322E31392E322E3130000DC9004000000000000000000000001004010008060667810201010100000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
  | 21:42:36,123 INFO  [CorbaTransactionService] TransactionFactory: [IOR:000000000000003049444C3A6F72672F6A626F73732F746D2F69696F702F5472616E73616374696F6E466163746F72794578743A312E30000000000200000000000000E8000102000000000C3137322E31392E322E3130000DC80000000000144A426F73732F5472616E73616374696F6E732F46000000050000000000000008000000004A414300000000010000001C000000000001000100000001050100010001010900000001050100010000002100000060000000000000000100000000000000240000001E0000007E00000000000000010000000C3137322E31392E322E3130000DC9004000000000000000000000001004010008060667810201010100000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
  | 21:42:37,447 INFO  [Embedded] Catalina naming disabled
  | 21:42:37,659 INFO  [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
  | 21:42:37,708 INFO  [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
  | 21:42:38,558 INFO  [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-172.19.2.10-8080
  | 21:42:38,611 INFO  [Catalina] Initialization processed in 856 ms
  | 21:42:38,614 INFO  [StandardService] Starting service jboss.web
  | 21:42:38,667 INFO  [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.20
  | 21:42:38,768 INFO  [StandardHost] XML validation disabled
  | 21:42:38,850 INFO  [Catalina] Server startup in 236 ms
  | 


Second Cluster Member:
-------------------------------------------------------
  | GMS: address is oraclelinuxoracle11clusterB:1427 (additional data: 16 bytes)
  | -------------------------------------------------------
  | 21:43:56,137 INFO  [DefaultPartition] Number of cluster members: 1
  | 21:43:56,139 INFO  [DefaultPartition] Other members: 0
  | 21:43:56,185 INFO  [DefaultPartition] Fetching state (will wait for 30000 milliseconds):
  | 21:43:56,236 INFO  [DefaultPartition] State could not be retrieved (we are the first member in group)
  | 21:43:56,422 INFO  [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/172.19.2.11
  | 21:43:56,499 INFO  [DetachedHANamingService$AutomaticDiscovery] Listening on /172.19.2.11:1102, group=230.0.0.4, HA-JNDI address=172.19.2.11:1100
  | 21:43:59,903 INFO  [CorbaNamingService] Naming: [IOR:000000000000002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E3000000000000200000000000000E8000102000000000C3137322E31392E322E3131000DC80000000000114A426F73732F4E616D696E672F726F6F74000000000000050000000000000008000000004A414300000000010000001C000000000001000100000001050100010001010900000001050100010000002100000060000000000000000100000000000000240000001E0000007E00000000000000010000000C3137322E31392E322E3130000DC9004000000000000000000000001004010008060667810201010100000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
  | 21:44:00,333 INFO  [CorbaTransactionService] TransactionFactory: [IOR:000000000000003049444C3A6F72672F6A626F73732F746D2F69696F702F5472616E73616374696F6E466163746F72794578743A312E30000000000200000000000000E8000102000000000C3137322E31392E322E3131000DC80000000000144A426F73732F5472616E73616374696F6E732F46000000050000000000000008000000004A414300000000010000001C000000000001000100000001050100010001010900000001050100010000002100000060000000000000000100000000000000240000001E0000007E00000000000000010000000C3137322E31392E322E3130000DC9004000000000000000000000001004010008060667810201010100000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
  | 21:44:01,720 INFO  [Embedded] Catalina naming disabled
  | 21:44:01,872 INFO  [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
  | 21:44:01,884 INFO  [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
  | 21:44:03,158 INFO  [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-172.19.2.11-8080
  | 21:44:03,178 INFO  [Catalina] Initialization processed in 1290 ms
  | 


Any ideas on what I'm doing wrong?
ERIC

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

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



More information about the jboss-user mailing list