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/Se...
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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...