Revision: 40051
Updated Code
at March 22, 2011 15:00 by arunpjohny
Updated Code
-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=5555 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=true -Dcom.sun.management.jmxremote.access.file=d:/jmx/jmx.access -Dcom.sun.management.jmxremote.password.file=d:/jmx/jmx.password //jmx.access user readonly admin readwrite //jmx.password user user admin password //In windows to resolve the exception related to file protection //In command prompt go to the folders where the jmx password and access files are kept then cacls jmx.password /P <username>:R cacls jmx.access /P <username>:R
Revision: 40050
Updated Code
at February 2, 2011 00:31 by arunpjohny
Updated Code
-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=5555 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=true -Dcom.sun.management.jmxremote.access.file=d:/jmx/jmx.access -Dcom.sun.management.jmxremote.password.file=d:/jmx/jmx.password //jmx.access user readonly admin readwrite //jmx.password user user admin password
Revision: 40049
Updated Code
at February 2, 2011 00:29 by arunpjohny
Updated Code
-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=5555 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=true -Dcom.sun.management.jmxremote.access.file=d:/Tomcat/jmx/jmx.access -Dcom.sun.management.jmxremote.password.file=d:/Tomcat/jmx/jmx.password //jmx.access user readonly admin readwrite //jmx.password user user admin password
Revision: 40048
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at January 25, 2011 14:51 by arunpjohny
Initial Code
-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=5555 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=true -Dcom.sun.management.jmxremote.access.file=d:/Tomcat/jmx/jmx.access -Dcom.sun.management.jmxremote.password.file=d:/Tomcat/jmx/jmx.password
Initial URL
https://wiki.internet2.edu/confluence/display/CPD/Monitoring+Tomcat+with+JMX
Initial Description
This will enable jmx in port 5555 with authentication enabled. In windows systems you may get an exception related to file access permissions. To solve this exceptions use the command `cacls jmx.password /P <username>:R` and `cacls jmx.access /P <username>:R`. Ref: http://www.wowzamedia.com/forums/showthread.php?145-Receive-quot-Password-file-read-access-must-be-restricted-quot-error-on-Windows-(solution)
Initial Title
How to enable JMX with authentication
Initial Tags
Initial Language
Java