Great day to you all.
I want to use jstatd to monitor JVM, GC, Heap and some important metrics of some applications running in remote machines.
When I tried executing the command jstatd.exe
from bin folder of the java path via commandline, I am getting the below error:
C:\Program Files (x86)\Java\jdk1.6.0_38\bin>jstatd.exe
Could not create remote object
access denied (java.util.PropertyPermission java.rmi.server.ignoreSubClasses write)
java.security.AccessControlException: access denied (java.util.PropertyPermission java.rmi.server.ignoreSubClasses write)
at java.security.AccessControlContext.checkPermission(AccessControlConte
xt.java:374)
at java.security.AccessController.checkPermission(AccessController.java:
549)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.System.setProperty(System.java:725)
at sun.tools.jstatd.Jstatd.main(Jstatd.java:122).
When we checked for this error in internet, we came to know that, we have to add some security file which is mentioned in the link cannot start jstatd due to permission error. But, still we are getting same error.
Could anyone able to help us on this.
Thanks in advance.