Failed to load module "org.jboss.logmanager.ext" for formatter "OPENSHIFT"

Solution Verified - Updated -

Issue

When upgrading JBoss EAP for OpenShift from 7.1 or earlier to 7.2 or later, and if you bring 7.1-based standalone-openshift.xml into 7.2 or later, the container fails to start with the following error:

06:10:28,452 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
    ("subsystem" => "logging"),
    ("custom-formatter" => "OPENSHIFT")
]): java.lang.IllegalArgumentException: Failed to load module "org.jboss.logmanager.ext" for formatter "OPENSHIFT"
    at org.jboss.logmanager.config.AbstractPropertyConfiguration.<init>(AbstractPropertyConfiguration.java:65) [jboss-logmanager-2.1.14.Final-redhat-00001.jar:2.1.14.Final-redhat-00001]
    at org.jboss.logmanager.config.FormatterConfigurationImpl.<init>(FormatterConfigurationImpl.java:30) [jboss-logmanager-2.1.14.Final-redhat-00001.jar:2.1.14.Final-redhat-00001]
    at org.jboss.logmanager.config.LogContextConfigurationImpl.addFormatterConfiguration(LogContextConfigurationImpl.java:172) [jboss-logmanager-2.1.14.Final-redhat-00001.jar:2.1.14.Final-redhat-00001]
    at org.jboss.as.logging.logmanager.ConfigurationPersistence.addFormatterConfiguration(ConfigurationPersistence.java:215)
    at org.jboss.as.logging.formatters.CustomFormatterResourceDefinition$2.performRuntime(CustomFormatterResourceDefinition.java:113)
    at org.jboss.as.logging.LoggingOperations$LoggingAddOperationStepHandler.performRuntime(LoggingOperations.java:186)
    at org.jboss.as.controller.AbstractAddStepHandler.performRuntime(AbstractAddStepHandler.java:338) [wildfly-controller-10.1.2.SP1-redhat-00001.jar:10.1.2.SP1-redhat-00001]
    at org.jboss.as.controller.AbstractAddStepHandler$1.execute(AbstractAddStepHandler.java:159) [wildfly-controller-10.1.2.SP1-redhat-00001.jar:10.1.2.SP1-redhat-00001]
    at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:999) [wildfly-controller-10.1.2.SP1-redhat-00001.jar:10.1.2.SP1-redhat-00001]
    at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:743) [wildfly-controller-10.1.2.SP1-redhat-00001.jar:10.1.2.SP1-redhat-00001]
    at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:467) [wildfly-controller-10.1.2.SP1-redhat-00001.jar:10.1.2.SP1-redhat-00001]
    at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1413) [wildfly-controller-10.1.2.SP1-redhat-00001.jar:10.1.2.SP1-redhat-00001]
    at org.jboss.as.controller.ModelControllerImpl.boot(ModelControllerImpl.java:521) [wildfly-controller-10.1.2.SP1-redhat-00001.jar:10.1.2.SP1-redhat-00001]
    at org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:472) [wildfly-controller-10.1.2.SP1-redhat-00001.jar:10.1.2.SP1-redhat-00001]
    at org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:434) [wildfly-controller-10.1.2.SP1-redhat-00001.jar:10.1.2.SP1-redhat-00001]
    at org.jboss.as.server.ServerService.boot(ServerService.java:435) [wildfly-server-10.1.2.SP1-redhat-00001.jar:10.1.2.SP1-redhat-00001]
    at org.jboss.as.server.ServerService.boot(ServerService.java:394) [wildfly-server-10.1.2.SP1-redhat-00001.jar:10.1.2.SP1-redhat-00001]
    at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:374) [wildfly-controller-10.1.2.SP1-redhat-00001.jar:10.1.2.SP1-redhat-00001]
    at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_242]
Caused by: org.jboss.modules.ModuleNotFoundException: org.jboss.logmanager.ext
    at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:297) [jboss-modules.jar:1.9.1.Final-redhat-00001]
    at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:283) [jboss-modules.jar:1.9.1.Final-redhat-00001]
    at org.jboss.logmanager.config.AbstractPropertyConfiguration$ModuleFinder.getClassLoader(AbstractPropertyConfiguration.java:560) [jboss-logmanager-2.1.14.Final-redhat-00001.jar:2.1.14.Final-redhat-00001]
    at org.jboss.logmanager.config.AbstractPropertyConfiguration.<init>(AbstractPropertyConfiguration.java:63) [jboss-logmanager-2.1.14.Final-redhat-00001.jar:2.1.14.Final-redhat-00001]
    ... 18 more

06:10:28,519 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.

Environment

  • JBoss EAP for OpenShift Container Platform
    • 7.2 or later

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