How to use jndi in a standalone (unmanaged) application?

How to use jndi in a standalone (unmanaged) application? The application and Tomcat6 are on the same machine.

Can we get something through jndi search when the server is running, but when the application is not running under this tomcat server?

+3
source share
2 answers

If I understand your question correctly, you want to use Tomcat JNDI outside of the Tomcat web application. I think Tomcat does not expose JNDI from the outside. See this link:

http://wiki.apache.org/tomcat/FAQ/Miscellaneous#Q22

+1
source

- InitialContext . , Tomcat, server.xml.

0

Source: https://habr.com/ru/post/1737662/


All Articles