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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to