Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Problem with VisualVM-when connecting to remote host

Tags:

java

visualvm

I am new to Java Development and using the VisualVm for the first time. I am facing some problem in Connecting a Remote Host from the VisualVm interface.

I have JDK 1.6 running in the remote host and also started jstatd server on the same. When I am connecting the remote host from VisualVm interface running in local machine, its getting connected but the Profiler tab and Threads tab are missing from the interface. What can likely be the problem.

My OS is SUSE Linux.

Thanks,

like image 626
user48918 Avatar asked Dec 24 '08 15:12

user48918


2 Answers

The profiler tab is only available for local JVM's.

I'm not sure why the thread tab isn't displayed. It does for me.

I've read that Netbeans has remote profiling support. But I've never personally used it.

like image 94
Steve K Avatar answered Oct 17 '22 12:10

Steve K


I had the same issue trying to monitor Jboss 4.0.2, since that version has its own mbean server , is this your case ? Anyway, make sure you are using jdk 1.6.0u7 or later, otherwise you have to turn-off class sharing in order for visualvm to work (-Xshare:off)

I hope this helps, maybe you can give more details on the nature of application your trying to profile/JVM you are using

like image 23
Oren Yosifon Avatar answered Oct 17 '22 14:10

Oren Yosifon