Sun GlassFish Enterprise Server v3 Embedded Server Guide

Instance Root Directory

The instance root directory, represented as instance-dir, is the parent directory of a server instance directory. Embedded Sun GlassFish Enterprise Server uses the server instance directory for domain configuration files.

Specify the instance root directory if any of the following conditions applies:

How embedded Sun GlassFish Enterprise Server uses the instance root directory depends on the content of this directory:

If the instance root directory is not specified, embedded Sun GlassFish Enterprise Server uses the domains subdirectory of the installation root directory for domain configuration files.