I am trying to profile my web application on my local windows 7 PC visualVM.
I created a jstatd.all.policy file with below code under java's bin directory on my CENTOS 6.8 x86_64 server
grant codebase "file:${java.home}/../lib/tools.jar" {
permission java.security.AllPermission;
};
and tried starting jstatd` with below command
jstatd -J-Djava.security.policy=jstatd.all.policy -p 1099
but when I try profiling on my local PC, I didn't see any process under jvisualvm remote host but just node
i also tried for a test purpose by starting jstatd with same approach on my window server R2 2008 PC and tried to profile with Windows 7 visualVM but still no result just a node with no process but i tried on same windows server pc by adding the remote host for same pc than it shows running processes.
Any suggestions.
Start jstatd by this command: