Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connecting VisualVm with remote host

 
Arka Sharma
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic