2 Replies Latest reply on May 5, 2006 3:53 AM by Nallasivam Gounder

    2 JBoss 4.0.1 SP1 instaces not joined in cluster on same mac

    Nallasivam Gounder Newbie

      Hi,

      I?m evaluating the cluster setup in JBoss 4.0.1 SP1 in windows environment.

      I have two JBoss instances on same machine.

      Configurations for both instances are done as below:

      JBoss1: C:\JBoss1\jboss-4.0.1sp1\server\all\conf\jboss-service.xml

      Uncommented the Service Binding portion and updated as ports-01

      JBoss2: C:\JBoss2\jboss-4.0.1sp1\server\all\conf\jboss-service.xml

      Uncommented the Service Binding portion and updated as ports-02


      Running JBoss Instances:


      C:\JBoss1\jboss-4.0.1sp1\bin>run -c all

      ===============================================================================

      .

      JBoss Bootstrap Environment

      .

      JBOSS_HOME: C:\JBoss1\jboss-4.0.1sp1\bin\\..

      .

      JAVA: C:\Program Files\Java\jdk1.5.0_04\bin\java

      .

      JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m

      .

      CLASSPATH: C:\Program Files\Java\jdk1.5.0_04\lib\tools.jar;C:\JBoss1\jboss-4.0

      .1sp1\bin\\run.jar

      .

      ===============================================================================

      .

      11:42:56,486 INFO [Server] Starting JBoss (MX MicroKernel)...

      11:42:56,486 INFO [Server] Release ID: JBoss [Zion] 4.0.1sp1 (build: CVSTag=JBo

      ss_4_0_1_SP1 date=200502160314)

      11:42:56,486 INFO [Server] Home Dir: C:\JBoss1\jboss-4.0.1sp1

      11:42:56,486 INFO [Server] Home URL: file:/C:/JBoss1/jboss-4.0.1sp1/

      11:42:56,486 INFO [Server] Library URL: file:/C:/JBoss1/jboss-4.0.1sp1/lib/

      11:42:56,486 INFO [Server] Patch URL: null

      11:42:56,486 INFO [Server] Server Name: all

      11:42:56,486 INFO [Server] Server Home Dir: C:\JBoss1\jboss-4.0.1sp1\server\all



      11:42:56,486 INFO [Server] Server Home URL: file:/C:/JBoss1/jboss-4.0.1sp1/serv

      er/all/

      11:42:56,486 INFO [Server] Server Data Dir: C:\JBoss1\jboss-4.0.1sp1\server\all

      \data

      11:42:56,501 INFO [Server] Server Temp Dir: C:\JBoss1\jboss-4.0.1sp1\server\all

      \tmp

      11:42:56,501 INFO [Server] Server Config URL: file:/C:/JBoss1/jboss-4.0.1sp1/se

      rver/all/conf/

      11:42:56,501 INFO [Server] Server Library URL: file:/C:/JBoss1/jboss-4.0.1sp1/s

      erver/all/lib/

      11:42:56,501 INFO [Server] Root Deployment Filename: jboss-service.xml

      11:42:56,501 INFO [Server] Starting General Purpose Architecture (GPA)...

      11:42:56,814 INFO [ServerInfo] Java version: 1.5.0_04,Sun Microsystems Inc.

      11:42:56,814 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_04-b05

      ,Sun Microsystems Inc.

      11:42:56,814 INFO [ServerInfo] OS-System: Windows XP 5.1,x86

      11:42:57,204 INFO [Server] Core system initialized

      11:42:58,813 INFO [ServiceBindingManager] Initializing store

      11:42:58,813 INFO [ServiceBindingManager] Using StoreURL: file:/C:/JBoss1/jboss

      -4.0.1sp1/docs/examples/binding-manager/sample-bindings.xml

      11:42:59,266 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour

      ce:log4j.xml

      11:42:59,344 INFO [WebService] Using RMI server codebase: http://bsd-pc2058:818

      3/

      11:42:59,484 INFO [NamingService] Started jndi bootstrap jnpPort=1199, rmiPort=

      1198, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server Socket

      Factory=org.jboss.net.sockets.DefaultSocketFactory@ad093076

      11:43:04,731 INFO [EjbModule] Deploying ClusteredHTTPSession

      11:43:05,543 INFO [EJBDeployer] Deployed: file:/C:/JBoss1/jboss-4.0.1sp1/server

      /all/deploy/jbossha-httpsession.sar/ClusteredHttpSessionEB.jar/

      11:43:08,198 INFO [Embedded] Catalina naming disabled

      11:43:09,213 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0

      -8180

      11:43:09,245 INFO [Catalina] Initialization processed in 797 ms

      11:43:09,245 INFO [StandardService] Starting service jboss.web

      11:43:09,245 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.0.2

      8

      11:43:09,276 INFO [StandardHost] XML validation disabled

      11:43:09,291 INFO [Catalina] Server startup in 46 ms

      11:43:09,604 INFO [TomcatDeployer] deploy, ctxPath=/ebxmlrr, warUrl=file:/C:/JB

      oss1/jboss-4.0.1sp1/server/all/deploy/ebxmlrr-service.sar/ebxmlrr.war/

      11:43:10,463 INFO [STDOUT] Initialized REST

      11:43:10,588 INFO [SAAJServlet] init

      11:43:10,697 INFO [SAAJServlet] init

      11:43:11,462 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=file:/C:/JB

      oss1/jboss-4.0.1sp1/server/all/deploy/httpha-invoker.sar/invoker.war/

      11:43:11,993 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=file:/C:/JBos

      s1/jboss-4.0.1sp1/server/all/tmp/deploy/tmp63274jboss-ws4ee-exp.war/

      11:43:12,274 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/C:/JBoss1/jb

      oss-4.0.1sp1/server/all/deploy/jbossweb-tomcat50.sar/ROOT.war/

      11:43:14,632 INFO [STDOUT] Loading properties file: resourceName = '/org/exolab

      /castor/castor.properties' fileName = 'castor.properties'

      11:43:15,757 INFO [SnmpAgentService] SNMP agent going active

      11:43:17,756 INFO [DefaultPartition] Initializing

      11:43:18,380 INFO [STDOUT]

      -------------------------------------------------------

      GMS: address is bsd-pc2058:2754 (additional data: 17 bytes)

      -------------------------------------------------------

      11:43:20,426 INFO [DefaultPartition] Number of cluster members: 1

      11:43:20,426 INFO [DefaultPartition] Other members: 0

      11:43:20,426 INFO [DefaultPartition] Fetching state (will wait for 30000 millis

      econds):

      11:43:20,660 INFO [HANamingService] Listening on /0.0.0.0:1200

      11:43:20,785 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /0.

      0.0.0:1102, group=230.0.0.4, HA-JNDI address=172.19.63.43:1200

      11:43:22,566 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=file

      :/C:/JBoss1/jboss-4.0.1sp1/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/

      jbossmq-httpil.war/

      11:43:24,002 INFO [STDOUT] [ jacorb.home unset! Will use '.' ]

      11:43:24,002 INFO [STDOUT] [ File .\jacorb.properties for configuration jacorb

      not found ]

      11:43:24,330 INFO [interceptors] InterceptorManager started with 2 SIs, 2 CIs a

      nd 4 IORIs

      11:43:24,658 INFO [orb] ORB run

      11:43:25,080 INFO [CorbaNamingService] Naming: [IOR:000000000000002B49444C3A6F6

      D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E300000000

      0000200000000000000E8000102000000000D3137322E31392E36332E343300000E2C000000114A4

      26F73732F4E616D696E672F726F6F74000000000000060000000000000008000000004A414300000

      000010000001C0000000000010001000000010501000100010109000000010501000100000014000

      000080000001A00000DC900000021000000500000000000000001000000000000002400000020000

      0007E00000000000000010000000D3137322E31392E36332E343300000DC90000000000000000000

      00000000000000000000000000000000000000000002000000004000000000000001F00000004000

      0000300000001000000440000000000000003000000010000001C000000000001000100000001050

      100010001010900000001050100010000002000000004000000000000001F0000000400000003]

      11:43:25,189 INFO [naming] re-Bound name: TransactionService

      11:43:25,189 INFO [CorbaTransactionService] TransactionFactory: [IOR:0000000000

      00003049444C3A6F72672F6A626F73732F746D2F69696F702F5472616E73616374696F6E46616374

      6F72794578743A312E30000000000200000000000000E8000102000000000D3137322E31392E3633

      2E343300000E2C000000144A426F73732F5472616E73616374696F6E732F46000000060000000000

      000008000000004A414300000000010000001C000000000001000100000001050100010001010900

      0000010501000100000014000000080000001A00000DC90000002100000050000000000000000100

      00000000000024000000200000007E00000000000000010000000D3137322E31392E36332E343300

      000DC900000000000000000000000000000000000000000000000000000000000000200000000400

      0000000000001F000000040000000300000001000000440000000000000003000000010000001C00

      00000000010001000000010501000100010109000000010501000100000020000000040000000000

      00001F0000000400000003]

      11:43:25,189 INFO [naming] re-Bound name: UserTransaction

      11:43:25,627 INFO [MailService] Mail Service bound to java:/Mail

      11:43:26,079 INFO [TreeCache] setting cluster properties from xml to: UDP(ip_mc

      ast=true;ip_ttl=64;loopback=false;mcast_addr=230.1.2.3;mcast_port=45577;mcast_re

      cv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;ucast_sen

      d_buf_size=150000):PING(down_thread=false;num_initial_members=3;timeout=2000;up_

      thread=false):MERGE2(max_interval=20000;min_interval=10000):FD_SOCK:VERIFY_SUSPE

      CT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(down_thread=fal

      se;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=

      false):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_s

      ize=100):pbcast.STABLE(desired_avg_gossip=20000;down_thread=false;up_thread=fals

      e):FRAG(down_thread=false;frag_size=8192;up_thread=false):pbcast.GMS(join_retry_

      timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast.STATE_TRA

      NSFER(down_thread=true;up_thread=true)

      11:43:26,095 INFO [TreeCache] interceptor chain is:

      class org.jboss.cache.interceptors.CallInterceptor

      class org.jboss.cache.interceptors.LockInterceptor

      class org.jboss.cache.interceptors.CreateIfNotExistsInterceptor

      class org.jboss.cache.interceptors.ReplicationInterceptor

      11:43:26,095 INFO [TreeCache] cache mode is REPL_SYNC

      11:43:26,126 INFO [STDOUT]

      -------------------------------------------------------

      GMS: address is bsd-pc2058:2764

      -------------------------------------------------------

      11:43:28,172 INFO [TreeCache] viewAccepted(): new members: [bsd-pc2058:2764]

      11:43:28,172 INFO [TreeCache] state could not be retrieved (must be first membe

      r in group)

      11:43:28,219 INFO [TreeCache] new cache is null (maybe first member in cluster)



      11:43:28,875 INFO [RARDeployment] Required license terms exist view the META-IN

      F/ra.xml: file:/C:/JBoss1/jboss-4.0.1sp1/server/all/deploy/jboss-local-jdbc.rar

      11:43:29,281 INFO [RARDeployment] Required license terms exist view the META-IN

      F/ra.xml: file:/C:/JBoss1/jboss-4.0.1sp1/server/all/deploy/jboss-xa-jdbc.rar

      11:43:29,609 INFO [RARDeployment] Required license terms exist view the META-IN

      F/ra.xml: file:/C:/JBoss1/jboss-4.0.1sp1/server/all/deploy/jms/jms-ra.rar

      11:43:29,781 INFO [RARDeployment] Required license terms exist view the META-IN

      F/ra.xml: file:/C:/JBoss1/jboss-4.0.1sp1/server/all/deploy/mail-ra.rar

      11:43:32,076 INFO [WrapperDataSourceService] Bound connection factory for resou

      rce adapter for ConnectionManager 'jboss.jca:service=DataSourceBinding,name=Defa

      ultDS to JNDI name 'java:DefaultDS'

      11:43:32,092 WARN [ConfiguredIdentityLoginModule] Creating LoginModule with no

      configured password!

      11:43:32,435 INFO [A] Bound to JNDI name: queue/A

      11:43:32,435 INFO [B] Bound to JNDI name: queue/B

      11:43:32,435 INFO [C] Bound to JNDI name: queue/C

      11:43:32,435 INFO [D] Bound to JNDI name: queue/D

      11:43:32,435 INFO [ex] Bound to JNDI name: queue/ex

      11:43:32,467 INFO [testTopic] Bound to JNDI name: topic/testTopic

      11:43:32,467 INFO [securedTopic] Bound to JNDI name: topic/securedTopic

      11:43:32,467 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic



      11:43:32,467 INFO [testQueue] Bound to JNDI name: queue/testQueue

      11:43:32,513 INFO [OILServerILService] JBossMQ OIL service available at : /0.0.

      0.0:8090

      11:43:32,560 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.

      0.0:8193

      11:43:32,920 INFO [DLQ] Bound to JNDI name: queue/DLQ

      11:43:33,419 INFO [ConnectionFactoryBindingService] Bound connection factory fo

      r resource adapter for ConnectionManager 'jboss.jca:service=ConnectionFactoryBin

      ding,name=JmsXA to JNDI name 'java:JmsXA'

      11:43:33,482 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/C

      :/JBoss1/jboss-4.0.1sp1/server/all/deploy/jmx-console.war/

      11:43:33,700 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/C

      :/JBoss1/jboss-4.0.1sp1/server/all/deploy/management/web-console.war/

      11:43:34,512 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-818

      0

      11:43:34,669 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8109

      11:43:34,684 INFO [JkMain] Jk running ID=0 time=0/62 config=null

      11:43:34,700 INFO [Server] JBoss (MX MicroKernel) [4.0.1sp1 (build: CVSTag=JBos

      s_4_0_1_SP1 date=200502160314)] Started in 37s:980ms



      C:\JBoss2\jboss-4.0.1sp1\bin>run -c all

      ===============================================================================

      .

      JBoss Bootstrap Environment

      .

      JBOSS_HOME: C:\JBoss2\jboss-4.0.1sp1\bin\\..

      .

      JAVA: C:\Program Files\Java\jdk1.5.0_04\bin\java

      .

      JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m

      .

      CLASSPATH: C:\Program Files\Java\jdk1.5.0_04\lib\tools.jar;C:\JBoss2\jboss-4.0

      .1sp1\bin\\run.jar

      .

      ===============================================================================

      .

      11:43:01,155 INFO [Server] Starting JBoss (MX MicroKernel)...

      11:43:01,155 INFO [Server] Release ID: JBoss [Zion] 4.0.1sp1 (build: CVSTag=JBo

      ss_4_0_1_SP1 date=200502160314)

      11:43:01,155 INFO [Server] Home Dir: C:\JBoss2\jboss-4.0.1sp1

      11:43:01,155 INFO [Server] Home URL: file:/C:/JBoss2/jboss-4.0.1sp1/

      11:43:01,186 INFO [Server] Library URL: file:/C:/JBoss2/jboss-4.0.1sp1/lib/

      11:43:01,186 INFO [Server] Patch URL: null

      11:43:01,186 INFO [Server] Server Name: all

      11:43:01,186 INFO [Server] Server Home Dir: C:\JBoss2\jboss-4.0.1sp1\server\all



      11:43:01,186 INFO [Server] Server Home URL: file:/C:/JBoss2/jboss-4.0.1sp1/serv

      er/all/

      11:43:01,186 INFO [Server] Server Data Dir: C:\JBoss2\jboss-4.0.1sp1\server\all

      \data

      11:43:01,186 INFO [Server] Server Temp Dir: C:\JBoss2\jboss-4.0.1sp1\server\all

      \tmp

      11:43:01,186 INFO [Server] Server Config URL: file:/C:/JBoss2/jboss-4.0.1sp1/se

      rver/all/conf/

      11:43:01,186 INFO [Server] Server Library URL: file:/C:/JBoss2/jboss-4.0.1sp1/s

      erver/all/lib/

      11:43:01,186 INFO [Server] Root Deployment Filename: jboss-service.xml

      11:43:01,186 INFO [Server] Starting General Purpose Architecture (GPA)...

      11:43:01,608 INFO [ServerInfo] Java version: 1.5.0_04,Sun Microsystems Inc.

      11:43:01,608 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_04-b05

      ,Sun Microsystems Inc.

      11:43:01,608 INFO [ServerInfo] OS-System: Windows XP 5.1,x86

      11:43:02,123 INFO [Server] Core system initialized

      11:43:04,981 INFO [ServiceBindingManager] Initializing store

      11:43:04,981 INFO [ServiceBindingManager] Using StoreURL: file:/C:/JBoss2/jboss

      -4.0.1sp1/docs/examples/binding-manager/sample-bindings.xml

      11:43:05,528 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour

      ce:log4j.xml

      11:43:05,809 INFO [WebService] Using RMI server codebase: http://bsd-pc2058:828

      3/

      11:43:06,074 INFO [NamingService] Started jndi bootstrap jnpPort=1299, rmiPort=

      1298, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server Socket

      Factory=org.jboss.net.sockets.DefaultSocketFactory@ad093076

      11:43:11,306 INFO [EjbModule] Deploying ClusteredHTTPSession

      11:43:11,540 INFO [EJBDeployer] Deployed: file:/C:/JBoss2/jboss-4.0.1sp1/server

      /all/deploy/jbossha-httpsession.sar/ClusteredHttpSessionEB.jar/

      11:43:13,664 INFO [Embedded] Catalina naming disabled

      11:43:14,507 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0

      -8280

      11:43:14,539 INFO [Catalina] Initialization processed in 781 ms

      11:43:14,539 INFO [StandardService] Starting service jboss.web

      11:43:14,539 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.0.2

      8

      11:43:14,554 INFO [StandardHost] XML validation disabled

      11:43:14,586 INFO [Catalina] Server startup in 47 ms

      11:43:14,773 INFO [TomcatDeployer] deploy, ctxPath=/ebxmlrr, warUrl=file:/C:/JB

      oss2/jboss-4.0.1sp1/server/all/deploy/ebxmlrr-service.sar/ebxmlrr.war/

      11:43:15,257 INFO [STDOUT] Initialized REST

      11:43:15,335 INFO [SAAJServlet] init

      11:43:15,460 INFO [SAAJServlet] init

      11:43:15,710 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=file:/C:/JB

      oss2/jboss-4.0.1sp1/server/all/deploy/httpha-invoker.sar/invoker.war/

      11:43:15,944 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=file:/C:/JBos

      s2/jboss-4.0.1sp1/server/all/tmp/deploy/tmp10853jboss-ws4ee-exp.war/

      11:43:16,069 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/C:/JBoss2/jb

      oss-4.0.1sp1/server/all/deploy/jbossweb-tomcat50.sar/ROOT.war/

      11:43:17,334 INFO [STDOUT] Loading properties file: resourceName = '/org/exolab

      /castor/castor.properties' fileName = 'castor.properties'

      11:43:17,600 INFO [SnmpAgentService] SNMP agent going active

      11:43:18,224 INFO [DefaultPartition] Initializing

      11:43:18,349 INFO [STDOUT]

      -------------------------------------------------------

      GMS: address is bsd-pc2058:2752 (additional data: 17 bytes)

      -------------------------------------------------------

      11:43:20,379 INFO [DefaultPartition] Number of cluster members: 1

      11:43:20,379 INFO [DefaultPartition] Other members: 0

      11:43:20,379 INFO [DefaultPartition] Fetching state (will wait for 30000 millis

      econds):

      11:43:20,379 INFO [DefaultPartition] New cluster view for partition DefaultPart

      ition (id: 0, delta: 0) : [172.19.63.43:1299]

      11:43:20,379 INFO [DefaultPartition] I am (null) received membershipChanged eve

      nt:

      11:43:20,395 INFO [DefaultPartition] Dead members: 0 ([])

      11:43:20,395 INFO [DefaultPartition] New Members : 0 ([])

      11:43:20,395 INFO [DefaultPartition] All Members : 1 ([172.19.63.43:1299])

      11:43:20,614 INFO [HANamingService] Listening on /0.0.0.0:1300

      11:43:20,660 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /0.

      0.0.0:1102, group=230.0.0.4, HA-JNDI address=172.19.63.43:1300

      11:43:21,379 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=file

      :/C:/JBoss2/jboss-4.0.1sp1/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/

      jbossmq-httpil.war/

      11:43:21,847 INFO [STDOUT] [ jacorb.home unset! Will use '.' ]

      11:43:21,847 INFO [STDOUT] [ File .\jacorb.properties for configuration jacorb

      not found ]

      11:43:22,253 INFO [interceptors] InterceptorManager started with 2 SIs, 2 CIs a

      nd 4 IORIs

      11:43:22,503 INFO [orb] ORB run

      11:43:23,019 INFO [CorbaNamingService] Naming: [IOR:000000000000002B49444C3A6F6

      D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E300000000

      0000200000000000000E8000102000000000D3137322E31392E36332E343300000E90000000114A4

      26F73732F4E616D696E672F726F6F74000000000000060000000000000008000000004A414300000

      000010000001C0000000000010001000000010501000100010109000000010501000100000014000

      000080000001A00000DC900000021000000500000000000000001000000000000002400000020000

      0007E00000000000000010000000D3137322E31392E36332E343300000DC90000000000000000000

      00000000000000000000000000000000000000000002000000004000000000000001F00000004000

      0000300000001000000440000000000000003000000010000001C000000000001000100000001050

      100010001010900000001050100010000002000000004000000000000001F0000000400000003]

      11:43:23,159 INFO [naming] re-Bound name: TransactionService

      11:43:23,159 INFO [CorbaTransactionService] TransactionFactory: [IOR:0000000000

      00003049444C3A6F72672F6A626F73732F746D2F69696F702F5472616E73616374696F6E46616374

      6F72794578743A312E30000000000200000000000000E8000102000000000D3137322E31392E3633

      2E343300000E90000000144A426F73732F5472616E73616374696F6E732F46000000060000000000

      000008000000004A414300000000010000001C000000000001000100000001050100010001010900

      0000010501000100000014000000080000001A00000DC90000002100000050000000000000000100

      00000000000024000000200000007E00000000000000010000000D3137322E31392E36332E343300

      000DC900000000000000000000000000000000000000000000000000000000000000200000000400

      0000000000001F000000040000000300000001000000440000000000000003000000010000001C00

      00000000010001000000010501000100010109000000010501000100000020000000040000000000

      00001F0000000400000003]

      11:43:23,159 INFO [naming] re-Bound name: UserTransaction

      11:43:23,768 INFO [MailService] Mail Service bound to java:/Mail

      11:43:24,627 INFO [TreeCache] setting cluster properties from xml to: UDP(ip_mc

      ast=true;ip_ttl=64;loopback=false;mcast_addr=230.1.2.3;mcast_port=45577;mcast_re

      cv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;ucast_sen

      d_buf_size=150000):PING(down_thread=false;num_initial_members=3;timeout=2000;up_

      thread=false):MERGE2(max_interval=20000;min_interval=10000):FD_SOCK:VERIFY_SUSPE

      CT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(down_thread=fal

      se;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=

      false):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_s

      ize=100):pbcast.STABLE(desired_avg_gossip=20000;down_thread=false;up_thread=fals

      e):FRAG(down_thread=false;frag_size=8192;up_thread=false):pbcast.GMS(join_retry_

      timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast.STATE_TRA

      NSFER(down_thread=true;up_thread=true)

      11:43:24,658 INFO [TreeCache] interceptor chain is:

      class org.jboss.cache.interceptors.CallInterceptor

      class org.jboss.cache.interceptors.LockInterceptor

      class org.jboss.cache.interceptors.CreateIfNotExistsInterceptor

      class org.jboss.cache.interceptors.ReplicationInterceptor

      11:43:24,658 INFO [TreeCache] cache mode is REPL_SYNC

      11:43:25,142 INFO [STDOUT]

      -------------------------------------------------------

      GMS: address is bsd-pc2058:2761

      -------------------------------------------------------

      11:43:27,157 INFO [TreeCache] viewAccepted(): new members: [bsd-pc2058:2761]

      11:43:27,157 INFO [TreeCache] new cache is null (maybe first member in cluster)



      11:43:27,157 INFO [TreeCache] state could not be retrieved (must be first membe

      r in group)

      11:43:27,469 INFO [RARDeployment] Required license terms exist view the META-IN

      F/ra.xml: file:/C:/JBoss2/jboss-4.0.1sp1/server/all/deploy/jboss-local-jdbc.rar

      11:43:27,641 INFO [RARDeployment] Required license terms exist view the META-IN

      F/ra.xml: file:/C:/JBoss2/jboss-4.0.1sp1/server/all/deploy/jboss-xa-jdbc.rar

      11:43:27,797 INFO [RARDeployment] Required license terms exist view the META-IN

      F/ra.xml: file:/C:/JBoss2/jboss-4.0.1sp1/server/all/deploy/jms/jms-ra.rar

      11:43:27,907 INFO [RARDeployment] Required license terms exist view the META-IN

      F/ra.xml: file:/C:/JBoss2/jboss-4.0.1sp1/server/all/deploy/mail-ra.rar

      11:43:29,078 INFO [WrapperDataSourceService] Bound connection factory for resou

      rce adapter for ConnectionManager 'jboss.jca:service=DataSourceBinding,name=Defa

      ultDS to JNDI name 'java:DefaultDS'

      11:43:29,125 WARN [ConfiguredIdentityLoginModule] Creating LoginModule with no

      configured password!

      11:43:29,453 INFO [A] Bound to JNDI name: queue/A

      11:43:29,453 INFO [B] Bound to JNDI name: queue/B

      11:43:29,453 INFO [C] Bound to JNDI name: queue/C

      11:43:29,453 INFO [D] Bound to JNDI name: queue/D

      11:43:29,468 INFO [ex] Bound to JNDI name: queue/ex

      11:43:29,546 INFO [testTopic] Bound to JNDI name: topic/testTopic

      11:43:29,546 INFO [securedTopic] Bound to JNDI name: topic/securedTopic

      11:43:29,546 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic



      11:43:29,546 INFO [testQueue] Bound to JNDI name: queue/testQueue

      11:43:29,671 INFO [OILServerILService] JBossMQ OIL service available at : /0.0.

      0.0:18090

      11:43:29,796 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.

      0.0:8293

      11:43:30,155 INFO [DLQ] Bound to JNDI name: queue/DLQ

      11:43:30,358 INFO [ConnectionFactoryBindingService] Bound connection factory fo

      r resource adapter for ConnectionManager 'jboss.jca:service=ConnectionFactoryBin

      ding,name=JmsXA to JNDI name 'java:JmsXA'

      11:43:30,421 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/C

      :/JBoss2/jboss-4.0.1sp1/server/all/deploy/jmx-console.war/

      11:43:30,780 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/C

      :/JBoss2/jboss-4.0.1sp1/server/all/deploy/management/web-console.war/

      11:43:31,686 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-828

      0

      11:43:31,842 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8209

      11:43:31,858 INFO [JkMain] Jk running ID=0 time=0/125 config=null

      11:43:31,858 INFO [Server] JBoss (MX MicroKernel) [4.0.1sp1 (build: CVSTag=JBos

      s_4_0_1_SP1 date=200502160314)] Started in 30s:390ms




      Issue:


      I was waiting for more than 30 minutes after starting those servers one by one.

      I didn?t get any information on console output for clustering happened like below.


      [DefaultPartition] Number of cluster members: 2

      [DefaultPartition] Other members: 1

      [DefaultPartition] Fetching state (will wait for 30000 milliseconds):

      [DefaultPartition] New cluster view for partition DefaultPartition: 1 ([172.19.63.43:1199, 172.19.63.43:1299] delta: 0)

      [DefaultPartition] I am (null) received membershipChanged event:

      [DefaultPartition] Dead members: 0 ([])

      [DefaultPartition] New Members : 0 ([])

      [DefaultPartition] All Members : 2 ([172.19.63.43:1199, 172.19.63.43:1299])


      I couldn?t find any more information in the JBoss documents to solve this above problem.

      Is this issue related to configuration or network?

      Could anyone help me to solve this issue.?

      Thanks,
      Nallasivam

        • 1. Re: 2 JBoss 4.0.1 SP1 instaces not joined in cluster on same
          Jerry Gauthier Apprentice

          The first step in debugging would be to confirm that JGroups works properly in your environment. You can see http://wiki.jboss.org/wiki/Wiki.jsp?page=BasicClusterTest for further details.

          FWIW - the "usual" way to cluster JBoss nodes on a single machine is to copy the "all" server directory and make new copies (e.g., jboss1, jboss2) under ..\jboss-4.0.1sp1\server\. I don't think this would cause the clustering problem but you would only need one JBoss server installation. You would still need to differentiate the ports using service-bindings as you did previously.

          • 2. Re: 2 JBoss 4.0.1 SP1 instaces not joined in cluster on same
            Nallasivam Gounder Newbie

            Hi Jerry,

            I have tried the JGroups whether workinh properly or not by following the instruction through the link you given.

            here are the outputs below.

            C:\JBoss1\jboss-4.0.1sp1\bin>java -cp C:\JBoss1\jboss-4.0.1sp1\server\all\lib\jgroups.jar;C:\JBoss1\jboss-4.0.1sp1\lib\commons-logging.jar;C:\JBoss1\jboss-4.0.1sp1\lib\concurrent.jar org.jgroups.demos.ViewDemo -props ./test.xml

            May 5, 2006 12:48:44 PM org.jgroups.protocols.UDP createSockets
            INFO: unicast sockets will use interface 172.19.63.43
            May 5, 2006 12:48:45 PM org.jgroups.protocols.UDP createSockets
            INFO: socket information:
            local_addr=bsd-pc2058:1156, mcast_addr=228.1.2.3:45566, bind_addr=/172.19.63.43, ttl=64
            sock: bound to 172.19.63.43:1156, receive buffer size=800000, send buffer size=150000
            mcast_recv_sock: bound to 172.19.63.43:45566, send buffer size=150000, receive buffer size=800000
            mcast_send_sock: bound to 172.19.63.43:1157, send buffer size=150000, receive buffer size=800000

            -------------------------------------------------------
            GMS: address is bsd-pc2058:1156
            -------------------------------------------------------
            ** New view: [bsd-pc2058:1156|0] [bsd-pc2058:1156]


            C:\JBoss1\jboss-4.0.1sp1\bin>java -cp C:\JBoss1\jboss-4.0.1sp1\server\all\lib\jgroups.jar;C:\JBoss1\jboss-4.0.1sp1\lib\commons-logging.jar;C:\JBoss1\jboss-4.0.1sp1\lib\concurrent.jar org.jgroups.demos.ViewDemo -props ./test.xml

            May 5, 2006 12:49:12 PM org.jgroups.protocols.UDP createSockets
            INFO: unicast sockets will use interface 172.19.63.43
            May 5, 2006 12:49:12 PM org.jgroups.protocols.UDP createSockets
            INFO: socket information:
            local_addr=bsd-pc2058:1159, mcast_addr=228.1.2.3:45566, bind_addr=/172.19.63.43, ttl=64
            sock: bound to 172.19.63.43:1159, receive buffer size=800000, send buffer size=150000
            mcast_recv_sock: bound to 172.19.63.43:45566, send buffer size=150000, receive buffer size=800000
            mcast_send_sock: bound to 172.19.63.43:1160, send buffer size=150000, receive buffer size=800000

            -------------------------------------------------------
            GMS: address is bsd-pc2058:1159
            -------------------------------------------------------
            ** New view: [bsd-pc2058:1159|0] [bsd-pc2058:1159]



            But i didn't get any console output like below as mentioned in the given link.

            ** New view: [laptop:1440|1] [laptop:1440, laptop:1448]
            Suspected(laptop:1448)
            ** New view: [laptop:1440|2] [laptop:1440]



            Does it mean the JGroups multicast not supporting in my network.?
            Please help me to resolve this.

            Thanks