user271858 user271858 - 1 year ago 178
Java Question

Connect visualvm to websphere 7

I am trying to get visualvm and websphere 7 to work together on my local windows desktop. I try to connect through JMX but no luck. Has anybody managed to get visialvm and websphere 7 to work and ow did you do it?


Answer Source

I got it to work with the help of the VisualVM team in Praha (Thanks Tomas!):

1) On the admin console (Click on Servers -> Server types -> WebSphere application servers -> server1 -> Java and Process Management -> Process definition -> Java Virtual Machine), add the following line into the field of
Generic JVM Argument (note that the first system property is equal to
nothing and no equal sign for the second system property):

2) Add or uncomment the following three lines in file /opt/IBM/ WebSphere/AppServer/java/jre/lib/management/ (or / lib/management/

3) Connect VisualVM!

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download