Forums Register Login
Connecting VisualVm with remote host


I need to monitor memory usage of a process running on a remote host with visualvm.I'm following steps as mentioned in http://visualvm.java.net/applications_remote.html.But when starting jstatd i'm having following error

Could not create remote object
access denied (java.util.PropertyPermission java.rmi.server.ignoreSubClasses write)
java.security.AccessControlException: access denied (java.util.PropertyPermission jav
a.rmi.server.ignoreSubClasses write)
at java.security.AccessControlContext.checkPermission(AccessControlContext.ja
at java.security.AccessController.checkPermission(AccessController.java:546)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.System.setProperty(System.java:727)
at sun.tools.jstatd.Jstatd.main(Jstatd.java:122)

Please help.


Along with that please tell me the diffrence between monitoring and profiling.And plese tell me what is heap dump and thread dump.

No matter how many women are assigned to the project, a pregnancy takes nine months. Much longer than this tiny ad:
Why should you try IntelliJ IDEA ?

This thread has been viewed 2233 times.

All times above are in ranch (not your local) time.
The current ranch time is
Aug 16, 2018 14:32:13.