0 Replies Latest reply on Oct 11, 2019 3:07 AM by yaali1

    jboss.as mbean not found after add remote JVM arguments to jboss

    yaali1

      I am new to JMX. I have configured the jboss AS 7.0 for remote access by passing the arguments to JVM. I am able to access it. But the problem is, when I added the JVM arguments I am unable to see some of the mbeans like jboss.as, jboss.as.expr, jboss.isr77... But without those args, I am able to find them while accessing through local connections The args I added are

       

      export JAVA_OPTS="$JAVA_OPTS -Djboss.modules.system.pkgs=org.jboss.logmanager"

      export JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9010 -Dcom.sun.management.jmxremote.rmi.port=9010 -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=192.168.0.145"

      export JAVA_OPTS="$JAVA_OPTS -Xbootclasspath/p:/home/oracle/jboss/modules/system/layers/base/org/jboss/logmanager/main/jboss-logmanager-2.0.3.Final-redhat-1.jar"

      export JAVA_OPTS="$JAVA_OPTS -Djava.util.logging.manager=org.jboss.logmanager.LogManager"

      export JAVA_OPTS="$JAVA_OPTS -Djboss.platform.mbeanserver"

      export JAVA_OPTS="$JAVA_OPTS -Xbootclasspath/p:/home/oracle/jboss/jboss-as-system-jmx-6.1.0.Final.jar"

      export JAVA_OPTS="$JAVA_OPTS -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl"

       

      Add this remoting-connector use-management-endpoint="false" and remoting-connector use-management-endpoint="true" in standalone.xml didn't solve my problem.