[jboss-dev-forums] [Design of POJO Server] - Re: Caching of classes in BaseClassLoaderDomain

bstansberry@jboss.com do-not-reply at jboss.com
Tue Apr 28 11:58:38 EDT 2009


The webapps that fail are declaring a loader-repository in jboss-web.xml. The CNFE is coming from:


  | Thread [main] (Suspended)	
  | 	ClassLoaderDomain(BaseClassLoaderDomain).checkClassBlackList(BaseClassLoader, String, String, boolean) line: 1477	
  | 	ClassLoaderDomain(BaseClassLoaderDomain).checkClassCacheAndBlackList(BaseClassLoader, String, String, boolean) line: 1503	
  | 	BaseClassLoader.checkCacheAndBlackList(String, boolean) line: 365	
  | 	BaseClassLoader.loadClass(String, boolean) line: 429	
  | 	WebCtxLoader$ENCLoader(ClassLoader).loadClass(String, boolean) line: 299	
  | 	WebCtxLoader$ENCLoader(ClassLoader).loadClass(String) line: 251	
  | 	TomcatInjectionContainer.newInstance(String, ClassLoader) line: 262	

The requested classes are in the domain's black list.

I'm assuming this CNFE should be caught and the call allowed to continue on to check the parent domain. I'll look at the JBCL-100 patch to see where the likely place to catch it is.

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

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



More information about the jboss-dev-forums mailing list