This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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
 
Have you checked out Aspose?
 
subject: Connecting VisualVm with remote host
 
It's not a secret anymore!