Sun GlassFish Enterprise Server v2.1.1 Developer's Guide

Using a Custom File

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

This adds the 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 file, the Java EE naming service either uses the first value found or concatenates all of the values, whichever makes sense.