United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6439590 MBeans tab: jconsole mbean tree not correctly refreshed
JDK-6439590 : MBeans tab: jconsole mbean tree not correctly refreshed

Details
Type:
Bug
Submit Date:
2006-06-16
Status:
Closed
Updated Date:
2011-04-19
Project Name:
JDK
Resolved Date:
2011-04-19
Component:
tools
OS:
generic
Sub-Component:
jconsole
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:

Related Reports
Backport:
Backport:
Duplicate:
Relates:

Sub Tasks

Description
With JConsole provided by Tiger update 6 and Mustang b87,
1 - Connect Jconsole to a cacao agent
2 - Choose MBean tab
3 - Expand a domain
4 - Register 2000 mbeans in this domain

The MBean tree freeze and user can't select all MBeans.

Note that if you ask for a new connection, the MBean tree is correct.

                                    

Comments
EVALUATION

Looks like a synchronization problem when building the MBean tree.
                                     
2006-06-16
EVALUATION

Delay this bug fix till Dolphin as it concerns very sensitive code. In Dolphin all the MBean tree construction logic should be rewritten using the SwingWorker class.
                                     
2006-06-22
WORK AROUND

There exists a workaround in Mustang JConsole. Just let the JMX agent
create/delete all the MBeans and wait for JConsole to handle all the
register/unregister MBean notifications. Then disconnect and connect
again using the new disconnect/reconnect button. This will provoke a
refresh of the MBean tree with the correct MBean server view.
                                     
2006-06-22



Hardware and Software, Engineered to Work Together