wood burning stoves 2.0*
The moose likes Tomcat and the fly likes tomcat 6.0.16 JConsole problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "tomcat 6.0.16 JConsole problem" Watch "tomcat 6.0.16 JConsole problem" New topic
Author

tomcat 6.0.16 JConsole problem

ugurard ardugur
Greenhorn

Joined: Mar 15, 2010
Posts: 2
Hi all,


I'm running tomcat 6.0.16 on windows 2003 with jdk1.6. In catalina bat, i added following lines;

-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.port=8001

When i check with netstat after tomcat is started, the port 8001 is being listened. i can also connect with telnet from another pc to this server so no firewall. But when i run jconsole (which is in the same JAVA_HOME) and try to connect tomcat process, it says connection refused... what else should i do?

Please help...
Misha Ver
Ranch Hand

Joined: Mar 03, 2008
Posts: 470
ugurard ardugur wrote: When i check with netstat after tomcat is started, the port 8001 is being listened


Have you checked the port 8001 before adding JConsole?
ugurard ardugur
Greenhorn

Joined: Mar 15, 2010
Posts: 2
i solved the problem; it was related incompatible char code-set.

so i added -Duser.language=en and connected jconsole
 
Consider Paul's rocket mass heater.
 
subject: tomcat 6.0.16 JConsole problem
 
Similar Threads
connection pooling
how to setup jconsole to monitor tomcat remotely
Classpath error
JMX Requirements (JDK 5.0)
Deploying a WAR file on MAC OS X Leopard