[jboss-user] [Microcontainer] - Re: how to re-configure class loader policy?

emmartins do-not-reply at jboss.com
Fri Nov 14 13:28:56 EST 2008


Worked, thanks, this, and the one in the other thread, are good info that could be on MC wiki.

Regarding the blacklisting feature, it's kind of confusing why it's not off by default, what is an example of an use case, where the lookup of a class that doesn't exist will benefict from this, won't all result in a java.lang.ClassNotFoundException that is usually a failure?

Another thing, lets say I have a domain and 2 class loaders (lets say CL1 and CL2), all with a policy defined as export-all="NON_EMPTY" import-all="true" blackList="false", a loadClass(String) of a class from CL1 in CL2 is failing, is this the expected behavior? Should instead the domain be always used for loading the class?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189495#4189495

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189495



More information about the jboss-user mailing list