Visual GC in Java VisualVM via jstadt for remote Tomcat -
i'm trying memory layout of remote tomcat visualized visual gc in java visualvm. on linux server hosts tomcat jstatd running (including tools.policy , proper [-j]-djava.rmi.server.hostname=[server_ip], found in jvm options of tomcat well).
connection visualvm server/jstatd works properly:
but can see in visual gc tab of jstatd connection memory details of jstatd jvm itself, not data of tomcat.
edit: , in visual gc tab of tomcat connection (prod apl01 jmx) i'm being told: "not supported jvm" testing system run inhouse proper data here.
the remote tomcat runs it's own user "tomcat". must jstatd started user well? or there issue might missing?
any working alternative visual tool provides visualization similar 1 below absolutely acceptable. we're using yourkit well, couldn't find in there resembles visual gc easy understand style.
having done more research , tests on our locale development environment realized haven't had right permissions on production environment. asked admin add jstatd sudoers list , voilĂ works expected:
sudo /usr/java/latest/bin/jstatd -j-djava.security.policy=/home/empulse/tools.policy -j-djava.rmi.server.hostname=[server_ip]
Comments
Post a Comment