WildFly Standard Paths: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 25: Line 25:
=Standard Paths=
=Standard Paths=


Standard ''path names'', they are "<tt>[[WildFly Paths#relative-to|relative-to]]</tt> roots.
Standard ''path names'', they are "<tt>[[WildFly Paths#relative-to|relative-to]]</tt>" roots.


==java.ext.dirs==
==java.ext.dirs==

Revision as of 06:49, 28 February 2016

Internal

Overriding Standard Paths

Standard jboss.server.* paths can be overridden in two ways:

Command Line Arguments

Pass the new values as command line arguments when starting the server:

./standalone.sh -Djboss.server.log=/var/log

JAVA_OPTS

Add the definition to JAVA_OPTS:

JAVA_OPTS="$JAVA_OPTS -Djboss.server.log.dir=/var/log"

Standard Paths

Standard path names, they are "relative-to" roots.

java.ext.dirs

The Java development kit extension directory paths.

jboss.home.dir

The root directory of the WildFly instance.

Example C:/runtime/jboss-eap-6.0.

user.home

The user home directory.

user.dir

The user's current working directory.

java.home

The Java installation directory.

jboss.server.base.dir

The root directory for an individual server instance.

Example C:/runtime/jboss-eap-6.0/profiles/test-profile.

jboss.server.data.dir

The directory the server will use for persistent data file storage.

Example C:/runtime/jboss-eap-6.0/profiles/test-profile/data.

jboss.server.config.dir

The directory that contains the server configuration.

Example C:/runtime/jboss-eap-6.0/profiles/test-profile/configuration.

jboss.server.log.dir

The directory the server will use for log file storage.

Example C:/runtime/jboss-eap-6.0/profiles/test-profile/log.

jboss.server.temp.dir

The directory the server will use for temporary file storage.

Example C:/runtime/jboss-eap-6.0/profiles/test-profile/tmp.

jboss.server.deploy.dir

The directory that the server will use for storing deployed content.

jboss.controller.temp.dir

The directory the host controller will use for temporary file storage.

Example C:/runtime/jboss-eap-6.0/profiles/test-profile/tmp.

jboss.domain.base.dir

The base directory for domain content.

jboss.domain.config.dir

The directory that contains the domain configuration.

jboss.domain.data.dir

The directory that the domain will use for persistent data file storage.

jboss.domain.log.dir

The directory that the domain will use for persistent log file storage.

jboss.domain.temp.dir

The directory that the domain will use for temporary file storage.

jboss.domain.deployment.dir

The directory that the domain will use for storing deployed content.

jboss.domain.servers.dir

The directory that the domain will use for storing outputs of the managed domain instances.