sun.jvmstat.monitor.MonitorException: Could not synchronize with target

Java.net JIRA | jsedlacek | 9 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    The GlassFish server instance is running on remote system and shown under a remote host in VisualVM. In most cases it's correctly recognized as GlassFish application but sometimes only <Unknown Application> is displayed. Happens rarely, no related entries in logfile at all.

    Java.net JIRA | 9 years ago | jsedlacek
    sun.jvmstat.monitor.MonitorException: Could not synchronize with target at sun.jvmstat.perfdata.monitor.v2_0.PerfDataBuffer.synchWithTarget(PerfDataBuffer.java:262) at sun.jvmstat.perfdata.monitor.v2_0.PerfDataBuffer.buildMonitorMap(PerfDataBuffer.java:116) at sun.jvmstat.perfdata.monitor.PerfDataBufferImpl.findByName(PerfDataBufferImpl.java:224) at sun.jvmstat.perfdata.monitor.AbstractPerfDataBuffer.findByName(AbstractPerfDataBuffer.java:83) at sun.jvmstat.perfdata.monitor.AbstractMonitoredVm.findByName(AbstractMonitoredVm.java:68) [catch] at com.sun.tools.visualvm.jvmstat.JvmstatModelProvider.createModelFor(JvmstatModelProvider.java:72) at com.sun.tools.visualvm.jvmstat.JvmstatModelProvider.createModelFor(JvmstatModelProvider.java:44) at com.sun.tools.visualvm.core.model.ModelFactory.getModel(ModelFactory.java:96) at com.sun.tools.visualvm.tools.jvmstat.JvmstatModelFactory.getJvmstatFor(JvmstatModelFactory.java:50) at com.sun.tools.visualvm.jvm.JRockitJvmProvider.createModelFor(JRockitJvmProvider.java:46) at com.sun.tools.visualvm.jvm.JRockitJvmProvider.createModelFor(JRockitJvmProvider.java:42) at com.sun.tools.visualvm.core.model.ModelFactory.getModel(ModelFactory.java:96) at com.sun.tools.visualvm.application.jvm.JvmFactory.getJVMFor(JvmFactory.java:65) at com.sun.tools.visualvm.jvmstat.application.JvmstatApplicationProvider.processNewApplicationsByPids(JvmstatApplicationProvider.java:174) at com.sun.tools.visualvm.jvmstat.application.JvmstatApplicationProvider.access$200(JvmstatApplicationProvider.java:68) at com.sun.tools.visualvm.jvmstat.application.JvmstatApplicationProvider$2.vmStatusChanged(JvmstatApplicationProvider.java:139) at sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.fireVmStatusChangedEvents(MonitoredHostProvider.java:160) at sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.access$300(MonitoredHostProvider.java:24) at sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider$NotifierTask.run(MonitoredHostProvider.java:201)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. sun.jvmstat.monitor.MonitorException

      Could not synchronize with target

      at sun.jvmstat.perfdata.monitor.v2_0.PerfDataBuffer.synchWithTarget()
    2. Java Tools
      AbstractMonitoredVm.findByName
      1. sun.jvmstat.perfdata.monitor.v2_0.PerfDataBuffer.synchWithTarget(PerfDataBuffer.java:262)
      2. sun.jvmstat.perfdata.monitor.v2_0.PerfDataBuffer.buildMonitorMap(PerfDataBuffer.java:116)
      3. sun.jvmstat.perfdata.monitor.PerfDataBufferImpl.findByName(PerfDataBufferImpl.java:224)
      4. sun.jvmstat.perfdata.monitor.AbstractPerfDataBuffer.findByName(AbstractPerfDataBuffer.java:83)
      5. sun.jvmstat.perfdata.monitor.AbstractMonitoredVm.findByName(AbstractMonitoredVm.java:68)[catch]
      5 frames
    3. com.sun.tools
      JvmstatApplicationProvider$2.vmStatusChanged
      1. com.sun.tools.visualvm.jvmstat.JvmstatModelProvider.createModelFor(JvmstatModelProvider.java:72)
      2. com.sun.tools.visualvm.jvmstat.JvmstatModelProvider.createModelFor(JvmstatModelProvider.java:44)
      3. com.sun.tools.visualvm.core.model.ModelFactory.getModel(ModelFactory.java:96)
      4. com.sun.tools.visualvm.tools.jvmstat.JvmstatModelFactory.getJvmstatFor(JvmstatModelFactory.java:50)
      5. com.sun.tools.visualvm.jvm.JRockitJvmProvider.createModelFor(JRockitJvmProvider.java:46)
      6. com.sun.tools.visualvm.jvm.JRockitJvmProvider.createModelFor(JRockitJvmProvider.java:42)
      7. com.sun.tools.visualvm.core.model.ModelFactory.getModel(ModelFactory.java:96)
      8. com.sun.tools.visualvm.application.jvm.JvmFactory.getJVMFor(JvmFactory.java:65)
      9. com.sun.tools.visualvm.jvmstat.application.JvmstatApplicationProvider.processNewApplicationsByPids(JvmstatApplicationProvider.java:174)
      10. com.sun.tools.visualvm.jvmstat.application.JvmstatApplicationProvider.access$200(JvmstatApplicationProvider.java:68)
      11. com.sun.tools.visualvm.jvmstat.application.JvmstatApplicationProvider$2.vmStatusChanged(JvmstatApplicationProvider.java:139)
      11 frames
    4. Java Tools
      MonitoredHostProvider$NotifierTask.run
      1. sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.fireVmStatusChangedEvents(MonitoredHostProvider.java:160)
      2. sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.access$300(MonitoredHostProvider.java:24)
      3. sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider$NotifierTask.run(MonitoredHostProvider.java:201)
      3 frames
    5. Java RT
      TimerThread.run
      1. java.util.TimerThread.mainLoop(Timer.java:512)
      2. java.util.TimerThread.run(Timer.java:462)
      2 frames