WildFly System Properties: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 41: Line 41:
=jboss.bind.address=
=jboss.bind.address=


Represents the value of the instance's public interface.
Represents the value of the instance's public interface. The default value is 127.0.0.1.


==jboss.bind.address for Standalone Node==
==jboss.bind.address for Standalone Node==


One common method of externalizing this operationally is to define it as a system property at the bottom of <tt>standalone.conf</tt>:
One common method of externalizing this operationally is to define it as a system property at the bottom of <tt>$JBOSS_HOME/bin/standalone.conf</tt>:


<pre>
<pre>
Line 57: Line 57:
./standalone.sh -Djboss.bind.address=192.168.1.10
./standalone.sh -Djboss.bind.address=192.168.1.10
</pre>
</pre>
==jboss.bind.address for Host Controller==
One common method to externalize the value operationally for host controllers is to define it as a system property at the bottom of <tt>$JBOSS_HOME/bin/domain.conf</tt> as follows:


=jboss.bind.address.management=
=jboss.bind.address.management=

Revision as of 01:47, 12 February 2016

Internal

jboss.qualified.host.name

Relevance: WildFly 9

For a host named "ap1.modcluster.local" it is set to "ap1.modcluster.local"

jboss.host.name

Relevance: WildFly 9

For a host named "ap1.modcluster.local" it is set to "ap1"

jboss.server.name

Relevance: WildFly 9

For a host named "ap1.modcluster.local" it is set to "ap1"

jboss.node.name

Relevance: WildFly 9

jboss.node.name 

Set externally with -Djboss.node.name in the startup script.

Related:

jboss.server.config.dir

Used by:

jboss.bind.address

Represents the value of the instance's public interface. The default value is 127.0.0.1.

jboss.bind.address for Standalone Node

One common method of externalizing this operationally is to define it as a system property at the bottom of $JBOSS_HOME/bin/standalone.conf:

...
JAVA_HOME="${JAVA_HOME} -Djboss.bind.address=192.168.1.15"

The same result can be achieved by specifying the system property as a -D argument for the start script:

./standalone.sh -Djboss.bind.address=192.168.1.10

jboss.bind.address for Host Controller

One common method to externalize the value operationally for host controllers is to define it as a system property at the bottom of $JBOSS_HOME/bin/domain.conf as follows:

jboss.bind.address.management