Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tomcat 6.0.16 JConsole problem

 
ugurard ardugur
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 470
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i solved the problem; it was related incompatible char code-set.

so i added -Duser.language=en and connected jconsole
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic