Configuring the jndi.properties file
You must configure the jndi.properties file. JMS clients use property files to create a JNDI IntialContextFactory. If you put the JNDI configuration in the jndi.properties file and place this file on your class path, you can access the InitialContext and you can search for the ConnectionFactory objects and destinations.
About this task
Note: If you get the javax.naming.NamingException, it means that the
jndi.properties file is not accessible. Ensure that the
jndi.properties file is packaged in a custom JAR and is installed as a
third-party JAR for both APP and AGENT dynamic class paths.