[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 07:11:51 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/578646#578646

--------------------------------------------------------------
> Yup, you need to explicitly define the parent -- otherwise it's null.
> Hence the "couldn't load javax.servlet.http.HttpServlet" error -- DefaultDomain is not the parent as we would expect.
> 
> Do you think we should by default have DefaultDomain as a parent, if not explicitly defined?
Yeah that makes sense. But strange that it happens even when I specify parent domain via jboss-classloading.xml. Perhaps jboss-classloading-domain.xml overrides that.
Yes I think DefaultDomain as parent by default (like elsewhere) would be acceptable here.
And by the way, how one specifies parent in jboss-classloading-domain.xml? I didn't study the related source. Is there any attribute like 'parent' or so?
--------------------------------------------------------------

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

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/280d23e1/attachment-0001.html 


More information about the jboss-user mailing list