Effective October 27, 2012, online and email support for FuseSource products will move to Red Hat support channels. For more information, please see the JIRA Migration to Red Hat FAQ.
As of October 27th, please open all new issues in the Red Hat Customer Portal .
Issue Details (XML | Word | Printable)

Key: ECLIPSE-232
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: James Strachan
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Fuse IDE

auto-discover local JMX processes on a machine for the JMX Explorer like JConsole does

Created: 08/Jun/11 01:24 PM   Updated: 14/Jun/11 05:51 AM
Component/s: JMX
Affects Version/s: None
Fix Version/s: 2.0

File Attachments: 1. Java Source File JMXDiscoveryAgent.java (4 kB)



 Description  « Hide
Would be great to be able to show folks a folder of Local Processes on the JMX Explorer then folks don't have to mess about with JMX URIs; like JConsole does.

It probably uses some sun JVM crack to discover local JMX processes though; so might only be available on certain JVMs.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
James Strachan made changes - 08/Jun/11 01:24 PM
Field Original Value New Value
Component/s jmx [ 10770 ]
Timothy Bish added a comment - 11/Jun/11 07:17 PM
Sample code showing how to scan for JVMs and find an instance of ActiveMQ.

Timothy Bish made changes - 11/Jun/11 07:17 PM
Attachment JMXDiscoveryAgent.java [ 19501 ]
Timothy Bish added a comment - 11/Jun/11 07:18 PM
I figured out how to find the local JVMs using the JMX Management APIs in tools.jar to list all the local JVMs. The little app I've attached grabs the list of running JVMs and tries to find an ActiveMQ instance to display to the user.

James Strachan made changes - 14/Jun/11 05:51 AM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]