"java.lang.IllegalStateException: The LogManager was not properly installed" when deploying JBoss EAP 6.4 Openshift container
Issue
- When deploying our application, we see this error in the logs
java.lang.IllegalStateException: The LogManager was not properly installed (you must set the "java.util.logging.manager" system property to "org.jboss.logmanager.LogManager")
- Using a security manager, we see the following error
java.lang.IllegalStateException: The LogManager was not properly installed (you must set the "java.util.logging.manager" system property to "org.jboss.logmanager.LogManager")
at org.jboss.logmanager.Logger.getLogger(Logger.java:58)
at org.jboss.as.server.Main.main(Main.java:84)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jboss.modules.Module.run(Module.java:317)
at org.jboss.modules.Main.main(Main.java:473)
Environment
Red Hat Openshift Container Platform
- 3.5, 3.6
Red Hat JBoss Enterprise Application Platform (EAP) for Openshift
- 6.4, image tags 1.4-x and 1.5-x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
