Forum Stats

  • 3,874,115 Users
  • 2,266,686 Discussions
  • 7,911,730 Comments

Discussions

unable to connect to other process

sascha4j
sascha4j Member Posts: 62
edited May 10, 2016 2:04PM in Java Mission Control

Java Mission Control is a very important tool for me. i use it very often. unfortunately it  doesn't work any more on my developer machine and i didn't know what changed.  i am not able to connect to any other process any more. i got the message "JRockit is no longer supported" of course the jvm options -XX:+UnlockCommercialFeatures -XX:+FlightRecorder are set.  i tried different versions jdk 1.7.55 and jdk 1.8.60 but all the same.

i use  a windows 7 machine  with 16 GB RAM.

any idea what the problem is?

JMC could  do a flight recording on its own.  but all other processes i got no chance.

jmc.jpg

Answers

  • Hirt-Oracle
    Hirt-Oracle Member Posts: 268
    edited May 3, 2016 5:25AM

    What happens if you try to run jcmd against those processes?

  • Hirt-Oracle
    Hirt-Oracle Member Posts: 268
    edited May 3, 2016 5:29AM

    For example jcmd 5084 VM.version

  • sascha4j
    sascha4j Member Posts: 62
    edited May 3, 2016 5:38AM

    then i got

    Java HotSpot(TM) 64-Bit Server VM version 24.55-b03

    JDK 7.0_55

  • Hirt-Oracle
    Hirt-Oracle Member Posts: 268
    edited May 3, 2016 6:49AM

    And if you do it for the JMC you are running?

  • sascha4j
    sascha4j Member Posts: 62
    edited May 3, 2016 7:05AM

    i tried to do a flightrecording using jcmd JFR.start JFR.dump and JFR.stop

    it worked

    finally i am happy there is one solution.

    but it would still be nice to do it over the jmc ui.

    sascha4j
  • sascha4j
    sascha4j Member Posts: 62
    edited May 3, 2016 8:19AM

    for the jmc i am runinnig it works also.  if you look at the screenshot above. there is no "JRockit" for the JVM running mission control.

  • Hirt-Oracle
    Hirt-Oracle Member Posts: 268
    edited May 3, 2016 10:47AM

    I am trying to figure out why it believes you are running JRockits since you're evidently running HotSpots.

    1. From within JMC, go to Help | About Oracle Java Mission Control. Tell me the full version number (something like Oracle® Java Mission Control 5.5.0 (M5.5.0-108, 165303))
    2. If you are not running the latest JMC, please download the latest JDK 7 or JDK 8.
    3. Follow the instructions here Mission Control Troubleshooting Tip – Logging | Marcus Hirt, to enable logging. Let me know what you get on your log when starting JMC.
  • sascha4j
    sascha4j Member Posts: 62
    edited May 6, 2016 5:03AM

    the version Java Mission Control 5.5.0 (M5.5.0-108, 165303))

    an the log

    Start VM: -XX:+UseG1GC
    -XX:+UnlockCommercialFeatures
    -XX:+FlightRecorder
    -XX:FlightRecorderOptions=defaultrecording=true
    -Djava.net.preferIPv4Stack=true
    -Djava.class.path=D:\java\jdk1.8.0_60\bin\\../lib/missioncontrol/plugins/org.ecl
    ipse.equinox.launcher_1.3.0.v20140415-2008.jar
    -os win32
    -ws win32
    -arch x86_64
    -showsplash
    -launcher D:\java\jdk1.8.0_60\bin\jmc.exe
    -name Jmc
    --launcher.library D:\java\jdk1.8.0_60\bin\\../lib/missioncontrol/plugins/org.ec
    lipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20141007-2033\eclipse_1665.dl
    l
    -startup D:\java\jdk1.8.0_60\bin\\../lib/missioncontrol/plugins/org.eclipse.equi
    nox.launcher_1.3.0.v20140415-2008.jar
    --launcher.appendVmargs
    -consoleLog
    -debug
    -vm D:\java\jdk1.8.0_60\bin\\../jre/bin\server\jvm.dll
    -vmargs
    -XX:+UseG1GC
    -XX:+UnlockCommercialFeatures
    -XX:+FlightRecorder
    -XX:FlightRecorderOptions=defaultrecording=true
    -Djava.net.preferIPv4Stack=true
    -Djava.class.path=D:\java\jdk1.8.0_60\bin\\../lib/missioncontrol/plugins/org.ecl
    ipse.equinox.launcher_1.3.0.v20140415-2008.jar
    Install location:
        file:/d:/java/jdk1.8.0_60/lib/missioncontrol/
    Configuration file:
        file:/d:/java/jdk1.8.0_60/lib/missioncontrol/configuration/config.ini loaded

    Configuration location:
        file:/d:/java/jdk1.8.0_60/lib/missioncontrol/configuration/
    Framework located:
        file:/d:/java/jdk1.8.0_60/lib/missioncontrol/plugins/org.eclipse.osgi_3.10.1
    .v20140909-1633.jar
    Loading extension: reference:file:org.eclipse.osgi.compatibility.state_1.0.1.v20
    140709-1414.jar
            eclipse.properties not found
    Loading extension: reference:file:org.eclipse.osgi.nl_ja_4.4.0.v20140623020002.j
    ar
            eclipse.properties not found
    Loading extension: reference:file:org.eclipse.osgi.nl_zh_4.4.0.v20140623020002.j
    ar
            eclipse.properties not found
    Framework classpath:
        file:/d:/java/jdk1.8.0_60/lib/missioncontrol/plugins/org.eclipse.osgi_3.10.1
    .v20140909-1633.jar
        file:/d:/java/jdk1.8.0_60/lib/missioncontrol/plugins/
        file:/d:/java/jdk1.8.0_60/lib/missioncontrol/plugins/org.eclipse.osgi.compat
    ibility.state_1.0.1.v20140709-1414.jar
        file:/d:/java/jdk1.8.0_60/lib/missioncontrol/plugins/org.eclipse.osgi.nl_ja_
    4.4.0.v20140623020002.jar
        file:/d:/java/jdk1.8.0_60/lib/missioncontrol/plugins/org.eclipse.osgi.nl_zh_
    4.4.0.v20140623020002.jar
    Splash location:
        d:\java\jdk1.8.0_60\lib\missioncontrol\configuration\org.eclipse.equinox.lau
    ncher\com.jrockit.mc.rcp.application_5.5.0.165303\splash.bmp
    Debug options:
        file:/D:/java/jdk1.8.0_60/bin/.options not found
    Time to load bundles: 0
    Starting application: 733
    Mai 06, 2016 11:01:36 AM com.jrockit.mc.rcp.application.ApplicationPlugin initia
    lizeDebug
    INFORMATION: JMC debug mode enabled
    Mai 06, 2016 11:01:36 AM com.jrockit.mc.rcp.logging.LoggingToolkit initializeLog
    ging
    INFORMATION: Debug settings enabled - loaded debug settings for the logger from
    logging_debug.properties.
    Mai 06, 2016 11:01:36 AM com.jrockit.mc.rcp.logging.LoggingToolkit initializeLog
    ging
    FEIN: Logger initialized
    Mai 06, 2016 11:01:36 AM com.jrockit.mc.rcp.application.p2.UpdateSiteURLToolkit
    isOnOracleNetwork
    INFORMATION: Could not find interface on Oracle internal network. Oracle interna
    l update site disabled.
    Mai 06, 2016 11:01:36 AM com.jrockit.mc.rcp.application.p2.UpdateSiteURLToolkit
    isOnOracleNetwork
    INFORMATION: Could not find interface on Oracle internal network. Oracle interna
    l update site disabled.
    Mai 06, 2016 11:01:37 AM com.jrockit.mc.ui.MCAbstractUIPlugin attemptToInitAWT
    INFORMATION: Initiating AWT from com.jrockit.mc.ui activator.
    Mai 06, 2016 11:01:38 AM com.jrockit.mc.rcp.application.ApplicationWorkbenchWind
    owAdvisor logPrefsNode
    FEIN: Prefs node: General org.eclipse.ui.preferencePages.Workbench
    Mai 06, 2016 11:01:38 AM com.jrockit.mc.rcp.application.ApplicationWorkbenchWind
    owAdvisor logPrefsNode
    FEIN: Prefs node: File Associations org.eclipse.ui.preferencePages.FileEditors
    Mai 06, 2016 11:01:38 AM com.jrockit.mc.rcp.application.ApplicationWorkbenchWind
    owAdvisor logPrefsNode
    FEIN: Prefs node: Appearance org.eclipse.ui.preferencePages.Views
    Mai 06, 2016 11:01:38 AM com.jrockit.mc.rcp.application.ApplicationWorkbenchWind
    owAdvisor logPrefsNode
    FEIN: Prefs node: Colors and Fonts org.eclipse.ui.preferencePages.ColorsAndFonts

    Mai 06, 2016 11:01:38 AM com.jrockit.mc.rcp.application.ApplicationWorkbenchWind
    owAdvisor logPrefsNode
    FEIN: Prefs node: Keys org.eclipse.ui.preferencePages.Keys
    Mai 06, 2016 11:01:38 AM com.jrockit.mc.rcp.application.ApplicationWorkbenchWind
    owAdvisor logPrefsNode
    FEIN: Prefs node: Security org.eclipse.equinox.security.ui.category
    Mai 06, 2016 11:01:38 AM com.jrockit.mc.rcp.application.ApplicationWorkbenchWind
    owAdvisor removePrefsPage
    INFORMATION: Removed preference page Security (ID:org.eclipse.equinox.security.u
    i.category)
    Mai 06, 2016 11:01:38 AM com.jrockit.mc.rcp.application.ApplicationWorkbenchWind
    owAdvisor logPrefsNode
    FEIN: Prefs node: Network Connections org.eclipse.ui.net.NetPreferences
    Mai 06, 2016 11:01:38 AM com.jrockit.mc.rcp.application.ApplicationWorkbenchWind
    owAdvisor logPrefsNode
    FEIN: Prefs node: Java Mission Control com.jrockit.mc.ui.preferences.MissionCont
    rolPage
    Mai 06, 2016 11:01:38 AM com.jrockit.mc.rcp.application.ApplicationWorkbenchWind
    owAdvisor logPrefsNode
    FEIN: Prefs node: JVM Browser com.jrockit.mc.browser.preferences.BrowserPreferen
    cePage
    Mai 06, 2016 11:01:38 AM com.jrockit.mc.rcp.application.ApplicationWorkbenchWind
    owAdvisor logPrefsNode
    FEIN: Prefs node: Local com.jrockit.mc.browser.attach.preferences.AttachPreferen
    cePage
    Mai 06, 2016 11:01:38 AM com.jrockit.mc.rcp.application.ApplicationWorkbenchWind
    owAdvisor logPrefsNode
    FEIN: Prefs node: JDP com.jrockit.mc.browser.jdp.preferences.JDPPreferencePage
    Mai 06, 2016 11:01:38 AM com.jrockit.mc.rcp.application.ApplicationWorkbenchWind
    owAdvisor logPrefsNode
    FEIN: Prefs node: JMX Console com.jrockit.mc.console.ui.preferences.GeneralPage
    Mai 06, 2016 11:01:38 AM com.jrockit.mc.rcp.application.ApplicationWorkbenchWind
    owAdvisor logPrefsNode
    FEIN: Prefs node: Historical JMX Data com.jrockit.mc.console.ui.preferences.Pers
    istencePage
    Mai 06, 2016 11:01:38 AM com.jrockit.mc.rcp.application.ApplicationWorkbenchWind
    owAdvisor logPrefsNode
    FEIN: Prefs node: Communication com.jrockit.mc.console.ui.preferences.Communicat
    ionPage
    Mai 06, 2016 11:01:38 AM com.jrockit.mc.rcp.application.ApplicationWorkbenchWind
    owAdvisor logPrefsNode
    FEIN: Prefs node: MBean Browser com.jrockit.mc.console.ui.preferences.MBeanBrows
    erPage
    Mai 06, 2016 11:01:38 AM com.jrockit.mc.rcp.application.ApplicationWorkbenchWind
    owAdvisor logPrefsNode
    FEIN: Prefs node: Diagnostic Commands com.jrockit.mc.console.ui.diagnostic.prefe
    rences.DiagnosticPage
    Mai 06, 2016 11:01:38 AM com.jrockit.mc.rcp.application.ApplicationWorkbenchWind
    owAdvisor logPrefsNode
    FEIN: Prefs node: Flight Recorder com.jrockit.mc.flightrecorder.ui.main.preferen
    ce.page
    Mai 06, 2016 11:01:38 AM com.jrockit.mc.rcp.application.ApplicationWorkbenchWind
    owAdvisor logPrefsNode
    FEIN: Prefs node: JMXRMI com.jrockit.mc.rjmx.ui.preferences.JMXRMIPreferencePage

    Mai 06, 2016 11:01:38 AM com.jrockit.mc.rcp.application.ApplicationWorkbenchWind
    owAdvisor logPrefsNode
    FEIN: Prefs node: Install/Update org.eclipse.equinox.internal.p2.ui.sdk.Provisio
    ningPreferencePage
    Mai 06, 2016 11:01:38 AM com.jrockit.mc.rcp.application.ApplicationWorkbenchWind
    owAdvisor logPrefsNode
    FEIN: Prefs node: Available Software Sites org.eclipse.equinox.internal.p2.ui.sd
    k.SitesPreferencePage
    Mai 06, 2016 11:01:38 AM com.jrockit.mc.rcp.application.ApplicationWorkbenchWind
    owAdvisor logPrefsNode
    FEIN: Prefs node: Automatic Updates org.eclipse.equinox.internal.p2.ui.sdk.sched
    uler.AutomaticUpdatesPreferencePage
    Mai 06, 2016 11:01:38 AM com.jrockit.mc.rcp.application.ApplicationWorkbenchWind
    owAdvisor logPrefsNode
    FEIN: Prefs node: Help org.eclipse.help.ui.browsersPreferencePage
    Mai 06, 2016 11:01:38 AM com.jrockit.mc.rcp.application.ApplicationWorkbenchWind
    owAdvisor logPrefsNode
    FEIN: Prefs node: Content org.eclipse.help.ui.contentPreferencePage
    Mai 06, 2016 11:01:38 AM com.jrockit.mc.jdp.client.Pruner run
    FEIN: JDP prune thread started!
    Mai 06, 2016 11:01:38 AM com.jrockit.mc.common.mbean.LocalMBeanToolkit <clinit>
    FEIN: Acquired local PID. PID resolved to 592
    Mai 06, 2016 11:01:38 AM com.jrockit.mc.browser.attach.LocalJVMToolkit createAtt
    achableJvmDescriptor
    INFORMATION: Done resolving PID [email protected]:
    592
    Application Started: 3559

  • Hirt-Oracle
    Hirt-Oracle Member Posts: 268
    edited May 10, 2016 2:04PM

    This is quite weird. Can you e-mail me at marcus.hirt at oracle.com? We'll set up a Skype call with screen sharing so that I can check out a few things. Optimally I'd like to hook up with JDWP to your JMC and check what the heck is going on.

    Until then, see if this FAQ helps:

This discussion has been closed.