Hi,
I have experienced a strange behavior using JBoss 3.2.3 JMX.
I have created a custom MBean, which basicaly creates an instance of a stateful EJB and map it into a JNDI entry.
Since my MBean depends on the deployment of this particular EJB, I have a element in the associated jboss-service.xml.
Here it is :
<server> <mbean code="adonis2.adp.archivage.depot.admin.EPRManager" name="adonis2.adp.archivage.depot.admin:service=EPRManager"> <depends>jboss.j2ee:service=EJB,jndiName=adonis2.adp.archivage.depot.EPRHolderLocalHome</depends> </mbean> </server>