Set Jconsole on your tomcat setenv or startup file for monitor java

--------------------------------------------------------------------------
Hello This is Arvind                           
--------------------------------------------------------------------------



Here below Setting for access your Jconsole Remotaly



--------------------------------------------------------------------------
Go to your /apache-tomcat-8.5.9/bin/
now add below line in catalina.sh or setenv.sh file using below command
--------------------------------------------------------------------------

#nano setenv.sh or catalina.sh

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

Popular posts from this blog

How to install and configure ApacheTomcat and Integrate with apache2 on Linux (Ubuntu 14.04)

How To Set Up Multiple Website on Ubuntu 14.04 LTS with Apache2

How to secondary mx or secondary mailserver holds mailqueue if primary server is down.