简体   繁体   中英

Problem with VisualVM-when connecting to remote host

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,

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM