0 Replies Latest reply on Nov 28, 2008 10:20 AM by navkalp varshney

    jboss cluster on different machine, with TCP protocol

    navkalp varshney Newbie

      Hi,

      I am trying to acheive the cluster with tcp protocol, following is my log attached, I am confused for something it says we are first member and for some it says joined the cluster, how to make it work.
      =========================================================================

      JBoss Bootstrap Environment

      JBOSS_HOME: /App1/web/install/jboss-4.2.2.GA

      JAVA: java

      JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

      CLASSPATH: /App1/web/install/jboss-4.2.2.GA/bin/run.jar

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

      16:52:12,784 INFO [Server] Starting JBoss (MX MicroKernel)...
      16:52:12,788 INFO [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)
      16:52:12,792 INFO [Server] Home Dir: /App1/web/install/jboss-4.2.2.GA
      16:52:12,793 INFO [Server] Home URL: file:/App1/web/install/jboss-4.2.2.GA/
      16:52:12,796 INFO [Server] Patch URL: null
      16:52:12,797 INFO [Server] Server Name: node2
      16:52:12,797 INFO [Server] Server Home Dir: /App1/web/install/jboss-4.2.2.GA/server/node2
      16:52:12,798 INFO [Server] Server Home URL: file:/App1/web/install/jboss-4.2.2.GA/server/node2/
      16:52:12,799 INFO [Server] Server Log Dir: /App1/web/install/jboss-4.2.2.GA/server/node2/log
      16:52:12,800 INFO [Server] Server Temp Dir: /App1/web/install/jboss-4.2.2.GA/server/node2/tmp
      16:52:12,801 INFO [Server] Root Deployment Filename: jboss-service.xml
      16:52:13,970 INFO [ServerInfo] Java version: 1.5.0_16,Sun Microsystems Inc.
      16:52:13,970 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_16-b02,Sun Microsystems Inc.
      16:52:13,971 INFO [ServerInfo] OS-System: SunOS 5.10,sparc
      16:52:15,745 INFO [Server] Core system initialized
      16:52:26,586 INFO [WebService] Using RMI server codebase: http://ruh-puap-web01b:8083/
      16:52:26,596 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
      16:52:29,410 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
      16:52:29,410 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
      16:52:30,101 INFO [TransactionManagerService] Starting recovery manager
      16:52:30,421 INFO [TransactionManagerService] Recovery manager started
      16:52:30,421 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
      16:52:40,514 INFO [EJB3Deployer] Starting java:comp multiplexer
      16:52:44,404 INFO [STDOUT]
      -------------------------------------------------------
      GMS: address is 172.16.64.24:37158
      -------------------------------------------------------
      16:52:46,477 INFO [TreeCache] viewAccepted(): [172.16.64.24:37158|0] [172.16.64.24:37158]
      16:52:46,557 INFO [TreeCache] TreeCache local address is 172.16.64.24:37158
      16:52:46,557 INFO [TreeCache] State could not be retrieved (we are the first member in group)
      16:52:46,558 INFO [TreeCache] parseConfig(): PojoCacheConfig is empty
      16:52:46,868 INFO [STDOUT] no object for null
      16:52:46,880 INFO [STDOUT] no object for null
      16:52:46,977 INFO [STDOUT] no object for null
      16:52:47,079 INFO [STDOUT] no object for {urn:jboss:bean-deployer}supplyType
      16:52:47,128 INFO [STDOUT] no object for {urn:jboss:bean-deployer}dependsType
      16:52:55,065 INFO [NativeServerConfig] JBoss Web Services - Native
      16:52:55,065 INFO [NativeServerConfig] jbossws-native-2.0.1.SP2 (build=200710210837)
      16:52:58,010 INFO [SnmpAgentService] SNMP agent going active
      16:52:59,341 INFO [DefaultPartition] Initializing
      16:52:59,518 INFO [STDOUT]
      -------------------------------------------------------
      GMS: address is 172.16.64.24:7800
      -------------------------------------------------------
      16:53:02,649 INFO [DefaultPartition] Number of cluster members: 2
      16:53:02,650 INFO [DefaultPartition] Other members: 1
      16:53:02,650 INFO [DefaultPartition] Fetching state (will wait for 30000 milliseconds):
      16:53:02,813 INFO [DefaultPartition] state was retrieved successfully (in 162 milliseconds)
      16:53:03,021 INFO [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/0.0.0.0
      16:53:03,647 INFO [TreeCache] No transaction manager lookup class has been defined. Transactions cannot be used
      16:53:04,232 INFO [STDOUT]
      -------------------------------------------------------
      GMS: address is 172.16.64.24:37163
      -------------------------------------------------------
      16:53:06,241 INFO [TreeCache] viewAccepted(): [172.16.64.24:37163|0] [172.16.64.24:37163]
      16:53:06,244 INFO [TreeCache] TreeCache local address is 172.16.64.24:37163
      16:53:06,677 INFO [STDOUT]
      -------------------------------------------------------
      GMS: address is 172.16.64.24:37166
      -------------------------------------------------------
      16:53:08,691 INFO [TreeCache] viewAccepted(): [172.16.64.24:37166|0] [172.16.64.24:37166]
      16:53:08,693 INFO [TreeCache] TreeCache local address is 172.16.64.24:37166
      16:53:10,496 INFO [CorbaNamingService] Naming: [IOR:000000000000002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E3000000000000200000000000000F8000102000000000D3137322E31362E36342E323400000DC8000000114A426F73732F4E616D696E672F726F6F74000000000000050000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000210000007000000000000000010000000000000024000000200000007E00000000000000010000000D3137322E31362E36342E323400000DC900400000000000080606678102010101000000170401000806066781020101010000000764656661756C7400000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
      16:53:10,820 INFO [CorbaTransactionService] TransactionFactory: [IOR:000000000000003049444C3A6F72672F6A626F73732F746D2F69696F702F5472616E73616374696F6E466163746F72794578743A312E30000000000200000000000000F8000102000000000D3137322E31362E36342E323400000DC8000000144A426F73732F5472616E73616374696F6E732F46000000050000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000210000007000000000000000010000000000000024000000200000007E00000000000000010000000D3137322E31362E36342E323400000DC900400000000000080606678102010101000000170401000806066781020101010000000764656661756C7400000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
      16:53:12,256 INFO [Embedded] Catalina naming disabled
      16:53:12,869 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/jdk/instances/jdk1.5.0/jre/lib/sparc/server:/usr/jdk/instances/jdk1.5.0/jre/lib/sparc:/usr/jdk/instances/jdk1.5.0/jre/../lib/sparc:/etc/emc/rsa/cst/lib:/usr/lib
      16:53:13,168 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
      16:53:13,171 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-0.0.0.0-8009
      16:53:13,171 INFO [Catalina] Initialization processed in 915 ms
      16:53:13,172 INFO [StandardService] Starting service jboss.web
      16:53:13,179 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
      16:53:13,411 INFO [Catalina] Server startup in 239 ms
      16:53:13,832 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
      16:53:16,126 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/httpha-invoker.sar/invoker.war/
      16:53:16,674 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/
      16:53:17,047 INFO [TomcatDeployer] deploy, ctxPath=/juddi, warUrl=.../deploy/juddi-service.sar/juddi.war/
      16:53:17,384 INFO [RegistryServlet] Loading jUDDI configuration.
      16:53:17,386 INFO [RegistryServlet] Resources loaded from: /WEB-INF/juddi.properties
      16:53:17,386 INFO [RegistryServlet] Initializing jUDDI components.
      16:53:18,948 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
      16:53:20,658 INFO [MailService] Mail Service bound to java:/Mail
      16:53:21,138 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
      16:53:21,261 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
      16:53:21,357 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
      16:53:21,539 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
      16:53:21,762 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
      16:53:21,852 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
      16:53:21,978 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
      16:53:22,008 INFO [QuartzResourceAdapter] start quartz!!!
      16:53:22,273 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
      16:53:22,367 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
      16:53:22,379 INFO [RAMJobStore] RAMJobStore initialized.
      16:53:22,380 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
      16:53:22,380 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
      16:53:22,381 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
      16:53:25,801 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
      16:53:26,900 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
      16:53:27,001 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
      16:53:27,388 INFO [TomcatDeployer] deploy, ctxPath=/test, warUrl=.../deploy/test.war/
      16:53:27,889 INFO [JBossCacheManager] Starting JBossManager
      16:53:27,927 INFO [JBossCacheManager] We are using mod_jk(2) for load-balancing. Will add JvmRouteValve.
      16:53:28,188 INFO [FarmMemberService] **** pullNewDeployments ****
      16:53:28,188 INFO [ClusterFileTransfer] Start pull of file cluster-examples-service.xml from cluster.
      16:53:28,270 INFO [ClusterFileTransfer] Finished cluster pull of file cluster-examples-service.xml to cluster-examples-service.xml
      16:53:28,663 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
      16:53:28,746 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009