• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

how to setup jconsole to monitor tomcat remotely

Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1) platforms: linux and tomcat-5.5. 20
2) I set the following option in $CATALINA_HOME/bin/catalina.sh:

CATALINA_OPTS="-Dcom.sun.management.jmxremote \
-Dcom.sun.management.jmxremote.port=9004 \
-Dcom.sun.management.jmxremote.ssl=false \

3) I've also checked if port 9004 is listening using "netstat -l -t -n -p".

I can monitor tomcat locally using jconsole without any issues. BUT, when I tried to do that remotely from a different machine via "jconsole myhost:9004", it failed to connect.

I also tried to telnet to myhost:9004, and that didn't work either. My firewall is not running. So, is there something that I'm missing???
This tiny ad is wafer thin:
a bit of art, as a gift, that will fit in a stocking
    Bookmark Topic Watch Topic
  • New Topic