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

Ales Justin do-not-reply at jboss.com
Tue Jan 4 07:33:29 EST 2011


Ales Justin [http://community.jboss.org/people/alesj] 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/578657#578657

--------------------------------------------------------------
> 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.
As it's the jb-cl-domain.xml that defines the full domain.
jb-cl.xml just uses that domain, hence it cannot change its parent.
> 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?
@XmlAttribute
   public void setParentDomain(String parentDomain)
   {
      this.parentDomain = parentDomain;
   }

There is an attribute parent-domain on the top jb-cl-domain.xml element.
--------------------------------------------------------------

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

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/a8802858/attachment.html 


More information about the jboss-user mailing list