*
The moose likes Performance and the fly likes configuring jconsole support behind firewall 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 » Java » Performance
Bookmark "configuring jconsole support behind firewall" Watch "configuring jconsole support behind firewall" New topic
Author

configuring jconsole support behind firewall

Andy Werden
Greenhorn

Joined: Nov 21, 2011
Posts: 3
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: configuring jconsole support behind firewall
 
Similar Threads
Configuring http://localhost in Tomcat/Eclipse
does java 7 support -XX:+HeapDumpOnCtrlBreak
Facing problem while accessing tomcat on a dedicated hosting Linux server
Cannot Connect to Tomcat Externally
Waiting for Tomcat to shut down