Community
Participate
Working Groups
A new attribute that returns persistence unit name and the current SessionName attribute returning only the session name.
Setting target to 1.1X so this bug will be a candidate for the first patch release after 1.1
This bug is being moved to Future where we can properly sort them all together based on community votes and severity. We will then assign them accordingly to future patch sets and releases.
Changing the priority of the bugs that have been recently triaged to future. Targetting them to P2 will differentiate them from the P3s that have been triaged into future earlier.
>added enhancement to 2.2 queue - not assigned yet
>currently for WAS, JBoss and Glassfish the moduleName now returns the persistence unit name - this is determined by standard practice from the ClassLoader toString() >WebLogic still returns the context root (from the WAR where the SSB containing the PU is injected) - this is determined by a reflective call to ExecuteThreadRuntime on WebLogic (It would be good if we could revert this last remaining reflective call to a standard search of the ClassLoader toString()) >see http://wiki.eclipse.org/EclipseLink/DesignDocs/316513#WebLogic_Application_and_Module_Name_extraction [EL Finest]: 2010-07-22 14:31:33.025--Thread(Thread[[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--The applicationName for the MBean attached to session [file:/F:/view_w35_wls1033/examples/org.eclipse.persistence.example.jpa.server.weblogic.enterpriseEJB/build/classes/_example] is [org.eclipse.persistence.example.jpa.server.weblogic.enterpriseEAR] [EL Finest]: 2010-07-22 14:31:33.025--Thread(Thread[[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--The moduleName for the MBean attached to session [file:/F:/view_w35_wls1033/examples/org.eclipse.persistence.example.jpa.server.weblogic.enterpriseEJB/build/classes/_example] is [enterprise] >it would then be [EL Finest]: 2010-07-22 14:31:33.025--Thread(Thread[[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--The moduleName for the MBean attached to session [file:/F:/view_w35_wls1033/examples/org.eclipse.persistence.example.jpa.server.weblogic.enterpriseEJB/build/classes/_example] is [_example] >We couldmerge this with the related bug# 263273 in view of the new server support changes in parent bug# 316513 However, for all JBoss, WebSphere and Glassfish servers - this enhancement is sort of deprecated because getModuleName() returns the persistence unit name in those cases >For the session name - it currently is the part of the MBean name - a separate enhancement should be raised if it is still required
>WLS work was originally in bug# 248746
>Part of this enhancement is already complete The mbean attribute [sessionName] returns the DatabaseSession (session) name See the screen captures of the running MBeans for various servers like JBoss in the design page below or in the attachments to each server child bug >JBoss and WebLogic (via JRMC) visible below http://wiki.eclipse.org/EclipseLink/DesignDocs/316513 >Glassfish V3 via NetBeans6.9 and JConsole (unprocessed) SessionName=file:/C:/wnb69/GlassfishV3EAR/dist/gfdeploy/GlassfishV3EAR/GlassfishV3EAR-ejb_jar/_example
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink