This content has been marked as final.
Show 2 replies
-
1. Re: EJB2 dependencies supported in JBoss AS 5.1?
wdfink Feb 3, 2012 10:40 AM (in response to 24565435)I think this is related to https://issues.jboss.org/browse/JBPAPP-2419
I suppose you have to declare the name of the application where you depend on like this:
<jmx-name>jboss.j2ee:module=my.jar,service=EjbModule</jmx-name>
And the dependency
<depends>jboss.j2ee:module=my.jar,service=EjbModule</depends>
-
2. Re: EJB2 dependencies supported in JBoss AS 5.1?
24565435 Feb 3, 2012 6:46 PM (in response to wdfink)Thank you! This now works for us.
Also I noticed the problem doesn't happen in JBoss 6 release. I think this is maybe fixed by https://issues.jboss.org/browse/JBAS-7789.
For those interested, in our case we got it to work by using 2 jars within an ear, one jar containing what we need to depend on, with it's jboss.xml specifying the jmx-name. The other jar has the dependency.