KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am new to Java and I'm facing a problem in connecting a Remote Host to the JVisualVM . I've searched the Internet and followed all the steps mentioned there but still am not able to resolve the issue. The steps I followed are: I started the jstatd on the remote server by first creating a jstatd.all.policy file in the $JAVA_HOME/bin . The file contained: grant codebase "file:${java.home}/../lib/tools.jar" { permission java.security.AllPermission;}; I started the Jstatd as jstatd -J-Djava.security.policy=jstatd.all.policy I started the Java application on the remote host as : java -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9000 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false application_name I then started as instance of the JVisualVM on my local machine and as I added the remote host, it got connected but i wasn't able to see any of the Java processes. Can anyone please help me with this. Thanks.
Tags (comma-separated)
Save Edits
Cancel