Community
Participate
Working Groups
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.
>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
Note: When testing on EM from PS3 RC6, it has output for printObjectsInIdentityMap() and printClassesInSession().
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
>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
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink