Hello
I was doing some debug in the AbstractWebContainer when i came across this piece of
code in the parseWebAppDescriptors method.
// Create a java:comp/env environment unique for the web application
| log.debug("Creating ENC using ClassLoader: "+loader);
| ClassLoader parent = loader.getParent();
| while( parent != null )
| {
| log.debug(".."+parent);
| parent = parent.getParent();
| }
| currentThread.setContextClassLoader(loader);
| metaData.setENCLoader(loader);
| envCtx = (Context) iniCtx.lookup("java:comp");
|
|
There is no reference to the "parent" object after the while loop. Why is this code in
there? Am i missing something obvious?
Im trying to debug a scenario where a scoped class loader gives a
"NameNotFoundException: comp not bound" error. I found in the bug reports that its
been fixed with 3.2 and im using 3.2.2RC4 and still getting the above mentioned error.
Thanks
Raja
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844658#3844658
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844658
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development