I am working on CentOS 6.3 64 bit machine.
I have set the following in catalina.sh
export CATALINA_OPTS=”-Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=7010 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false”
When I restart tomcat after this addition, tomcat does not start. I have disabled the firewall.
Can anyone help me with this issue?
Thanks
I have found the solution for this issue. Basically whenever i added CATALINA_OPTS, it could not find the hostname. Hence i added the host name in
/etc/init.d/hostsfile:127.0.0.1 localhost your_hostname
This resolved the issue. I am ale to run
jconsoleas well asjvisualvmon this port now.