History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RHQ-829
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Greg Hinkle
Reporter: Greg Hinkle
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
RHQ Project

JVM Remoting auto-discovery

Created: 11/Sep/08 01:46 PM   Updated: 15/Dec/08 06:33 AM
Component/s: None
Fix Version/s: 1.1

Time Tracking:
Original Estimate: 2 hours
Original Estimate - 2 hours
Remaining Estimate: 2 hours
Remaining Estimate - 2 hours
Time Spent: Not Specified
Remaining Estimate - 2 hours

Issue Links:
Relation
 

Resolution Date: 15/Sep/08 02:20 PM
Date of First Response: 30/Sep/08 03:24 PM
Tester: Jeff Weiss
VCS Revision: 1,464


 Description  « Hide
This feature is to add the automated discovery of a standalone JVM (1.5 or higher) that is running the platform mbean server and the built-in JMX Remoting functionality. It will discovery and key off of the command-line JMX Remoting properties. (specifically com.sun.management.jmxremote.port)

Unsure of whether we will be able to support SSL yet since I don't think it's supported in EMS yet, but will investigate.


An example test would be to start jconsole with these properties and then do a discovery:
 java -jar -Dcom.sun.management.jmxremote.port=1500 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -jar /usr/java/jdk1.5.0_15/lib/jconsole.jar

We should be sure to restart the vm process and make sure its being discovered as the same process and reconnected/disconnected appropriately

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Greg Hinkle - 11/Sep/08 01:47 PM
Doing this based on important customer demand for this release.

Greg Hinkle - 15/Sep/08 02:20 PM
Implemented discovery based on the "com.sun.management.jmxremote.port" property. Also fixed it to behave like the JBossAS component on start and always succeed while continuing to retry the connection on availability checks.

Jeff Weiss - 30/Sep/08 03:24 PM
Verified that
1) jconsole was discovered, imported it
2) clicked around in the UI to make sure all pages were displaying reasonable info (did not do much checking on JVM metrics)
3) Shut it down, make sure the resource turns red
4) Restarted it and did another discovery. Did not discover another resource (as expected).

Resource did not turn green again (metrics being collected though) which I will open separately and link here.

Charles Crouch - 20/Oct/08 03:11 PM
(3:10:52 PM) ghinkle: ccrouch: 829 doesn't support SSL