This content has been marked as final. Show 1 reply
You need to add a depends tag to your jboss-web.xml that specifies the JMX objectname of the your Hibernate JMX component:
<depends>jmx-objectname from myapp-hibernate.sar</depends>
The placement of this tag is not important (as long as it is a direct child element of the jboss-web root element). I usually have this tag right at the top of the XML, so that it is easy to spot when viewing the XML in an editor.