[jboss-user] [Clustering/JBoss] - Problem in JBoss 5 clustering

apache605 do-not-reply at jboss.com
Wed May 6 02:59:41 EDT 2009


Hi i am trying to impl. the clustering in JBoss 5.0.0.GA with two nodes on 
two different system. the configuration called node1 and node2 .

System A (node1) - 192.168.1.140
System B (node2) - 192.168.1.141

i am staring the two instances to form the cluster with the below command


run.bat -c node1 -b 192.168.1.140 -Djboss.messaging.ServerPeerID=1

run.bat -c node2 -b 192.168.1.141 -Djboss.messaging.ServerPeerID=2


but the two instances does not form the cluster and while starting the instance itself. 
i am not getting the below messages in the server. 
i am using the default partition not changed any setting in the JBoss server.

------------------------------------------------------
[DefaultPartition] Initializing partition DefaultPartition
[DefaultPartition] Number of cluster members: 1
[DefaultPartition] Other members: 0
[DefaultPartition-HAPartitionCache] JBoss Cache version: JBossCache
'Alegrias' 2.1.1.GA
[DefaultPartition] Fetching serviceState (will wait for 30000 milliseconds):
[DefaultPartition] State could not be retrieved (we are the first member in
group)

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


and when the instance starts it shows the below log


*************************************************************

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

  JBoss Bootstrap Environment

  JBOSS_HOME: E:\jboss-5.0.0.GA

  JAVA: D:\Program Files\Java\jdk1.5.0_12\bin\java

  JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Ds
un.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

  CLASSPATH: E:\jboss-5.0.0.GA\bin\run.jar

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

run.bat: unused non-option argument:c
run.bat: unused non-option argument: node1
run.bat: unused non-option argument: b
run.bat: unused non-option argument: 192.168.1.140
run.bat: unused non-option argument: Djboss.messaging.ServerPeerID=1
12:16:24,605 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
12:16:24,620 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812042120)
12:16:24,620 INFO  [ServerImpl] Bootstrap URL: null
12:16:24,620 INFO  [ServerImpl] Home Dir: E:\jboss-5.0.0.GA
12:16:24,620 INFO  [ServerImpl] Home URL: file:/E:/jboss-5.0.0.GA/
12:16:24,620 INFO  [ServerImpl] Library URL: file:/E:/jboss-5.0.0.GA/lib/
12:16:24,620 INFO  [ServerImpl] Patch URL: null
12:16:24,620 INFO  [ServerImpl] Common Base URL: file:/E:/jboss-5.0.0.GA/common/
12:16:24,620 INFO  [ServerImpl] Common Library URL: file:/E:/jboss-5.0.0.GA/common/lib/
12:16:24,620 INFO  [ServerImpl] Server Name: default
12:16:24,620 INFO  [ServerImpl] Server Base Dir: E:\jboss-5.0.0.GA\server
12:16:24,620 INFO  [ServerImpl] Server Base URL: file:/E:/jboss-5.0.0.GA/server/
12:16:24,620 INFO  [ServerImpl] Server Config URL: file:/E:/jboss-5.0.0.GA/server/default/conf/
12:16:24,620 INFO  [ServerImpl] Server Home Dir: E:\jboss-5.0.0.GA\server\default
12:16:24,620 INFO  [ServerImpl] Server Home URL: file:/E:/jboss-5.0.0.GA/server/default/
12:16:24,620 INFO  [ServerImpl] Server Data Dir: E:\jboss-5.0.0.GA\server\default\data
12:16:24,620 INFO  [ServerImpl] Server Library URL: file:/E:/jboss-5.0.0.GA/server/default/lib/
12:16:24,620 INFO  [ServerImpl] Server Log Dir: E:\jboss-5.0.0.GA\server\default\log
12:16:24,620 INFO  [ServerImpl] Server Native Dir: E:\jboss-5.0.0.GA\server\default\tmp\native
12:16:24,620 INFO  [ServerImpl] Server Temp Dir: E:\jboss-5.0.0.GA\server\default\tmp
12:16:24,620 INFO  [ServerImpl] Server Temp Deploy Dir: E:\jboss-5.0.0.GA\server\default\tmp\deploy
12:16:25,449 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/E:/jboss-5.0.0.GA/server/default/conf/bootst
rap.xml
12:16:26,152 INFO  [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.IterableTimedVFSCache]
12:16:26,167 INFO  [VFSCacheFactory] Using VFSCache [IterableTimedVFSCache{lifetime=1800, resolution=60}]
12:16:26,824 INFO  [CopyMechanism] VFS temp dir: E:\jboss-5.0.0.GA\server\default\tmp
12:16:27,667 INFO  [ZipEntryContext] VFS force nested jars copy-mode is enabled.
12:16:32,183 INFO  [ServerInfo] Java version: 1.5.0_12,Sun Microsystems Inc.
12:16:38,089 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_12-b04,Sun Microsystems Inc.
12:16:38,089 INFO  [ServerInfo] OS-System: Windows 2003 5.2,x86
12:16:38,120 INFO  [JMXKernel] Legacy JMX core initialized
12:16:42,808 INFO  [ProfileServiceImpl] Loading profile: default from: org.jboss.system.server.profileservice.repository
.SerializableDeploymentRepository at 113f501(root=E:\jboss-5.0.0.GA\server, key=org.jboss.profileservice.spi.ProfileKey at 143
b82c3[domain=default,server=default,name=default])
12:16:42,808 INFO  [ProfileImpl] Using repository:org.jboss.system.server.profileservice.repository.SerializableDeployme
ntRepository at 113f501(root=E:\jboss-5.0.0.GA\server, key=org.jboss.profileservice.spi.ProfileKey at 143b82c3[domain=default,
server=default,name=default])
12:16:42,808 INFO  [ProfileServiceImpl] Loaded profile: ProfileImpl at bc22eb{key=org.jboss.profileservice.spi.ProfileKey at 1
43b82c3[domain=default,server=default,name=default]}
12:17:03,183 INFO  [WebService] Using RMI server codebase: http://127.0.0.1:8083/


***************************************************

it does not takes the four options given below

run.bat: unused non-option argument: ÃÂÂÂÂÃÂÃÂ
‚‚ƒÃƒÂƒÃ‚ƒÃ‚ƒÃ‚‚ÂÂÂÂÃÂÃÂ
‚‚»c
run.bat: unused non-option argument: node1
run.bat: unused non-option argument: ÃÂÂÂÂÃÂÃÂ
‚‚ƒÃƒÂƒÃ‚ƒÃ‚ƒÃ‚‚ÂÂÂÂÃÂÃÂ
‚‚»b
run.bat: unused non-option argument: 192.168.1.110


please anybody help me to solve this.

Or is there any approach for clustering  in JBoss 5 .

Or please provide steps to imple. clustering in JBoss 5.

Thanks in Advance







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

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




More information about the jboss-user mailing list