【发布时间】:2013-06-14 10:00:55
【问题描述】:
我正在尝试在 jboss 6.1 中启用 jmx 远程。当我添加如下选项时
-Djboss.platform.mbeanserver
-Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl
-Dcom.sun.management.jmxremote.port=12349
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
,jboss 无法正常启动,出现以下错误:
" Deployment "JBossLogService" is in error due to the following reason(s): java.lang.IllegalStateException: The LogManager was not properly installed (you must set the "java.util.logging.manager" system property to "org.jboss.logmanager.LogManager"), **ERROR**"
你有什么解决办法吗?
【问题讨论】:
-
添加后问题消失:export JBOSS_CLASSPATH="${JBOSS_CLASSPATH}:/jboss-dir/lib/jboss-logmanager.jar"