Hello,
We are using jBoss AS 7.1. I have tried to enable JMX by adding the parameters below to standalone.conf which is sourced by standalone.sh. When I start jBoss I receive the error message shown below.
Searching the net reveals that this way of enabling JMX worked with older versions of jBoss (e.g. 4.x and 5.x). However, it seems to not work with version 7.x.
Anyone able to tell me how to enable JMX on jBoss 7.x?
Thanks,
Trevor
Enabling JMX on older versions of jBoss required setting these parameters:
-Dcom.sun.management.jmxremote.port=10052 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=true -Dcom.sun.management.jmxremote.local.only=false
Doing so on jBoss 7.x results in this message upon startup:
WARNING: Failed to load the specified log manager class org.jboss.logmanager.LogManager
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.jboss.as.server.Main.main(Main.java:73)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.modules.Module.run(Module.java:260)
at org.jboss.modules.Main.main(Main.java:291)
Caused by: 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: 60)
at org.jboss.logmanager.log4j.BridgeRepositorySelecto r.<clinit>(BridgeRepositorySelector.java:42)
... 7 more
We are using jBoss AS 7.1. I have tried to enable JMX by adding the parameters below to standalone.conf which is sourced by standalone.sh. When I start jBoss I receive the error message shown below.
Searching the net reveals that this way of enabling JMX worked with older versions of jBoss (e.g. 4.x and 5.x). However, it seems to not work with version 7.x.
Anyone able to tell me how to enable JMX on jBoss 7.x?
Thanks,
Trevor
Enabling JMX on older versions of jBoss required setting these parameters:
-Dcom.sun.management.jmxremote.port=10052 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=true -Dcom.sun.management.jmxremote.local.only=false
Doing so on jBoss 7.x results in this message upon startup:
WARNING: Failed to load the specified log manager class org.jboss.logmanager.LogManager
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.jboss.as.server.Main.main(Main.java:73)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.modules.Module.run(Module.java:260)
at org.jboss.modules.Main.main(Main.java:291)
Caused by: 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: 60)
at org.jboss.logmanager.log4j.BridgeRepositorySelecto r.<clinit>(BridgeRepositorySelector.java:42)
... 7 more
Comment