我无法将JVisualVM与jboss EAP 6.1集成。以下是我完成的步骤: 编辑了启动文件并添加了下面的参数 - JAVA_OPTS =" $ JAVA_OPTS -Dcom.sun.management.jmxremote = true -Dcom.sun.management.jmxremote.port = 3614 -Dcom.sun.management.jmxremote.authenticate = false -Dcom.sun.management.jmxremote .ssl =假"
getAccountId(accessToken)
答案 0 :(得分:0)
要将JVisualVM连接到JBoss,您需要将jboss-cli-client.jar
添加到类路径中:
$JAVA_HOME/bin/jvisualvm -cp:a $JBOSS_HOME/bin/client/jboss-cli-client.jar
如果您的EAP版本中没有此jar,那么您必须将$JBOSS_HOME/modules
下的以下模块添加到类路径中:
org/jboss/remoting3/remoting-jmx org/jboss/remoting3 org/jboss/logging org/jboss/xnio org/jboss/xnio/nio org/jboss/sasl org/jboss/marshalling org/jboss/marshalling/river org/jboss/as/cli org/jboss/staxmapper org/jboss/as/protocol org/jboss/dmr org/jboss/as/controller-client org/jboss/threads org/jboss/as/controller