Hi, Rickard

In the jndi.properties file, there is such a line:

java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces

who can explain to me that under what situation the first prefix org.jboss.naming will be used
and under what situation, the second one (org.jnp.interfaces) will be used?


I am confused by the fact that there is two javaURLContextFactory.java file .
One is
org.jboss.naming.java.javaURLContextFactory.java,
the other is
org.jnp.interfaces.java.javaURLContextFactory.java.


What rules the jboss follow will follow to use one of them?

I trace the source code, i find that it seems that org.jboss.naming.java.javaURLContext will be used when
the iniCtx.lookup("java:") is called during the startService of the NamingService.java. But if i write my
own simple testing program which simulate the starting up of naming service, the org.jnp.interfaces.java.javaURLContext
is always called. WHY????


Thanks a lot!

yang




------------------------------------------------------- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to