Bugs item #976015, was opened at 2004-06-19 15:47
Message generated for change (Comment added) made by mondrejko
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=976015&group_id=22866

Category: Clustering
Group: v3.2
Status: Open
Resolution: Invalid
Priority: 5
Submitted By: Vinh Nguyen (softwaremasters)
Assigned to: Nobody/Anonymous (nobody)
Summary: Cannot change DefaultPartition to another name

Initial Comment:
Changing DefaultPartition to another name causes the 
following error:

17:38:40,325 ERROR [HASingletonController] Starting 
failed jboss.ha:service=HASi
ngletonDeployer
javax.management.InstanceNotFoundException: Failed 
to find HAPartition with Part
itionName=DefaultPartition
        at 
org.jboss.ha.jmx.HAServiceMBeanSupport.findHAPartition
WithName(HAServ
iceMBeanSupport.java:388)
        at 
org.jboss.ha.jmx.HAServiceMBeanSupport.setupPartition
(HAServiceMBeanS
upport.java:168)
        at 
org.jboss.ha.jmx.HAServiceMBeanSupport.startService
(HAServiceMBeanSup
port.java:140)
        at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStar
t(ServiceMBeanS
upport.java:271)
        at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifec
ycle(ServiceMB
eanSupport.java:221)
        at sun.reflect.GeneratedMethodAccessor13.invoke
(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.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
(ServiceControl
ler.java:837)
        at $Proxy17.start(Unknown Source)
        at org.jboss.system.ServiceController.start
(ServiceController.java:367)
        at sun.reflect.GeneratedMethodAccessor5.invoke
(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.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.GeneratedMethodAccessor17.invoke
(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.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.de
ploy(URLDeploymen
tScanner.java:304)
        at 
org.jboss.deployment.scanner.URLDeploymentScanner.sc
an(URLDeploymentS
canner.java:478)
        at 
org.jboss.deployment.scanner.AbstractDeploymentScann
er$ScannerThread.
doScan(AbstractDeploymentScanner.java:201)
        at 
org.jboss.deployment.scanner.AbstractDeploymentScann
er.startService(A
bstractDeploymentScanner.java:274)
        at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStar
t(ServiceMBeanS
upport.java:271)
        at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifec
ycle(ServiceMB
eanSupport.java:221)
        at sun.reflect.NativeMethodAccessorImpl.invoke0
(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.
java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.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
(ServiceControl
ler.java:837)
        at $Proxy0.start(Unknown Source)
        at org.jboss.system.ServiceController.start
(ServiceController.java:367)
        at sun.reflect.GeneratedMethodAccessor5.invoke
(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.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
(DelegatingMethodAcces
sorImpl.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:144)
        at org.jboss.Main$1.run(Main.java:389)
        at java.lang.Thread.run(Thread.java:534)

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

Comment By: Michael Ondrejko (mondrejko)
Date: 2004-07-28 08:28

Message:
Logged In: YES 
user_id=1093060

I have also attempted (unsuccessfully) to change the 
partition name by globally substituting for DefaultPartition and 
receive the same exception with JBoss 3.2.5. It appears that 
there is either a config/properties file that requires 
substitution that is buried in an archive file or hard-coded 
within the source.

As an aside, it would be nice it the partition name could be 
set in one location, much like ports can be set in a port 
bindings configuration file.

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

Comment By: Michael Ondrejko (mondrejko)
Date: 2004-07-28 08:28

Message:
Logged In: YES 
user_id=1093060

I have also attempted (unsuccessfully) to change the 
partition name by globally substituting for DefaultPartition and 
receive the same exception with JBoss 3.2.5. It appears that 
there is either a config/properties file that requires 
substitution that is buried in an archive file or hard-coded 
within the source.

As an aside, it would be nice it the partition name could be 
set in one location, much like ports can be set in a port 
bindings configuration file.

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

Comment By: Vinh Nguyen (softwaremasters)
Date: 2004-06-22 19:40

Message:
Logged In: YES 
user_id=139140

I did a global change from DefaultPartition to MyPartition in all 
xml files in the server/all directory and still got the same 
error. I used a clean JBoss 3.2.4 installation with no 
application code added. Can you double check?

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

Comment By: Scott M Stark (starksm)
Date: 2004-06-19 22:05

Message:
Logged In: YES 
user_id=175228

You have to change the PartitionName in all clustering
services config files. Grep for DefaultPartition to find the
files using this name.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=976015&group_id=22866


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to