[jboss-user] [JBoss Microcontainer] - Re: How to stop my WAR loading JBoss's provided 3rd party classes?

Petr H do-not-reply at jboss.com
Tue Jan 4 08:58:16 EST 2011


Petr H [http://community.jboss.org/people/hostalp] created the discussion

"Re: How to stop my WAR loading JBoss's provided 3rd party classes?"

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

--------------------------------------------------------------
I'm trying to setup the parent-first="false" ie. parent-policy "AFTER_BUT_JAVA_BEFORE" behavior and then add some package filters to it.

With plain ear deployed it's "AFTER_BUT_JAVA_BEFORE" by default, but when I add any java-classloading-domain.xml file (even the minimal one without any custom filters) the behavior switches to parent-first="true" ie. parent-policy "BEFORE" and then any potentionally added custom filters are combined with that (which is OK but I want to get the aame to work for "AFTER_BUT_JAVA_BEFORE").

I tried stuff like <parent-policy name="AFTER_BUT_JAVA_BEFORE"> which switches it to the desired state but then added filters have no effect.
--------------------------------------------------------------

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

Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2114]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110104/7ce047bb/attachment.html 


More information about the jboss-user mailing list