aspose file tools
The moose likes Performance and the fly likes Connecting VisualVm with remote host Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "Connecting VisualVm with remote host" Watch "Connecting VisualVm with remote host" New topic
Author

Connecting VisualVm with remote host

Arka Sharma
Ranch Hand

Joined: Jun 15, 2011
Posts: 103

Hi,

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
va:323)
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.

Regards,
Arka
Arka Sharma
Ranch Hand

Joined: Jun 15, 2011
Posts: 103

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

Regards,
Arka
 
jQuery in Action, 2nd edition
 
subject: Connecting VisualVm with remote host