The following system properties are predefined for the GlassFish Server.
com.sun.aas.installRoot
The directory where the GlassFish Server is installed.
com.sun.aas.instanceRoot
The top-level directory for an GlassFish Server domain.
com.sun.aas.hostName
The name of the host (machine).
com.sun.aas.javaRoot
The installation directory for the Java runtime.
com.sun.aas.imqLib
The library directory for the Oracle Message Queue software.
com.sun.aas.domainName
The name of the domain. This property is not used in the default configuration, but can be used to customize configuration. The default value is domain1
.