You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "D. Stimits" <st...@comcast.net> on 2004/12/16 23:08:22 UTC

JNDI context question

I'm using tomcat 5.0.30, and trying to learn a bit more about JNDI. The 
sample config comes with a "simpleValue" variable set to 30, using an 
Environment tag in conf/server.xml. According to the docs I've found, 
this should make it available to all web apps via 
InitialContext().listBindings("bindpath"). What I am wondering is what 
"bindpath" is used to see <Environment> tag values? I've tried various 
things from sample docs, and "java:comp" exists, but I have yet to 
figure out any bindpath which does not result in a "not bound in this 
Context" error.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org