facebook

VisualVM not working

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #300584 Reply

    CraigSimpson
    Member

    I am trying to profile a web application that is running on JBoss 4.x. Whenever I launch VisualVM (by going to MyEclipse Server Application under “Profile As”) I get the application with just VisualVM listed in the applications window. There is an exception listed in the log:

    java.lang.UnsupportedOperationException
    at com.sun.tools.visualvm.application.jvm.DefaultJvm.getJvmArgs(DefaultJvm.java:68)
    at com.sun.tools.visualvm.jvmstat.application.JvmstatApplication.createStorage(JvmstatApplication.java:70)
    at com.sun.tools.visualvm.core.datasource.DataSource.getStorage(DataSource.java:137)
    at com.sun.tools.visualvm.jvmstat.application.JvmstatApplicationListener.dataChanged(JvmstatApplicationListener.java:26)
    at com.sun.tools.visualvm.core.datasource.DataSourceProvider.fireDataChanged(DataSourceProvider.java:257)
    at com.sun.tools.visualvm.core.datasource.DataSourceProvider.fireCurrentState(DataSourceProvider.java:236)
    at com.sun.tools.visualvm.core.datasource.DataSourceProvider.access$200(DataSourceProvider.java:48)
    at com.sun.tools.visualvm.core.datasource.DataSourceProvider$1.run(DataSourceProvider.java:80)
    at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
    [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)

    I am using JDK 1.6.0_13 (also for JBoss and Eclipse). The MyEclipse version is 7.5

    #300604

    CraigSimpson,
    I could not reproduce this at my end.
    Can you copy paste your installation details from MyEclipse > Installation Summary > Installation Details?

    #300656

    CraigSimpson
    Member

    *** Date:
    Tuesday, July 21, 2009 11:06:06 AM EDT

    ** System properties:
    OS=WindowsXP
    OS version=5.1.0
    Java version=1.6.0_13

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 7.5
    Build id: 7.5-20090609

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 7.5
    Build id: 7.5-20090609

    Eclipse Plug-in Development Environment

    Version: 3.4.2.R342_v20090122-7T7U1E9imVKz-A8Vz-p_jRS
    Build id: M20080703-0800

    Eclipse Platform

    Version: 3.4.2.R342_v20090122-9I96EiWElHi8lheoJKJIvhM3JfVsYbRrgVIWL
    Build id: M20090211-1700

    Eclipse Graphical Editing Framework GEF

    Version: 3.4.2.v20090218-1145-67728084A56B4I233613552
    Build id: 200809101400

    Eclipse RCP

    Version: 3.4.200.R342_v20090122-989JESTEbig-SVaL8UJHcYBr4A63
    Build id: M20090211-1700

    Eclipse Java Development Tools

    Version: 3.4.2.r342_v20081217-7o7tEAoEEDWEm5HTrKn-svO4BbDI
    Build id: M20090211-1700

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Program Files\Genuitec\MyEclipse 7.5\myeclipse.exe
    -name
    Myeclipse
    –launcher.library
    C:\Program Files\Genuitec\MyEclipse 7.5\../Common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll
    -startup
    C:\Program Files\Genuitec\MyEclipse 7.5\../Common\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar
    -clean
    -configuration
    configuration
    -vm
    C:\Program Files\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\client\jvm.dll

    #300677

    support-joy
    Member

    Thanks for the installation details. Do you have any third party plugins installed too? If yes, can you list them out for me? You can get it from Help > Software Updates > Add/Remove Software. Also as Shalini mentioned before we cannot reproduce this at our end. Can you write down the steps to replicate this issue at our end? And share your project with us? You can do that by clicking on the PM button.

    Sorry for the inconvenience.

    #300736

    CraigSimpson
    Member

    Under Base Software – Pulse Services and Extensions, Eclipse Base, Sun JDK for MyEclipse, MyEclipse Enterprise Workbench

    Nothing else installed.

    I just right click on the project and say “profile as” and then “MyEclipse Server Application” VisualVM launches and I get the exception listed above.

    #300751

    support-joy
    Member

    Can you check something for me? From MyEclipse Menu click on MyEclipse Start Page. Click on [EXAMPLE PROJECTS]. This will open the Examples On-Demand Browser. Install any project, say MyBlogJSFJPAExample. Click on the [Install Project] button. This will get installed on your workspace. Now right click on this project – MyBlogJSFJPAExample and click on Profile As > MyEclipse Server Application. This should prompt you to accept the license for VisualVM, and opens the profiler for you. Let me know what you get here, if it errors out, please send me the error log file located at [your workspace dir]/.metadata/.log and also attach error screenshot.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: VisualVM not working

You must be logged in to post in the forum log in