In the past, two ports should have been different. Try this one to get started.
If this does not work:
Tomcat offers an additional component for installing the second port mentioned: the JMX Remote Lifecycle Listener .
Please take a look at:
http://tomcat.apache.org/tomcat-7.0-doc/extras.html
http://tomcat.apache.org/download-70.cgi
I use this parameter with the katalin-jmx-remote.jar in my tomcat / lib directory to go through:
-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=localhost -DrmiRegistryPortPlatform=10381 -DrmiServerPortPlatform=10380
Plus these, but you don't need them in a dev environment.
-Dcom.sun.management.jmxremote.password.file=/home/tomcat/jmxremote.password -Dcom.sun.management.jmxremote.access.file=/home/tomcat/jmxremote.access -Dcom.sun.management.jmxremote.authenticate=true
source share