• 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 ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

configuring jconsole support behind firewall

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Running tomcat from a firewalled server. Need to use jconsole to force a heap dump (–XX:+HeapDumpOnCtrlBreak is not working in JDK 1.7). I have rights to update iptables.

RMI 'listen' port is open and jconsole can connect, but I understand that the app server will then redirect jconsole to a randomly selected second port - which is firewalled by default.

I've seen various posts on how to get java/tomcat to use a specific secondary port which I could then open through iptables, but I can't get it to work.

Any tipe on how to make tomcat 1.6/jdk 1.7 accessible for jconsole behind firewall?

Apache Tomcat/6.0.32 1.7.0-b147 Oracle Corporation Linux 2.6.18-194.0.0.0.3.el5xen amd64
 
Sasparilla and fresh horses for all my men! You will see to it, won't you tiny ad?
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic