WildFly Transaction Subsystem Configuration

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Set Unique Node Identifier

https://access.redhat.com/solutions/771963

If a unique node identifier is not set in domain mode, you'll get this:

18:55:02,298 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 37) JBAS010153: Node identifier property is set to the default value. Please make sure it is unique.

To eliminate the warning, configure standalone.xml or domain.xml as follows:

    <subsystem xmlns="urn:jboss:domain:transactions:1.5">
        <core-environment node-identifier="${jboss.node.name}">
            ...
        </core-environment>
        ...
    </subsystem>

Also see:

jboss.node.name

Note that "jboss.node.name" has to be explicitly configured at startup. In standalone mode, it can be added in standalone.conf:

JAVA_OPTS="$JAVA_OPTS -Dstandalone.conf"

For domain mode, custom system properties can be declared as described here: