Thank you @thurka, you're absolutely right! I was confused because Profiler tab was missing and Sampler tab contains exactly the same buttons.
Right, Profiler tab is only available for local java applications.
@thurka My remote application is dockerized running within a kubernetes cluster. Dont have the luxury of running visual vm there
Hmm, in such case I am not sure what you can do, but if you want to do some more experiments, you can try:
I am trying, unsuccessfully, to connect VisualVM to a vagrant image with a tomcat java app. Can someone provide some assistance? The vagrant image is using NAT. I have changed the java parameters in the tomcat java app to include the remote jmx configurations. I have disabled the vagrant image firewall. I have setup the port forwarding of the vagrant image using virtualbox. VisualVM will not connect. I can connect a web browser to our application so I know that the port forwarding is working. Here are the jmx settings:
I’m start the jstatd prozess as “root” on a unix host and add this host to remote in my visualvm
I only see metaspaces, classes and threads and cpu moniotor is not supported
In the register card “monitor and all buttons "perform gc" and "heap dump" are disabled.
Is that correct?
Under the register card "sampler" all buttons (cpu, memory, stop)
are disabled. Is it not possible to get heap dumps from remote java application?
much thanks for your answer
many thanks for your answer.
ok i undertand. to get the heap space dump from remote applications
is only possible with the jmx connecton parameter in my java app
on the server. :( :(
that is harmful and why is the register card even "sampler"
activated this was confusing me. grrrrrr
Sign in to start chatting.