[jboss-user] [JMX] - Mbean depends on deployment of EJB3 jar?

sverker do-not-reply at jboss.com
Tue Nov 24 05:27:00 EST 2009

I have a mbean that is deployed with a *-service.xml file. The issue I see is that it has to be dependant on an EJB3 jar. I.e. it can't start until the ejb3 jar is deployed and it must stop before it is undeployed.

I was able to make that work in JBoss 4.2, but not in JBoss 5.1. I can set a dependency on an EJB2 jar in the same ear and that works, but not on the EJB3. The *-service.xml file is in the same .ear as the others.

My dependency look like this (I've tried other variants as well, it wasn' the same in JBoss 4.2):

and I can see this exact name in the jmx-console. I've tried other variants as well.

The dependency on ejb2 jar looks like this, and it works:

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267252#4267252

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267252

More information about the jboss-user mailing list