Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326003 - JMX:no output for printObjectsInIdentityMap() and printClassesInSession() operations
Summary: JMX:no output for printObjectsInIdentityMap() and printClassesInSession() ope...
Status: RESOLVED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL: http://wiki.eclipse.org/EclipseLink/D...
Whiteboard: JMX
Keywords:
Depends on: 316513
Blocks:
  Show dependency tree
 
Reported: 2010-09-22 14:41 EDT by Yiping Zhao CLA
Modified: 2022-06-09 10:20 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yiping Zhao CLA 2010-09-22 14:41:59 EDT
Tested EclipseLink MBean with trunk(2.2.0) recently, found that:

1. no output for printObjectsInIdentityMap() on WebLogic, JBOSS and GlassFish(not tested on WebSphere). It should return one object since getNumberOfObjectsInIdentitymap() returns one

2. no output for printClassesInSession() on WebLogic only no matter the operation is executed from jconsole or Oracle JRockit Mission Control.
Comment 1 Michael OBrien CLA 2010-09-23 14:07:35 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 2 Yiping Zhao CLA 2010-10-19 14:15:46 EDT
Note: When testing on EM from PS3 RC6, it has output for printObjectsInIdentityMap() and printClassesInSession().
Comment 3 Yiping Zhao CLA 2010-10-19 15:48:46 EDT
Note:(1). In above EM testing, the EclipseLink version is 2.1.2
     (2). With EclipseLink 2.1.2 v20101019-r8373, printObjectsInIdentityMap() has output in GlassFish V3
Comment 4 Michael OBrien CLA 2010-10-20 10:49:30 EDT
>WebLogic under JRockit is also OK
>PrintObjectsInIdentityMaps
[EL Info]: 2010-10-20 10:44:54.259--ServerSession(50655901)--Thread(Thread[RMI TCP Connection(3)-192.168.0.194,5,RMI Runtime])--Key [5] => Value [org.eclipse.persistence.example.jpa.server.business.Cell@48311013( id: 5 state: null left: null right: null parent: IndirectSet@144876276 references: IndirectSet@144876276)]
[EL Info]: 2010-10-20 10:44:54.259--ServerSession(50655901)--Thread(Thread[RMI TCP Connection(3)-192.168.0.194,5,RMI Runtime])--Key [7] => Value [org.eclipse.persistence.example.jpa.server.business.Cell@47620681( id: 7 state: null left: null right: null parent: IndirectSet@142870934 references: IndirectSet@142870934)]
[EL Info]: 2010-10-20 10:44:54.259--ServerSession(50655901)--Thread(Thread[RMI TCP Connection(3)-192.168.0.194,5,RMI Runtime])--Key [8] => Value [org.eclipse.persistence.example.jpa.server.business.Cell@47629641( id: 8 state: null left: null right: null parent: IndirectSet@47620681 references: IndirectSet@47620681)]
[EL Info]: 2010-10-20 10:44:54.274--ServerSession(50655901)--Thread(Thread[RMI TCP Connection(3)-192.168.0.194,5,RMI Runtime])--Key [2] => Value [org.eclipse.persistence.example.jpa.server.business.Cell@48296386( id: 2 state: null left: null right: null parent: IndirectSet@144917225 references: IndirectSet@144917225)]
[EL Info]: 2010-10-20 10:44:54.274--ServerSession(50655901)--Thread(Thread[RMI TCP Connection(3)-192.168.0.194,5,RMI Runtime])--Key [9] => Value [org.eclipse.persistence.example.jpa.server.business.Cell@47620658( id: 9 state: null left: null right: null parent: IndirectSet@95241316 references: IndirectSet@95241316)]
[EL Info]: 2010-10-20 10:44:54.274--ServerSession(50655901)--Thread(Thread[RMI TCP Connection(3)-192.168.0.194,5,RMI Runtime])--Key [10] => Value [org.eclipse.persistence.example.jpa.server.business.Cell@47620635( id: 10 state: null left: null right: null parent: IndirectSet@143018567 references: IndirectSet@143018567)]
[EL Info]: 2010-10-20 10:44:54.274--ServerSession(50655901)--Thread(Thread[RMI TCP Connection(3)-192.168.0.194,5,RMI Runtime])--Key [1] => Value [org.eclipse.persistence.example.jpa.server.business.Cell@48279024( id: 1 state: null left: null right: null parent: IndirectSet@48311013 references: IndirectSet@48311013)]
[EL Info]: 2010-10-20 10:44:54.274--ServerSession(50655901)--Thread(Thread[RMI TCP Connection(3)-192.168.0.194,5,RMI Runtime])--Key [3] => Value [org.eclipse.persistence.example.jpa.server.business.Cell@48300866( id: 3 state: null left: null right: null parent: IndirectSet@96607399 references: IndirectSet@96607399)]
[EL Info]: 2010-10-20 10:44:54.274--ServerSession(50655901)--Thread(Thread[RMI TCP Connection(3)-192.168.0.194,5,RMI Runtime])--Key [4] => Value [org.eclipse.persistence.example.jpa.server.business.Cell@48305346( id: 4 state: null left: null right: null parent: IndirectSet@48296386 references: IndirectSet@48296386)]
[EL Info]: 2010-10-20 10:44:54.274--ServerSession(50655901)--Thread(Thread[RMI TCP Connection(3)-192.168.0.194,5,RMI Runtime])--Identity Map [org.eclipse.persistence.example.jpa.server.business.CellAttribute] is empty.

>PrintClassesInSession
[EL Finest]: 2010-10-20 10:47:21.632--Thread(Thread[RMI TCP Connection(3)-192.168.0.194,5,RMI Runtime])--org.eclipse.persistence.example.jpa.server.business.Cell
[EL Finest]: 2010-10-20 10:47:21.648--Thread(Thread[RMI TCP Connection(3)-192.168.0.194,5,RMI Runtime])--org.eclipse.persistence.example.jpa.server.business.CellAttribute


>closing bug unless there is still and issue with JBoss
Comment 5 Eclipse Webmaster CLA 2022-06-09 10:14:42 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 6 Eclipse Webmaster CLA 2022-06-09 10:20:27 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink