[
https://jira.jboss.org/jira/browse/JBTM-693?page=com.atlassian.jira.plugi...
]
Michael Musgrove updated JBTM-693:
----------------------------------
Workaround Description:
Add the following to transaction-jboss-beans.xml (this one is in trunk)
<bean name="ObjectStoreBrowserBean"
class="com.arjuna.ats.arjuna.tools.osb.mbean.ObjStoreBean">
<constructor
factoryClass="com.arjuna.ats.arjuna.tools.osb.mbean.ObjStoreBean"
factoryMethod="getObjectStoreBrowserBean"/>
<demand state="Create">ObjectStoreEnvironmentBean</demand>
</bean>
or to use a different object store:
<bean name="ObjStoreBean"
class="com.arjuna.ats.arjuna.tools.osb.mbean.ObjStoreBean">
<annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss.jta:name=ObjStoreBean",
exposedInterface=com.arjuna.ats.arjuna.tools.osb.mbean.ObjStoreBean.class,
registerDirectly=true)</annotation>
<constructor>
<parameter>1</parameter>
<parameter>path to object store</parameter>
</constructor>
</bean>
was:
Add the following to transaction-jboss-beans.xml
<bean name="ObjStoreBean"
class="com.arjuna.ats.arjuna.tools.osb.mbean.ObjStoreBean">
<annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss.jta:name=ObjStoreBean",
exposedInterface=com.arjuna.ats.arjuna.tools.osb.mbean.ObjStoreBean.class,
registerDirectly=true)</annotation>
<constructor>
<parameter>1</parameter>
<parameter>path to object store</parameter>
</constructor>
</bean>
Make sure that the ObjectStoreBrowserBean is initialised in transaction-jboss-beans.xml.
Object Store Browser mbean does not initialise properly
-------------------------------------------------------
Key: JBTM-693
URL:
https://jira.jboss.org/jira/browse/JBTM-693
Project: JBoss Transaction Manager
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Tooling
Affects Versions: 4.9.0
Reporter: Michael Musgrove
Assignee: Michael Musgrove
Priority: Minor
Fix For: 4.10.0
The default com.arjuna.ats.arjuna.tools.osb.mbean.ObjStoreBean does not initialise itself
properly when running in the AS causing a null pointer reference when displaying the bean
in a JMX client.
Also the need for the jmxEnabled property of ObjectStoreEnvironmentBean is superfluous.
See workaround for how to initialise the bean via transaction-jboss-beans.xml.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira