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)

Solutions on the web31933

  • via nologin.es by Unknown author, 11 months ago
    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
  • via Stack Overflow by user3127060
    , 1 year ago
    com.amazonaws.metrics.MetricAdmin is not a JMX compliant Standard MBean) nor the MXBean conventions (javax.management.NotCompliantMBeanException: com.amazonaws.metrics.MetricAdmin: Class com.amazonaws.metrics.MetricAdmin is not a JMX compliant MXBean)
  • via Oracle Community by 751266, 1 year ago
    Unable to find our appllication in the MBean server
  • Stack trace

    • 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(JmxExplorer.java:149) at JmxExplorer.main(JmxExplorer.java:423)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.