[jboss-dev-forums] [JBoss AS 7 Development] - Re: Access EAR classpath from MBean in JBoss Module?
Stephen Coy
do-not-reply at jboss.com
Mon Sep 24 22:01:16 EDT 2012
Stephen Coy [https://community.jboss.org/people/sfcoy] created the discussion
"Re: Access EAR classpath from MBean in JBoss Module?"
To view the discussion, visit: https://community.jboss.org/message/761242#761242
--------------------------------------------------------------
There is nothing in the Java EE specs that says that the root content of an EAR file should be accessible to deployed applications. The fact that it works for you in JBoss 4.x is an implementation accident and I would not expect it to work on any other vendor implementation either.
You need to move your META-INF/jboss-service.xml file into a jar contained in the EAR/lib directory.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/761242#761242]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120924/59b9055c/attachment.html
More information about the jboss-dev-forums
mailing list