Scott is correct as to the solution.

The problem: if the loading is done with 
<code>classloader.getResource("jndi.properties");</code>
then the classloading goes parent and finds classpath ones and returns that.

This is a reason why in JBoss 2.x we use "local" CL to jars by not setting the parent 
to the JBoss CL. 

I can't remember if the "classpath" cl is always "parent" to a classpath, does anyone 
remember?

marcf 
______________________________________________________________________
View this jboss-dev thread in the online forums:
http://jboss.org/forums/thread.jsp?forum=66&thread=6733

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to