This content has been marked as final.
Show 2 replies
-
1. Re: Warning message on /subsystem=transactions
alban5650 Dec 24, 2018 7:50 AM (in response to aiya0933)Hi Angela,
You can set a unique value for your instance in the standalone configuration, default value is 1:
<subsystem xmlns="urn:jboss:domain:transactions:5.0">
<core-environment node-identifier="${jboss.tx.node.id:1}">
...
</subsystem>Alternatively, you can pass a unique value to the server as a JVM parameter:
-Djboss.tx.node.id=my-unique-server-id
The choice is yours and you should no longer see the warning when starting the server.
-
2. Re: Warning message on /subsystem=transactions
emeuwese Dec 29, 2018 8:31 AM (in response to alban5650)An other option is to set ${jboss.tx.node.id} in a system-property.
For a standalone configurationyou can set node id value through cli in a system-property
./system-property=jboss.tx.node.id:add(value=111)
or in standalone.xml
<server xmlns="urn:jboss:domain:9.0"> ... <system-properties> <property name="jboss.tx.node.id" value="111"/> </system-properties> ... </server>
For a domain configuration you can set node id value through cli in a system-property for each server. Just as what was written in a previous topic about this subject Re: JBAS010153: Node identifier property is set to the default value. Please make sure it is unique.
./host=master/server-config=server-one/system-property=jboss.tx.node.id:add(boot-time=true,value=101) ./host=master/server-config=server-two/system-property=jboss.tx.node.id:add(boot-time=true,value=102)
or in host.xml
<host xmlns="urn:jboss:domain:9.0" ...> ... <servers> <server name="server-one" ...> <system-properties> <property name="jboss.tx.node.id" value="101" boot-time="true"/> </system-properties> ... </server> <server name="server-two" ...> <system-properties> <property name="jboss.tx.node.id" value="102" boot-time="true"/> </system-properties> ... </server> ... </servers> ... </host>