Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JBAS010153: Node identifier property is set to the default value. Please make sure it is unique

I am getting the following WARN message while I start my host which is one of the Host Controller (HC) that is attached to the Domain Controller(DC).

[Server:server-two] 14:06:13,822 WARN [org.jboss.as.txn] (ServerService Thread Pool -- 33) JBAS010153: Node identifier property is set to the default value. Please make sure it is unique.

And my host-slave.xml has the following config...

        <server-identities>
             <!-- Replace this with either a base64 password of your own, or use a vault with a vault expression -->
             <secret value="c2xhdmVfdXNlcl9wYXNzd29yZA=="/>
        </server-identities>

I hope this config is the reason...... maybe I didn't understand..... but I couldn't find node identifier property rather this is the default secret value which I hope could be the cause of this WARN message.

However, I didn't mention HC to lookup host-slave.xml..... the command which I ran to start my HC is.....

[host-~-\-\-\bin]$./domain.sh -Djboss.domain.master.address=nnn.nn.nn.88 -b nnn.nn.nn.89 -bmanagement nnn.nn.nn.89 &

nnn.nn.nn.88 is my DC

Else please advise what's cause of the WARN message.

And please let me know the implication of this WARN message and advise us on the required config to overcome and sort out any consecutive consequences that would've been bound for this WARN.

like image 956
Dev Anand Sadasivam Avatar asked Oct 15 '15 10:10

Dev Anand Sadasivam


2 Answers

I'm new to wildfly, and noticed this warning when I started it standalone from eclipse (I'm doing the following tutorial: https://wwu-pi.github.io/tutorials/lectures/eai/020_tutorial_jboss_project.html)

The fix was to add a node-identifier to the core-environment in the subsystem:

<subsystem xmlns="urn:jboss:domain:transactions:2.0">
        <core-environment node-identifier="meindertwillemhoving">
            <process-id>
                <uuid/>
            </process-id>
        </core-environment>
        <recovery-environment socket-binding="txn-recovery-environment" status-socket-binding="txn-status-manager"/>
</subsystem>

This is in file [wildfly]\standalone\configuration\standalone.xml. This is the same answer as https://developer.jboss.org/message/880136#880136

like image 164
Meindert Avatar answered Oct 11 '22 15:10

Meindert


According to WFLY-10541 if you are using WildFly v14.0.0 or newer you can pass the following to the startup script to set the transaction node identifier:

-Djboss.tx.node.id=<some-unique-id>
like image 35
kaptan Avatar answered Oct 11 '22 13:10

kaptan