[jboss-dev-forums] [JBoss AS7 Development] - Re: Classloader parent delegation on Jboss AS7

jaikiran pai do-not-reply at jboss.com
Fri Jul 15 12:26:30 EDT 2011


jaikiran pai [http://community.jboss.org/people/jaikiran] created the discussion

"Re: Classloader parent delegation on Jboss AS7"

To view the discussion, visit: http://community.jboss.org/message/615523#615523

--------------------------------------------------------------
Deployment structure files are top level only. i.e. If you are deploying an .war within a .ear, then the jboss-deployment-structure.xml within the .ear/META-INF/ is what matters. 

In an ear the exclusion only applies to ear/lib. To configure it for subdeployments within the .ear, you'll need a sub-deployment element within the .ear/META-INF/jboss-deployment-structure.xml. Here's an example on how the subdeployments can be configured  https://docs.jboss.org/author/display/AS7/Class+Loading+in+AS7 https://docs.jboss.org/author/display/AS7/Class+Loading+in+AS7. 

The reason you both see different results is because the application that you mention are packaged differently.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/615523#615523]

Start a new discussion in JBoss AS7 Development at Community
[http://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/20110715/4e3d0a81/attachment.html 


More information about the jboss-dev-forums mailing list