JNDI Context Environment settings?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Jon_Wilmoth
Posted On:   Saturday, August 30, 2003 04:51 PM

If accessing a Tomcat (4.1.27 in my case) jndi tree from another jvm (i.e. command line) what values should I use for Context.INITIAL_CONTEXT_FACTORY, Context.PROVIDER_URL, etc. for Tomcat?


I believe 4.x has a JDNI implementation, but the description of how to attach to it externally is not very good. If the INITIAL_CONTEXT_FACTORY is supposed to be "org.apache.naming.java.javaURLContextFactory" (as I've seen hinted at elsewhere) what is the syntax of such a url?

Re: JNDI Context Environment settings?

Posted By:   Jon_Wilmoth  
Posted On:   Wednesday, September 10, 2003 10:18 AM

I hate to answer my own questions. After looking a little further, the reason the documentation doesn't detail the environment configuration from accessing the JNDI implementation from outside the servlet container JVM is because you can't! Read the 8th reply:

java.sun.com forum thread on tomcat jndi implementation



I also found this, which seems to confirm:
notes about the Eclipse IDE JNDI browser plugin with various JNDI implementations

About | Sitemap | Contact