Luis-Miguel Alventosa's Blog

All | Java | xVM
« MBean Browser plugin... | Main | VisualVM Milestone 1... »
20071125 Sunday November 25, 2007

JConsole plugin for VisualVM Preview 2

Overview

This is an experimental plugin for VisualVM Preview 2 that allows to add the JConsole tool functionality into the VisualVM tool. This new VisualVM plugin provides support for JConsole core tabs as well as custom JConsole plugins for both local and remote Java applications.

The JConsole tab will be enabled - by right-clicking in a given local or remote application and choosing the Open item in the contextual menu - in the following cases:

Usage

$ visualvm [-J-Djconsole.hidden.tabs=[AOMTCSB]] [-J-Djconsole.plugin.path=<plugin-path>]

Two system properties have been defined by this plugin to control the JConsole core tabs we want to hide and to specify the location of the custom JConsole plugins.

Installation notes

If you want to play with it just download the org-netbeans-modules-management-jconsole.nbm NBM file from here and install it. In order to install it choose Tools > Plugins from the main menu of VisualVM, go to the Downloaded tab and click on the Add Plugins button. Specify the location where you stored the JConsole NBM file and click on the Install button.

VisualVM-JConsole plugin installed

Use cases

Find here below some examples of use:

Trackback URL: http://blogs.sun.com/lmalventosa/entry/jconsole_visualvm_preview2
Comments:

Hi,

cool plugin! Recently I've done a jconsole plugin version of my little TDA tool and using this I was able to use it in VisualVM.

I've done a short test of this here: http://www.jroller.com/dumpster/entry/running_tda_in_visualvm_preview

regards,

Ingo

Posted by Ingo Rockel on November 26, 2007 at 09:59 AM CET #

Looks nice, but cannot be installed in the Milestone 1 of VisualVM.

Posted by Sven Reimers on January 22, 2008 at 08:33 AM CET #

Hi,

this is really cool - having jconsole functionality within visualvm is s.th. like a must have :)

Unfortunately this does not work with visualvm 1.0.1, when I try to install the plugin I get this error message:

Missing required modules for Plugin VisualVM-JConsole:
module org.netbeans.modules.management = 071119

Is there a way to get around this, or are you even going to release an updated version of this plugin?

Thx && cheers,
Martin

Posted by Martin Grotzke on September 26, 2008 at 08:34 AM CEST #

Hola Luis Miguel

I'm having the same problem:

Missing required modules for Plugin VisualVM-JConsole:
module org.netbeans.modules.management = 071119

I looked everywhere in the net for this dependency and did not find it, is that an old netbeans module?

Please help I really would like to have this functionality.
Thanks in advanced for your support.

Posted by Juan Molina on October 10, 2008 at 02:48 PM CEST #

This plugin was experimental and replaced by the final JConsole plugin available in the VisualVM Plugins Center.

The new JConsole plugin for VisualVM should be used as a migration path for legacy JConsole plugins in its way into better integration into VisualVM.

The existing MBeans, JConsole and VisualGC plugins for VisualVM should cover most of JConsole's functionality but of course you can still run JConsole as a standalone tool if you wish.

Posted by Luis-Miguel Alventosa on October 10, 2008 at 03:32 PM CEST #

i need java sun (java + you )plz send thankyou.

reg : Akhter

Posted by Akhter on February 03, 2009 at 07:35 PM CET #

i need java sun (java + you )plz send thankyou.

reg : Akhter

Posted by Akhter on February 03, 2009 at 07:37 PM CET #

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed

Calendar

RSS Feeds

Search

Links

Planet JMX

Navigation

Referers