I am running a tomcat on a remote Linux server. I want to connect it with VisualVM from my laptop with following steps:
- start jstatd with
jstatd -J-Djava.security.policy=/path/to/jstatd.all.policy
, refer to cannot start jstatd due to permission error - start jvisualvm on my laptop
- add remote host with IP, but no applications appears under the IP node. I can
telnet IP 1099
from my laptop.
How to debug the issue?