String serverName = System.getProperty( org.jboss.system.server.ServerConfig.SERVER_NAME);
* to set an unique Xid for each JBoss instance
if you are running multiple JBoss instances on the same machine, you probably want to give each instance a unique Xid base name. To do it, you need to add
the following line in the jboss-service.xml:
<mbean code="org.jboss.tm.XidFactory" name="jboss:service=XidFactory">
<attribute name="BaseGlobalId">UniqueInstanceName</attribute>
<!--attribute name="Pad">true</attribute-->
</mbean>
No comments:
Post a Comment