5 Replies Latest reply on Nov 11, 2004 2:43 PM by Damon Sicore

    How can I rename a cluster partition?

    Daniel Newbie

      I am trying to create separate PROD, QA, and DEV JBoss cluster partitions. Obviously we want these clusters to be disjoint. I tried to do so by making a copy of the 'all' configuration and then replacing DefaultPartition with ProductionPartition. (See shell script below) When I fired up JBoss things didn't appear to work (see logs below). I am using JBoss 3.2.5 with JDK 1.4.2_05 on Sparc Solaris 8.

      I read the clustering docs and on page 40 there is a note that says that many services look for partitions named "DefaultPartition" and that it is easier to change "mcast_addr" in the UDP layer than change the partition name. But I couldn't find an example of doing this.

      So what I'm wondering is if someone has an example of how to do this using either approach. I searched the wiki, forums, and for-pay docs but came up empty handed.

      Thanks for any help!

      1. Code to replace 'DefaultPartition' with 'ProductionPartition'

      # unarchive jboss
      gunzip < jboss-3.2.5.tar.gz | tar xf -
      cd jboss-3.2.5
      
      # create a new custom instance
      cp -pR server/all/ server/instance1
      
      # Replace 'DefaultPartition' with 'ProductionPartition'
      for i in $(find server/instance1 | xargs grep DefaultPartition | cut -d":" -f1 | sort -u)
      do
       ed -s $i<<EOF
       ,s/DefaultPartition/ProductionPartition/g
       w
       q
      EOF
      done
      
      # Have a look at what was changed
      diff -Nur server/all/ server/instance1/
      


      2. console output
      =========================================================================
      
       JBoss Bootstrap Environment
      
       JBOSS_HOME: /home/dickmda/opt/jboss-3.2.5
      
       JAVA: /opt/j2se-1.4.2/bin/java
      
       JAVA_OPTS: -server -Dprogram.name=run.sh
      
       CLASSPATH: /home/dickmda/opt/jboss-3.2.5/bin/run.jar:/opt/j2se-1.4.2/lib/tools.jar
      
      =========================================================================
      
      14:47:49,984 INFO [Server] Starting JBoss (MX MicroKernel)...
      14:47:49,994 INFO [Server] Release ID: JBoss [WonderLand] 3.2.5 (build: CVSTag=JBoss_3_2_5 date=200406251954)
      14:47:49,997 INFO [Server] Home Dir: /home/dickmda/opt/jboss-3.2.5
      14:47:49,999 INFO [Server] Home URL: file:/home/dickmda/opt/jboss-3.2.5/
      14:47:50,000 INFO [Server] Library URL: file:/home/dickmda/opt/jboss-3.2.5/lib/
      14:47:50,007 INFO [Server] Patch URL: null
      14:47:50,008 INFO [Server] Server Name: instance1
      14:47:50,009 INFO [Server] Server Home Dir: /home/dickmda/opt/jboss-3.2.5/server/instance1
      14:47:50,012 INFO [Server] Server Home URL: file:/home/dickmda/opt/jboss-3.2.5/server/instance1/
      14:47:50,014 INFO [Server] Server Data Dir: /home/dickmda/opt/jboss-3.2.5/server/instance1/data
      14:47:50,015 INFO [Server] Server Temp Dir: /home/dickmda/opt/jboss-3.2.5/server/instance1/tmp
      14:47:50,017 INFO [Server] Server Config URL: file:/home/dickmda/opt/jboss-3.2.5/server/instance1/conf/
      14:47:50,019 INFO [Server] Server Library URL: file:/home/dickmda/opt/jboss-3.2.5/server/instance1/lib/
      14:47:50,021 INFO [Server] Root Deployment Filename: jboss-service.xml
      14:47:50,040 INFO [Server] Starting General Purpose Architecture (GPA)...
      14:47:51,879 INFO [ServerInfo] Java version: 1.4.2,Sun Microsystems Inc.
      14:47:51,880 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.4.2-b28,Sun Microsystems Inc.
      14:47:51,882 INFO [ServerInfo] OS-System: SunOS 5.8,sparc
      14:47:53,691 INFO [Server] Core system initialized
      14:48:13,225 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
      14:48:14,964 INFO [WebService] Using RMI server codebase: http://{-hostname deleted-}:8083/
      14:48:15,407 INFO [NamingService] Started jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
      14:48:34,064 INFO [EjbModule] Deploying ClusteredHTTPSession
      14:48:35,104 INFO [EJBDeployer] Deployed: file:/home/dickmda/opt/jboss-3.2.5/server/instance1/deploy/jbossha-httpsession.sar/ClusteredHttpSessionEB.jar/
      14:48:54,770 INFO [RARMetaData] Loading JBoss Resource Adapter for JDBC 2 XA drivers
      14:48:54,775 INFO [RARMetaData] Required license terms present. See deployment descriptor.
      14:49:03,369 INFO [ConfiguratorFactory] properties are neither a URL nor a file
      14:49:04,999 INFO [ProductionPartition] Initializing
      14:49:05,930 INFO [UDP] unicast sockets will use interface 148.86.108.15
      14:49:05,954 INFO [UDP] socket information:
      local_addr=nmrmdsn01:40893 (additional data: 18 bytes), mcast_addr=228.1.2.3:45566, bind_addr=/148.86.108.15, ttl=32
      socket: bound to 148.86.108.15:40893, receive buffer size=150000, send buffer size=262144
      multicast socket: bound to 148.86.108.15:45566, send buffer size=262144, receive buffer size=150000
      14:49:05,966 INFO [STDOUT]
      -------------------------------------------------------
      GMS: address is nmrmdsn01:40893 (additional data: 18 bytes)
      -------------------------------------------------------
      14:49:08,116 INFO [ProductionPartition] Number of cluster members: 1
      14:49:08,117 INFO [ProductionPartition] Other members: 0
      14:49:08,118 INFO [ProductionPartition] Fetching state (will wait for 60000 milliseconds):
      14:49:08,119 INFO [ProductionPartition] New cluster view (id: 0, delta: 0) : [148.86.108.15:1099]
      14:49:08,143 INFO [ProductionPartition:ReplicantManager] Dead members: 0
      14:49:08,857 INFO [HANamingService] Listening on /0.0.0.0:1100
      14:49:08,879 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /0.0.0.0:1102, group=230.0.0.4, HA-JNDI address=148.86.108.15:1100
      14:49:09,553 ERROR [HASingletonController] Starting failed jboss.ha:service=HASingletonDeployer
      javax.management.InstanceNotFoundException: Failed to find HAPartition with PartitionName=DefaultPartition
       at org.jboss.ha.jmx.HAServiceMBeanSupport.findHAPartitionWithName(HAServiceMBeanSupport.java:388)
       at org.jboss.ha.jmx.HAServiceMBeanSupport.setupPartition(HAServiceMBeanSupport.java:168)
       at org.jboss.ha.jmx.HAServiceMBeanSupport.startService(HAServiceMBeanSupport.java:140)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
       at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837)
       at $Proxy17.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:367)
       at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
       at $Proxy4.start(Unknown Source)
       at org.jboss.deployment.SARDeployer.start(SARDeployer.java:251)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:836)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:645)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
       at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
       at $Proxy7.deploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
       at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837)
       at $Proxy0.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:367)
       at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
       at $Proxy4.start(Unknown Source)
       at org.jboss.deployment.SARDeployer.start(SARDeployer.java:251)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:836)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:645)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:592)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
       at $Proxy5.deploy(Unknown Source)
       at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:407)
       at org.jboss.system.server.ServerImpl.start(ServerImpl.java:311)
       at org.jboss.Main.boot(Main.java:145)
       at org.jboss.Main$1.run(Main.java:399)
       at java.lang.Thread.run(Thread.java:534)
      14:49:09,596 WARN [ServiceController] Problem starting service jboss.ha:service=HASingletonDeployer
      MBeanException: javax.management.InstanceNotFoundException: Failed to find HAPartition with PartitionName=DefaultPartition
      Cause: javax.management.InstanceNotFoundException: Failed to find HAPartition with PartitionName=DefaultPartition
       at org.jboss.mx.server.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:91)
       at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:64)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837)
       at $Proxy17.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:367)
       at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
       at $Proxy4.start(Unknown Source)
       at org.jboss.deployment.SARDeployer.start(SARDeployer.java:251)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:836)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:645)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
       at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
       at $Proxy7.deploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
       at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837)
       at $Proxy0.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:367)
       at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
       at $Proxy4.start(Unknown Source)
       at org.jboss.deployment.SARDeployer.start(SARDeployer.java:251)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:836)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:645)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:592)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
       at $Proxy5.deploy(Unknown Source)
       at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:407)
       at org.jboss.system.server.ServerImpl.start(ServerImpl.java:311)
       at org.jboss.Main.boot(Main.java:145)
       at org.jboss.Main$1.run(Main.java:399)
       at java.lang.Thread.run(Thread.java:534)
      Caused by: javax.management.InstanceNotFoundException: Failed to find HAPartition with PartitionName=DefaultPartition
       at org.jboss.ha.jmx.HAServiceMBeanSupport.findHAPartitionWithName(HAServiceMBeanSupport.java:388)
       at org.jboss.ha.jmx.HAServiceMBeanSupport.setupPartition(HAServiceMBeanSupport.java:168)
       at org.jboss.ha.jmx.HAServiceMBeanSupport.startService(HAServiceMBeanSupport.java:140)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
       at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
       ... 85 more
      14:49:11,044 INFO [interceptors] InterceptorManager started with 0 SIs, 0 CIs and 2 IORIs
      14:49:11,742 INFO [orb] ORB run
      14:49:12,497 INFO [CorbaNamingService] Naming: [IOR:000000000000002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E300000000000020000000000000068000102000000000E3134382E38362E3130382E3135000DC8000000114A426F73732F4E616D696E672F726F6F74000000000000020000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000010000002C0000000000000001000000010000001C00000000000100010000000105010001000101090000000105010001]
      14:49:15,170 INFO [MailService] Mail Service bound to java:/Mail
      14:49:18,198 INFO [Embedded] Catalina naming disabled
      14:49:21,762 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
      14:49:21,987 INFO [Catalina] Initialization processed in 3360 ms
      14:49:21,995 INFO [StandardService] Starting service jboss.web
      14:49:22,024 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.0.26
      14:49:22,077 INFO [StandardHost] XML validation disabled
      14:49:22,288 INFO [Catalina] Server startup in 300 ms
      14:49:22,746 WARN [DeploymentInfo] Only the root deployment can set the loader repository, ingoring config=null
      14:49:22,847 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=file:/home/dickmda/opt/jboss-3.2.5/server/instance1/deploy/http-invoker.sar/invoker.war/
      14:49:27,991 WARN [DeploymentInfo] Only the root deployment can set the loader repository, ingoring config=null
      14:49:28,028 INFO [TomcatDeployer] deploy, ctxPath=/jboss-net, warUrl=file:/home/dickmda/opt/jboss-3.2.5/server/instance1/deploy/jboss-net.sar/jboss-net.war/
      14:49:29,051 WARN [DeploymentInfo] Only the root deployment can set the loader repository, ingoring config=null
      14:49:29,091 INFO [TomcatDeployer] deploy, ctxPath=, warUrl=file:/home/dickmda/opt/jboss-3.2.5/server/instance1/deploy/jbossweb-tomcat50.sar/ROOT.war/
      14:49:30,380 INFO [JmsXA] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=TxCM,name=JmsXA to JNDI name 'java:/JmsXA'
      14:49:30,502 INFO [DefaultDS] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=LocalTxCM,name=DefaultDS to JNDI name 'java:/DefaultDS'
      14:49:30,843 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/home/dickmda/opt/jboss-3.2.5/server/instance1/deploy/jmx-console.war/
      14:49:33,587 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/home/dickmda/opt/jboss-3.2.5/server/instance1/tmp/deploy/tmp63838web-console.war/
      14:49:37,502 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
      MBeans waiting for other MBeans:
      ObjectName: jboss.ha:service=HASingletonDeployer
       state: FAILED
       I Depend On: jboss:service=ProductionPartition
       jboss.system:service=MainDeployer
      
       Depends On Me: MBeanException: javax.management.InstanceNotFoundException: Failed to find HAPartition with PartitionName=DefaultPartition
      Cause: javax.management.InstanceNotFoundException: Failed to find HAPartition with PartitionName=DefaultPartition
      
      MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
      ObjectName: jboss.ha:service=HASingletonDeployer
       state: FAILED
       I Depend On: jboss:service=ProductionPartition
       jboss.system:service=MainDeployer
      
       Depends On Me: MBeanException: javax.management.InstanceNotFoundException: Failed to find HAPartition with PartitionName=DefaultPartition
      Cause: javax.management.InstanceNotFoundException: Failed to find HAPartition with PartitionName=DefaultPartition
      
      14:49:38,371 INFO [Server] JBoss (MX MicroKernel) [3.2.5 (build: CVSTag=JBoss_3_2_5 date=200406251954)] Started in 1m:48s:330ms
      14:49:38,373 INFO [Tomcat5] Saw org.jboss.system.server.started notification, starting connectors
      14:49:38,815 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
      14:49:39,462 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009
      14:49:39,490 INFO [JkMain] Jk running ID=0 time=1/168 config=null
      


        • 1. Re: How can I rename a cluster partition?
          Anil Saldanha Master

          in the "cluster-service.xml" file under deploy directory of your configuration (all for example), change the attribute "PartitionName" to the name you want [Remember just the attribute name]

          DefaultPartition


          Do **not** find/replace all occurrences of the word "DefaultPartition". Just the attribute name should be replaced.

          • 2. Re: How can I rename a cluster partition?
            Anil Saldanha Master

             

             <attribute name="PartitionName">DefaultPartition</attribute>
            


            • 3. Re: How can I rename a cluster partition?
              Jimmy Wilson Apprentice

              The posts regarding changing the cluster name are right to caution you. To do that, you will have to correctly change the cluster name attribute in several configuration files, and you must only change the attribute "PartitionName" not the MBean name itself (which is also "DefaultPartition").

              If you change the multicast address (or even port) you can accomplish much the same thing with a single configuration file change. Inside cluster-service.xml search for "mcast_addr". That is the multicast address setting. In the same section is a setting for the port number.

              • 4. Re: How can I rename a cluster partition?
                Daniel Newbie

                Thanks for the responses. Seems like what I actually had to do to get rid of the exception was the following change:

                --- all/deploy/deploy-hasingleton-service.xml 2004-06-25 23:22:52.000000000 -0400
                +++ instance1/deploy/deploy-hasingleton-service.xml 2004-11-06 21:37:42.000000000 -0500
                @@ -17,8 +17,9 @@
                 -->
                 <mbean code="org.jboss.ha.singleton.HASingletonController"
                 name="jboss.ha:service=HASingletonDeployer">
                - <depends>jboss:service=DefaultPartition</depends>
                + <depends>jboss:service=ProductionPartition</depends>
                 <depends optional-attribute-name="TargetName">jboss.system:service=MainDeployer</depends>
                + <attribute name="PartitionName">ProductionPartition</attribute>
                 <attribute name="TargetStartMethod">deploy</attribute>
                 <attribute name="TargetStartMethodArgument">${jboss.server.home.url}/deploy-hasingleton</attribute>
                 <attribute name="TargetStopMethod">undeploy</attribute>
                


                Haven't done any testing beyond just bringing the server up though...