Andy Werden

Greenhorn
+ Follow
since Nov 21, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Andy Werden

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
13 years ago
Still looking for a way to force a heap dump

JVM (tomcat) is running behind a firewall; unable to get Jconsole to connect

Suggestions?
13 years ago
Need to get a heap dump from a running app (tomcat) on JDK 1.702. Kill -3 does trigger some info to catalina.out but does not produce heap dump. Added -XX:+HeapDumpOnCtrlBreak and got


Unrecognized VM option 'HeapDumpOnCtrlBreak'

What's the trick?
13 years ago