What steps will reproduce the defect?
1. Launch JBoss 7.1.1 Final (via Juno or command line and running on JDK 1.6.24)
2. Open JVM Monitor perspective in Juno running on same JDK as JBoss
3. Shows the PID in the JVM explorer but unable to get JVM profile information
What is the expected behavior?
Was supposed to be able to see profiling information for CPU/Memory/Threads
What was the actual behavior?
Message says Monitoring is not supported for the selected JVM (with no other
error information as suggested in FAQ)
What errors are shown on Error Log view or at !ENTRY org.jvmmonitor.tools 4 0
2012-10-09 16:52:55.271
!MESSAGE Could not get monitored JVM.
!STACK 1
org.jvmmonitor.core.JvmCoreException:
at org.jvmmonitor.internal.tools.Tools.invokeGetMonitoredVm(Tools.java:188)
at org.jvmmonitor.internal.tools.JvmAttachHandler.addActiveJvm(JvmAttachHandler.java:158)
at org.jvmmonitor.internal.tools.JvmAttachHandler.updatesActiveJvms(JvmAttachHandler.java:114)
at org.jvmmonitor.internal.tools.JvmAttachHandler$1.run(JvmAttachHandler.java:81)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jvmmonitor.internal.tools.Tools.invokeGetMonitoredVm(Tools.java:186)
... 5 more
Caused by: java.lang.Exception: Could not open PerfMemory
at sun.misc.Perf.attach(Native Method)
at sun.misc.Perf.attachImpl(Perf.java:253)
at sun.misc.Perf.attach(Perf.java:183)
at sun.jvmstat.perfdata.monitor.protocol.local.PerfDataBuffer.<init>(PerfDataBuffer.java:46)
at sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.<init>(LocalMonitoredVm.java:51)
at sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.getMonitoredVm(MonitoredHostProvider.java:60)
at sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.getMonitoredVm(MonitoredHostProvider.java:50)
... 10 more
!SUBENTRY 1 org.jvmmonitor.core 4 0 2012-10-09 16:52:55.271
!MESSAGE
!STACK 0
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jvmmonitor.internal.tools.Tools.invokeGetMonitoredVm(Tools.java:186)
at org.jvmmonitor.internal.tools.JvmAttachHandler.addActiveJvm(JvmAttachHandler.java:158)
at org.jvmmonitor.internal.tools.JvmAttachHandler.updatesActiveJvms(JvmAttachHandler.java:114)
at org.jvmmonitor.internal.tools.JvmAttachHandler$1.run(JvmAttachHandler.java:81)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: java.lang.Exception: Could not open PerfMemory
at sun.misc.Perf.attach(Native Method)
at sun.misc.Perf.attachImpl(Perf.java:253)
at sun.misc.Perf.attach(Perf.java:183)
at sun.jvmstat.perfdata.monitor.protocol.local.PerfDataBuffer.<init>(PerfDataBuffer.java:46)
at sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.<init>(LocalMonitoredVm.java:51)
at sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.getMonitoredVm(MonitoredHostProvider.java:60)
at sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.getMonitoredVm(MonitoredHostProvider.java:50)
... 10 more
Root exception:
What is your environment for Eclipse?
e.g.
OS: Windows XP 32 Bit
Eclipse: Juno
JVM Monitor: 3.6.0
Java: Sun JDK 6 Update 21
What is your environment for the monitored JVM?
Local
Original issue reported on code.google.com by pavan....@gmail.com on 9 Oct 2012 at 11:21
Original issue reported on code.google.com by
pavan....@gmail.com
on 9 Oct 2012 at 11:21