The Red Hat Single Sign-On (RH SSO) container crashes when using 'ENABLE_JSON_LOGGING=true'

Solution Verified - Updated -

Issue

When attempting to set ENABLE_JSON_LOGGING=true, the RH SSO container images crashes with the following error:

{"@timestamp":"TIMESTAMP","sequence":11,"loggerClassName":"org.jboss.as.server.logging.ServerLogger_$logger","loggerName":"org.jboss.as.server","level":"ERROR","message":"WFLYSRV0055: Caught exception during boot","threadName":"Controller Boot Thread","threadId":29,"mdc":{},"ndc":"","hostName":"HOSTNAME","processName":"jboss-modules.jar","processId":807,"stackTrace":": org.jboss.as.controller.persistence.ConfigurationPersistenceException: WFLYCTL0085: Failed to parse configuration\n\tat org.jboss.as.controller@15.0.15.Final-redhat-00001//org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:143)\n\tat org.jboss.as.server@15.0.15.Final-redhat-00001//org.jboss.as.server.ServerService.boot(ServerService.java:408)\n\tat org.jboss.as.controller@15.0.15.Final-redhat-00001//org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:447)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n","@version":"1","log-handler":"CONSOLE"}
{"@timestamp":"TIMESTAMP","sequence":12,"loggerClassName":"org.jboss.logging.DelegatingBasicLogger","loggerName":"org.jboss.as.server","level":"FATAL","message":"WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.","threadName":"Controller Boot Thread","threadId":29,"mdc":{},"ndc":"","hostName":"HOSTNAME","processName":"jboss-modules.jar","processId":807,"@version":"1","log-handler":"CONSOLE"}
{"@timestamp":"TIMESTAMP","sequence":13,"loggerClassName":"org.jboss.as.server.logging.ServerLogger_$logger","loggerName":"org.jboss.as","level":"INFO","message":"WFLYSRV0050: WildFly Core 15.0.15.Final-redhat-00001 stopped in 6ms","threadName":"MSC service thread 1-1","threadId":18,"mdc":{},"ndc":"","hostName":"HOSTNAME","processName":"jboss-modules.jar","processId":807,"@version":"1","log-handler":"CONSOLE"}

Environment

  • Red Hat Single Sign-On (RH SSO)
    • 7.X
  • Red Hat OpenShift Container Platform (OCP)
    • 4.X

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