2 Replies Latest reply on Nov 22, 2008 10:08 AM by Brian Stansberry

    JBoss 4.2.3 change partition name problem!

    Alex Zhang Newbie

      I use JBOSS 4.2.3.GA to build a cluster.

      I want to change partition name from 'DefaultPartition' to 'Test'

      what are the related files I should change when I start jboss server.

      Please help!

        • 1. Re: JBoss 4.2.3 change partition name problem!
          Alex Zhang Newbie

          log as below:
          [root@localhost bin]# ./run.sh -c all -b 192.168.1.142
          =========================================================================

          JBoss Bootstrap Environment

          JBOSS_HOME: /opt/jboss-4.2.3.GA

          JAVA: /opt/SDK/jdk/bin/java

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

          CLASSPATH: /opt/jboss-4.2.3.GA/bin/run.jar:/opt/SDK/jdk/lib/tools.jar

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

          01:59:26,410 INFO [Server] Starting JBoss (MX MicroKernel)...
          01:59:26,412 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)
          01:59:26,415 INFO [Server] Home Dir: /opt/jboss-4.2.3.GA
          01:59:26,494 INFO [Server] Home URL: file:/opt/jboss-4.2.3.GA/
          01:59:26,497 INFO [Server] Patch URL: null
          01:59:26,580 INFO [Server] Server Name: all
          01:59:26,581 INFO [Server] Server Home Dir: /opt/jboss-4.2.3.GA/server/all
          01:59:26,582 INFO [Server] Server Home URL: file:/opt/jboss-4.2.3.GA/server/all/
          01:59:26,621 INFO [Server] Server Log Dir: /opt/jboss-4.2.3.GA/server/all/log
          01:59:26,622 INFO [Server] Server Temp Dir: /opt/jboss-4.2.3.GA/server/all/tmp
          01:59:26,663 INFO [Server] Root Deployment Filename: jboss-service.xml
          01:59:27,187 INFO [ServerInfo] Java version: 1.6.0_06,Sun Microsystems Inc.
          01:59:27,187 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 10.0-b22,Sun Microsystems Inc.
          01:59:27,188 INFO [ServerInfo] OS-System: Linux 2.6.9-42.ELsmp,i386
          01:59:27,750 INFO [Server] Core system initialized
          01:59:29,750 INFO [WebService] Using RMI server codebase: http://192.168.1.142:8083/
          01:59:29,753 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
          01:59:30,489 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
          01:59:30,490 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
          01:59:30,768 INFO [TransactionManagerService] Starting recovery manager
          01:59:30,934 INFO [TransactionManagerService] Recovery manager started
          01:59:30,935 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
          01:59:33,654 INFO [EJB3Deployer] Starting java:comp multiplexer
          01:59:34,934 INFO [STDOUT]
          -------------------------------------------------------
          GMS: address is 192.168.1.142:32867
          -------------------------------------------------------
          01:59:37,029 INFO [TreeCache] viewAccepted(): [192.168.1.142:32867|0] [192.168.1.142:32867]
          01:59:37,111 INFO [TreeCache] TreeCache local address is 192.168.1.142:32867
          01:59:37,112 INFO [TreeCache] State could not be retrieved (we are the first member in group)
          01:59:37,113 INFO [TreeCache] parseConfig(): PojoCacheConfig is empty
          01:59:39,281 INFO [NativeServerConfig] JBoss Web Services - Native
          01:59:39,282 INFO [NativeServerConfig] jbossws-3.0.1-native-2.0.4.GA (build=200803312044)
          01:59:40,049 INFO [SnmpAgentService] SNMP agent going active
          01:59:40,499 INFO [Test] Initializing
          01:59:40,599 INFO [STDOUT]
          -------------------------------------------------------
          GMS: address is 192.168.1.142:32870
          -------------------------------------------------------
          01:59:42,678 INFO [Test] Number of cluster members: 1
          01:59:42,678 INFO [Test] Other members: 0
          01:59:42,679 INFO [Test] Fetching state (will wait for 30000 milliseconds):
          01:59:42,679 INFO [Test] State could not be retrieved (we are the first member in group)
          01:59:42,814 INFO [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/192.168.1.142
          01:59:42,863 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /192.168.1.142:1102, group=230.0.0.4, HA-JNDI address=192.168.1.142:1100
          01:59:43,089 INFO [TreeCache] No transaction manager lookup class has been defined. Transactions cannot be used
          01:59:43,293 INFO [STDOUT]
          -------------------------------------------------------
          GMS: address is 192.168.1.142:32872
          -------------------------------------------------------
          01:59:45,355 INFO [TreeCache] viewAccepted(): [192.168.1.142:32872|0] [192.168.1.142:32872]
          01:59:45,404 INFO [TreeCache] TreeCache local address is 192.168.1.142:32872
          01:59:45,614 INFO [STDOUT]
          -------------------------------------------------------
          GMS: address is 192.168.1.142:32874
          -------------------------------------------------------
          01:59:47,667 INFO [TreeCache] viewAccepted(): [192.168.1.142:32874|0] [192.168.1.142:32874]
          01:59:47,713 INFO [TreeCache] TreeCache local address is 192.168.1.142:32874
          01:59:48,778 INFO [CorbaNamingService] Naming: [IOR:000000000000002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E3000000000000200000000000000F4000102000000000E3139322E3136382E312E313432000DC8000000114A426F73732F4E616D696E672F726F6F74000000000000050000000000000008000000004A414300000000010000001C00000000050100010000000105010001000101090000000105010001000000210000006C000000000000000100000000000000240000001C0000007E00000000000000010000000A3132372E302E302E31000DC900400000000000080606678102010101000000170401000806066781020101010000000764656661756C7400000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]01:59:49,056 INFO [CorbaTransactionService] TransactionFactory: [IOR:000000000000003049444C3A6F72672F6A626F73732F746D2F69696F702F5472616E73616374696F6E466163746F72794578743A312E30000000000200000000000000F4000102000000000E3139322E3136382E312E313432000DC8000000144A426F73732F5472616E73616374696F6E732F46000000050000000000000008000000004A414300000000010000001C00000000050100010000000105010001000101090000000105010001000000210000006C000000000000000100000000000000240000001C0000007E00000000000000010000000A3132372E302E302E31000DC900400000000000080606678102010101000000170401000806066781020101010000000764656661756C7400000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
          01:59:49,862 INFO [Embedded] Catalina naming disabled
          01:59:50,176 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /opt/SDK/jdk/jre/lib/i386/server:/opt/SDK/jdk/jre/lib/i386:/opt/SDK/jdk/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
          01:59:50,339 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-192.168.1.142-8888
          01:59:50,341 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-192.168.1.142-8009
          01:59:50,382 INFO [Catalina] Initialization processed in 520 ms
          01:59:50,383 INFO [StandardService] Starting service jboss.web
          01:59:50,433 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
          01:59:50,524 INFO [Catalina] Server startup in 141 ms
          01:59:50,761 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
          01:59:51,513 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/httpha-invoker.sar/invoker.war/
          01:59:51,776 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/
          01:59:52,105 INFO [TomcatDeployer] deploy, ctxPath=/juddi, warUrl=.../deploy/juddi-service.sar/juddi.war/
          01:59:52,307 INFO [RegistryServlet] Loading jUDDI configuration.
          01:59:52,309 INFO [RegistryServlet] Resources loaded from: /WEB-INF/juddi.properties
          01:59:52,351 INFO [RegistryServlet] Initializing jUDDI components.
          01:59:53,116 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
          01:59:53,712 INFO [MailService] Mail Service bound to java:/Mail
          01:59:54,157 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
          01:59:54,320 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
          01:59:54,389 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
          01:59:54,453 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
          01:59:54,809 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
          01:59:54,881 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
          01:59:54,969 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
          01:59:55,026 INFO [QuartzResourceAdapter] start quartz!!!
          01:59:55,286 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
          01:59:55,371 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
          01:59:55,415 INFO [RAMJobStore] RAMJobStore initialized.
          01:59:55,416 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
          01:59:55,417 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
          01:59:55,457 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
          01:59:56,244 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
          01:59:56,690 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
          01:59:56,760 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
          01:59:57,014 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

          --- MBeans waiting for other MBeans ---
          ObjectName: jboss.ha:service=HASingletonDeployer
          State: CONFIGURED
          I Depend On:
          jboss:service=DefaultPartition
          jboss.system:service=MainDeployer

          ObjectName: jboss:service=FarmMember,partition=DefaultPartition
          State: CONFIGURED
          I Depend On:
          jboss:service=DefaultPartition
          jboss.web:service=WebServer
          jboss.system:service=MainDeployer

          --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
          ObjectName: jboss:service=DefaultPartition
          State: NOTYETINSTALLED
          Depends On Me:
          jboss.ha:service=HASingletonDeployer
          jboss:service=FarmMember,partition=DefaultPartition


          • 2. Re: JBoss 4.2.3 change partition name problem!
            Brian Stansberry Master

            Include "-g Test" when you start JBoss, .e.g.

            ./run.sh -c all -g Test