Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 325973 - JMX: getClassSummaryDetailsUsingFilter() returns object instead of array of class summary
Summary: JMX: getClassSummaryDetailsUsingFilter() returns object instead of array of c...
Status: RESOLVED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Michael OBrien CLA
QA Contact:
URL: http://wiki.eclipse.org/EclipseLink/D...
Whiteboard: JMX
Keywords:
Depends on: 316513
Blocks:
  Show dependency tree
 
Reported: 2010-09-22 10:59 EDT by Yiping Zhao CLA
Modified: 2022-06-09 10:10 EDT (History)
2 users (show)

See Also:


Attachments
JMX MBean ClassSummaryDetailsUsingFilter is OK under JRockit JRMC - composite objects render further (181.70 KB, image/pjpeg)
2010-10-20 10:58 EDT, Michael OBrien CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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