[jboss-user] [JBoss Microcontainer] - Re: Visibility of several (versions of) jar's in JBoss EAP 5.1

Ales Justin do-not-reply at jboss.com
Mon Dec 12 12:02:53 EST 2011

Ales Justin [http://community.jboss.org/people/alesj] created the discussion

"Re: Visibility of several (versions of) jar's in JBoss EAP 5.1"

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

For F: perhaps try to avoid big-ball-o-mud, and filter out the xxx.jar from ext delegates.

This is the code in BaseCLDomain that should help:

         if (policy.isImportAll())
            allExports = true;
      // Next we try the old "big ball of mud" model      
      if (allExports)
         loader = findLoaderInExports(classLoader, name, trace);
         if (loader != null)
            return loader;
      else if (trace)
         log.trace(this + " not loading " + name + " from all exports");
      // Next we try the imports
      if (info != null)
         loader = findLoaderInImports(info, name, trace);

Reply to this message by going to Community

Start a new discussion in JBoss Microcontainer at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111212/5ba41b62/attachment.html 

More information about the jboss-user mailing list