JBoss Community

Re: Access EAR classpath from MBean in JBoss Module?

created by Stephen Coy in JBoss AS 7 Development - View the full discussion

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

Start a new discussion in JBoss AS 7 Development at Community