Unable to Start JBoss Domain Controller
Issue
In AEM Forms 6.5.1 LTS cluster deployments using JBoss EAP 8, the configuration file<JBOSS_HOME>/domain/configuration/domain_oracle.xml (and database-specific variants) may contain a duplicate opening <security> tag.
This causes an invalid XML configuration, resulting in JBoss Domain Controller startup failure and preventing successful cluster initialization.
Applies To
-
Product: AEM Forms 6.5.1 LTS
-
Deployment Type: Cluster
-
Application Server: JBoss EAP 8.x
-
Configuration Files:
<JBOSS_HOME>/domain/configuration/domain_oracle.xml<JBOSS_HOME>/domain/configuration/domain_mysql.xml<JBOSS_HOME>/domain/configuration/domain_mssql.xml
Troubleshooting Steps
-
During Domain Controller startup, the following errors may be observed:
WFLYCTL0198: Unexpected element 'security'IJ010061: Unexpected element: security
-
Open the relevant configuration file:
code language-none <JBOSS_HOME>/domain/configuration/domain_oracle.xml (or domain_mysql.xml / domain_mssql.xml) -
Locate the duplicate
<security>opening tag.Incorrect configuration:
code language-xml <security> <security> <user-name>adobe</user-name> <credential-reference store="db-creds" alias="EncryptDBPassword"/> </security> -
Remove the extra opening
<security>tag so that the configuration is corrected as shown below:Correct configuration:
code language-xml <security> <user-name>adobe</user-name> <credential-reference store="db-creds" alias="EncryptDBPassword"/> </security> -
Save the file and start the JBoss Domain Controller.
-
Ensure the same validated configuration is applied consistently across all cluster nodes.