Sun Java System Application Server 9.1 Developer's Guide

Using a Custom jndi.properties File

To use a custom jndi.properties file, specify the path to the file in one of the following ways:

This adds the jndi.properties file to the Shared Chain class loader. For more information about class loading, see Chapter 2, Class Loaders.

For each property found in more than one jndi.properties file, the Java EE naming service either uses the first value found or concatenates all of the values, whichever makes sense.