[jboss-user] [Installation, Configuration & DEPLOYMENT] - Singleton mbean
roelof
do-not-reply at jboss.com
Fri Oct 3 02:54:14 EDT 2008
hi
we are currently running a very old version of jboss (4.0.2). in the process of migrating/upgrading to jboss 5.0 i've run into a problem related to a Singleton mbean.
the error is:
java.lang.IllegalStateException: HAPartition property must be set before starting HAServiceMBeanSupport
the relevant descriptor:
| <!-- Singleton Connection Controller -->
| <mbean code="za.co.mtn.usa.service.protocol.ConnectionController"
| name="mtn_usa.system:service=ConnectionController"
| xmbean-dd="resource:usa_xmbean_ConnectionController.xml">
| <depends>HAPartition</depends>
| <property name="HAPartition"><inject bean="HAPartition"/></property>
| </mbean>
|
| <!-- Singleton controller for the ConnectionController -->
| <mbean code="org.jboss.ha.singleton.HASingletonController"
| name="mtn_usa.system:service=ConnectionController,controller=Singleton">
| <property name="HAPartition"><inject bean="HAPartition"/></property>
| <depends optional-attribute-name="TargetName">
| mtn_usa.system:service=ConnectionController
| </depends>
| <attribute name="TargetStartMethod">startSingleton</attribute>
| <attribute name="TargetStopMethod">stopSingleton</attribute>
| </mbean>
|
i also looked at the example in the docs:
http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Server_Configuration_Guide/beta500/html/ch18s11s02.html
that unfortunately resulted in the same error. has anyone run into this? any idea what can be done to resolve the problem?
thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180206#4180206
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180206
More information about the jboss-user
mailing list