- 
        1. Re: Unable to use jmxremote for JVM monitoring using Jconsoleanandabasak Jun 14, 2011 6:05 PM (in response to anandabasak)Now I got it running!!! 
 
 No deployment failure, Jconsole is showing all tabs, no authentication for jmxremote connection.
 
 Following are the parameters present now:
 JAVA_OPTS="$JAVA_OPTS -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl"
 JAVA_OPTS="$JAVA_OPTS -Djboss.platform.mbeanserver"
 #JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote" --------- This is only required for localhost jconsole connection
 JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.port=18189"
 JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.authenticate=false"
 JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.ssl=false"As the above authentication parameter is set to false, so no userid is required. 
 Just open jconsole remotely and in the 'Remote' section type <host>:<port>. Press connect.You may go for authenticated access. In that case change the parameter value 
 -Dcom.sun.management.jmxremote.authenticate=true. And you need to get these following files ready inside your java home to support the authentication:
 /usr/java/jdk1.6.0_06/jre/lib/management/jmxremote.password
 /usr/java/jdk1.6.0_06/jre/lib/management/jmxremote.accessEnjoy!!! 
 Ananda
