ConcurrentModificationException with the org.keycloak.keycloak-wildfly-subsystem api, the JBoss failed to start the kie-server.war service.

Solution Verified - Updated -

Issue

  • The JBoss service failed to started the kie-server.war because of the ConcurrentModificationException in keycloak-wildfly-subsystem api.
[0m[31m09:58:04,276 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service org.wildfly.security.http-server-mechanism-factory."kie-server.war": org.jboss.msc.service.StartException in service org.wildfly.security.http-server-mechanism-factory."kie-server.war": Failed to start service
    at org.jboss.msc@1.4.12.Final-redhat-00001//org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1731)
    at org.jboss.msc@1.4.12.Final-redhat-00001//org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
    at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)

Caused by: java.util.ConcurrentModificationException
    at java.base/java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:719)
    at java.base/java.util.LinkedHashMap$LinkedEntryIterator.next(LinkedHashMap.java:751)
    at java.base/java.util.LinkedHashMap$LinkedEntryIterator.next(LinkedHashMap.java:749)
    at org.jboss.dmr@1.5.1.Final-redhat-00001//org.jboss.dmr.ObjectModelValue.asPropertyList(ObjectModelValue.java:161)
    at org.jboss.dmr@1.5.1.Final-redhat-00001//org.jboss.dmr.ModelNode.asPropertyList(ModelNode.java:529)
    at org.keycloak.keycloak-wildfly-subsystem@18.0.11.redhat-00001//org.keycloak.subsystem.adapter.extension.KeycloakAdapterConfigService.setJSONValues(KeycloakAdapterConfigService.java:267)
    at org.keycloak.keycloak-wildfly-subsystem@18.0.11.redhat-00001//org.keycloak.subsystem.adapter.extension.KeycloakAdapterConfigService.getJSON(KeycloakAdapterConfigService.java:261)

Environment

  • Red Hat Process Automation Manager (RHPAM)
    • 7.13
  • Red Hat Single Sign-On
    • 7.5.0

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