java.lang.IllegalArgumentException: ERROR: No command specified USAGE: java JmxExplorer options command options: -U|--url: JMX url to connect to (default: service:jmx:rmi:///jndi/rmi://:9010/jmxrmi) -u|--username: username for the JMX connection (deafult: null) Use "-" to request the password interactively -p|--password: password for the JMX connection (deafult: null) command: local: list the local JMVs in the machine (pid, JMX url and command line) "tools.jar" is needed, please add ${JAVA_HOME}/lib/tools.jar to the classpath domains: list the JMX domains that exist in the server mbeans [<pattern>]: list the mbeans in the server (if pattern is specified only the ones that matches it) info <mbean>: list the attribute names of the mbean specified attrs <mbean> [<attr>...]: list the attribute values of the mbean specified (if no attrs are specified all attributes are returned)

nologin.es | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Java - Ricky's Hodgepodge

    nologin.es | 7 months ago
    java.lang.IllegalArgumentException: ERROR: No command specified USAGE: java JmxExplorer options command options: -U|--url: JMX url to connect to (default: service:jmx:rmi:///jndi/rmi://:9010/jmxrmi) -u|--username: username for the JMX connection (deafult: null) Use "-" to request the password interactively -p|--password: password for the JMX connection (deafult: null) command: local: list the local JMVs in the machine (pid, JMX url and command line) "tools.jar" is needed, please add ${JAVA_HOME}/lib/tools.jar to the classpath domains: list the JMX domains that exist in the server mbeans [<pattern>]: list the mbeans in the server (if pattern is specified only the ones that matches it) info <mbean>: list the attribute names of the mbean specified attrs <mbean> [<attr>...]: list the attribute values of the mbean specified (if no attrs are specified all attributes are returned)

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      ERROR: No command specified USAGE: java JmxExplorer options command options: -U|--url: JMX url to connect to (default: service:jmx:rmi:///jndi/rmi://:9010/jmxrmi) -u|--username: username for the JMX connection (deafult: null) Use "-" to request the password interactively -p|--password: password for the JMX connection (deafult: null) command: local: list the local JMVs in the machine (pid, JMX url and command line) "tools.jar" is needed, please add ${JAVA_HOME}/lib/tools.jar to the classpath domains: list the JMX domains that exist in the server mbeans [<pattern>]: list the mbeans in the server (if pattern is specified only the ones that matches it) info <mbean>: list the attribute names of the mbean specified attrs <mbean> [<attr>...]: list the attribute values of the mbean specified (if no attrs are specified all attributes are returned)

      at JmxExplorer.usage()
    2. Unknown
      JmxExplorer.main
      1. JmxExplorer.usage(JmxExplorer.java:149)
      2. JmxExplorer.main(JmxExplorer.java:423)
      2 frames