Java Naming and Directory Interface
This feature enables the use of Java Naming and Directory Interface (JNDI) to access server configured resources such as DataSources or JMS Connection Factories. It also allows access to Java primitives configured in the server as a jndiEntry.
Command Line Install
To install the feature from the command line, type:
bin/installUtility install jndi-1.0
If you are installing into 22.214.171.124 or earlier and the feature supports that version, use the featureManager command, for example:
bin/featureManager install jndi-1.0 --when-file-exists=ignore
To use the feature at runtime add the following to your server.xml file