Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 325973

Summary: JMX: getClassSummaryDetailsUsingFilter() returns object instead of array of class summary
Product: z_Archived Reporter: Yiping Zhao <yiping.zhao>
Component: EclipselinkAssignee: Michael OBrien <michael.f.obrien>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P2 CC: eclipselink.foundation-inbox, michael.f.obrien
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
URL: http://wiki.eclipse.org/EclipseLink/DesignDocs/316513
Whiteboard: JMX
Bug Depends on: 316513    
Bug Blocks:    
Attachments:
Description Flags
JMX MBean ClassSummaryDetailsUsingFilter is OK under JRockit JRMC - composite objects render further none

Description Yiping Zhao CLA 2010-09-22 10:59:07 EDT
Tested EclipseLink MBean in trunk(2.2.0) recently, the operation returns object, not a array of class summary details as showing in class org.eclipse.persistence.services.RuntimeServices. The return is like: [[Ljava.lang.Object;@1c6faab"
Comment 1 Michael OBrien CLA 2010-09-22 11:04:23 EDT
>likely it is printing the toString() 2-dimensional Object[][] array instead of the CompositeType objects themselves
Comment 2 Michael OBrien CLA 2010-09-23 14:08:40 EDT
>verify on SUN-JConsole/JRockit-JRMC and formal-test-EAR/tutorial-EAR
as there are differences between the EAR architecture and possibly the JVM/JMX-viewer combination
Scheduled for more in-depth investigation (debug session) and possible inclusion in the next release.
Tracking of this issue will be in conjuction with the other 23 open issues on parent bug # 316513
Comment 3 Michael OBrien CLA 2010-10-20 10:56:32 EDT
>under JRockit JRMC I see each of the composite objects (ClassSummaryDetail) expanded to the following
className, cacheType, configuredSize, currentSize , parentClassName
=
CellAttribute,SoftWeak,100,0,""(no superclass)

>Therefore this is a JMX viewer issue specific to JConsole.
>Enterprise Manager and JRockit expand the object array ok
Comment 4 Michael OBrien CLA 2010-10-20 10:58:28 EDT
Created attachment 181298 [details]
JMX MBean ClassSummaryDetailsUsingFilter is OK under JRockit JRMC - composite objects render further
Comment 5 Michael OBrien CLA 2010-10-20 10:59:09 EDT
>See attached screen capture that shows how to expand the object array further in JRockit mission control
Comment 6 Eclipse Webmaster CLA 2022-06-09 10:03:49 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 7 Eclipse Webmaster CLA 2022-06-09 10:10:41 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink