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)

Setup DHCP Server on Linux

How to set Java Path if you want to put your java any directory in linux Computer