EAP 7.3.0 Domain fails to start with a LDAP security-realm configured in host.xml

Solution Verified - Updated -

Issue

  • The domain fails to start, with the following error/exceptions recorded in the logs:

    2020-04-03 22:28:23,686 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service org.wildfly.core.management.security.realm.LDAPRealm: org.jboss.msc.service.StartException in service org.wildfly.core.management.security.realm.LDAPRealm: WFLYDM0042: Multiple CallbackHandlerServices for the same mechanism (PLAIN)
            at org.jboss.as.domain.management.security.SecurityRealmService.start(SecurityRealmService.java:226)
            at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
            at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
            at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
            at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
            at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
            at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
            at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
            at java.lang.Thread.run(Thread.java:748)
    

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.3.0.GA
  • Domain mode with a LDAP security-realm configured in host.xml

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content