Overview
You have configured a clustered environment using Aurea Process (formerly known as CX Process, Savvvion and SBM) 2015 SP1 with JBoss Enterprise Application Platform (EAP) 6.3 and when starting node 2 in your cluster, it is unable to connect or unable to start due to the following authentication failure error in the host-contoller.log file:
WARN [org.jboss.as.host.controller] (Controller Boot Thread) JBAS010900: Could not connect to remote domain controller at remote://10.15.20.96:10999 -- java.lang.IllegalStateException: JBAS010942: Unable to connect due to authentication failure. WARN [org.jboss.as.host.controller] (Controller Boot Thread) JBAS016581: No domain controller discovery options remain. ERROR [org.jboss.as.host.controller] (Controller Boot Thread) JBAS010901: Could not connect to master. Aborting. Error was: java.lang.IllegalStateException: JBAS016519: Tried all domain controller discovery option(s) but unable to connect INFO [org.jboss.as] (MSC service thread 1-4) JBAS015950: JBoss EAP 6.3.0.GA (AS 7.4.0.Final-redhat-19) stopped in 19ms
Prerequisites
- Aurea Process 2015 SP1 with JBoss Enterprise Application Platform 6.3
- Permissions to run the installed JBoss tools on the Aurea Process server
Solution
Diagnosis
This error occurs when the required user or node-specific details are not added to the mgmt-users.properties file found in the following JBoss directories:
- EAP_HOME/standalone/configuration/
- EAP_HOME/domain/configuration/
Solution Steps
Ensure that the mgmt-users.properties file is updated with the user and node-specific details for your cluster. The following is an example of the contents of the mgmt-users.properties file with the required users and node-specific details:
admin=8d92c721440ab01a6d4edda91a8f0920 webnode4=b0680d28236474af3232196c75625bb4 webnode3=9c01737bb5d524165622bd764cf7c65b ejbnode2=be5d840e1b946a09a2322b7f43df4d9b webnode2=5126ba5be4ff18904b5cd26ea452559d ejbnode1=1444505ea221a04744ebde23dad7460b webnode1=61c33d97cd096ff74002b4720035943b
If your mgmt-users.properties file is missing the required user and nodes entries, you can use the JBoss add-user utility found in the EAP_HOME\bin directory for your server platform:
- Linux: add-user.sh
- Windows: add-user.bat
For more details on the JBoss add-user tool, please refer to Chapter 4. User Management of the JBoss Administration and Configuration Guide for JBoss EAP 6.3.
Testing
Once the required users and nodes are added to the mgmt-users.properties file, the cluster will be able to start.