|
Description
Michael OBrien
>We need to get the exact version of the WAS server (I have 7.0.0.5) and get the SE JMX test suite (bug # coded up for regression testing We also need to see how we can modify our server testing to exercise and verify the attribute names generated via classLoader string searching in bug# 333161 Created attachment 185777 [details] Preliminary patch for 3 of 5 sections where -1 was not handled in a indexOf() search - WAS integration testing pending >Prelimnary patch - I need to test this on a WebSphere 7 server first (1 to 4 hours) 10427734 Created attachment 185782 [details] Pre-code-review patch of fix for indexOf() usage where there is no match for application or module names in classLoader toString - verified on WLS and JBoss The proposed changes are the same for 2.1 and 2.2 (not yet code-reviewed) - test results on WebLogic and JBoss are below (WebSphere and GlassFish are pending) >WebLogic 10.3.3.0+ <23-Dec-2010 1:47:03 o'clock PM EST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.x.0 Fri Oct 1 20:26:51 PDT 2010 1368456 > [EL Info]: 2010-12-23 13:51:37.967--ServerSession(21536270)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--EclipseLink, version: Eclipse Persistence Services - 2.1.3.qualifier [EL Finest]: 2010-12-23 13:51:38.126--ServerSession(21536270)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--The applicationName for the MBean attached to session [file:/F:/view_w35e/examples/org.eclipse.persistence.example.jpa.server.weblogic.enterpriseEJB/build/classes/_example] is [org.eclipse.persistence.example.jpa.server.weblogic.enterpriseEAR] [EL Finest]: 2010-12-23 13:51:38.126--ServerSession(21536270)--Thread(Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--The moduleName for the MBean attached to session [file:/F:/view_w35e/examples/org.eclipse.persistence.example.jpa.server.weblogic.enterpriseEJB/build/classes/_example] is [enterprise] >JBoss 5 EAP 13:56:27,365 INFO [STDOUT] [EL Finest]: 2010-12-23 13:56:27.365--ServerSession(22541557)--Thread(Thread[http-127.0.0.1-8080-2,5,jboss])--The applicationName for the MBean attached to session [vfszip:/C:/opt/jboss-eap-5.0b/jboss-as/server/default/deploy/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR.ear/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEJB.jar/_example2] is [unknown] 13:56:27,365 INFO [STDOUT] [EL Finest]: 2010-12-23 13:56:27.365--ServerSession(22541557)--Thread(Thread[http-127.0.0.1-8080-2,5,jboss])--The moduleName for the MBean attached to session [vfszip:/C:/opt/jboss-eap-5.0b/jboss-as/server/default/deploy/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR.ear/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEJB.jar/_example2] is [unknown] Created attachment 185787 [details] Pre-code-review patch of fix for indexOf() usage where there is no match for application or module names in classLoader toString - verified on WLS and JBoss >Minor adjustment to patch - while debugging JBoss noticed that my null checks were now invalid because I set the fallback default names at the start instead of at the end of the try/catch block >Debugging this JBossPlatform (id=399) databaseSessionName "vfszip:/C:/opt/jboss-eap-5.0b/jboss-as/server/default/deploy/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR.ear/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEJB.jar/_example2" (id=462) classLoaderName "BaseClassLoader@bc4fb{vfszip:/C:/opt/jboss-eap-5.0b/jboss-as/server/default/deploy/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR.ear/}" (id=466) jpaModuleName null jpaApplicationName null startIndex 190 subString "_example2" (id=467) >Logs trunk 15:20:02,295 INFO [STDOUT] [EL Finest]: 2010-12-23 15:20:02.285--ServerSession(32651944)--Thread(Thread[http-127.0.0.1-8080-2,5,jboss])--The applicationName for the MBean attached to session [vfszip:/C:/opt/jboss-eap-5.0b/jboss-as/server/default/deploy/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR.ear/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEJB.jar/_example2] is [org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR.ear] 15:20:06,360 INFO [STDOUT] [EL Finest]: 2010-12-23 15:20:06.358--ServerSession(32651944)--Thread(Thread[http-127.0.0.1-8080-2,5,jboss])--The moduleName for the MBean attached to session [vfszip:/C:/opt/jboss-eap-5.0b/jboss-as/server/default/deploy/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR.ear/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEJB.jar/_example2] is [_example2] Created attachment 185810 [details] Pre-code-review patch of fix for indexOf() usage where there is no match for application or module names in classLoader toString - verified on WebSphere, WebLogic and JBoss >WebSphere 7.0.0.5 http://127.0.0.1:9080/enterprise/FrontController?action=demo [12/24/10 11:20:40:883 EST] 00000013 SystemOut O [EL Finest]: 2010-12-24 11:20:40.883--ServerSession(1702651260)--Thread(Thread[WebContainer : 0,5,main])--EclipseLink JMX Runtime Services is referencing the [Platform ConversionManager] ClassLoader at: [ com.ibm.ws.classloader.CompoundClassLoader@fd80fd8[app:org.eclipse.persistence.example.jpa.server.websphere.EnterpriseEAR] Local ClassPath: C:\opt\was7b\AppServer\profiles\AppSrv01\installedApps\xps435Node01Cell\org.eclipse.persistence.example.jpa.server.websphere.EnterpriseEAR.ear\org.eclipse.persistence.example.jpa.server.websphere.EnterpriseEJB.jar;C:\opt\was7b\AppServer\profiles\AppSrv01\installedApps\xps435Node01Cell\org.eclipse.persistence.example.jpa.server.websphere.EnterpriseEAR.ear\org.eclipse.persistence.example.jpa.server.entities.jar Parent: com.ibm.ws.classloader.ProtectionClassLoader@3a1d3a1d Delegation Mode: PARENT_FIRST] [12/24/10 11:20:40:884 EST] 00000013 SystemOut O [EL Finest]: 2010-12-24 11:20:40.883--ServerSession(1702651260)--Thread(Thread[WebContainer : 0,5,main])--The applicationName for the MBean attached to session [jar:file:/C:/opt/was7b/AppServer/profiles/AppSrv01/installedApps/xps435Node01Cell/org.eclipse.persistence.example.jpa.server.websphere.EnterpriseEAR.ear/org.eclipse.persistence.example.jpa.server.websphere.EnterpriseEJB.jar!/_example] is [org.eclipse.persistence.example.jpa.server.websphere.EnterpriseEAR] [12/24/10 11:20:40:884 EST] 00000013 SystemOut O [EL Finest]: 2010-12-24 11:20:40.884--ServerSession(1702651260)--Thread(Thread[WebContainer : 0,5,main])--The moduleName for the MBean attached to session [jar:file:/C:/opt/was7b/AppServer/profiles/AppSrv01/installedApps/xps435Node01Cell/org.eclipse.persistence.example.jpa.server.websphere.EnterpriseEAR.ear/org.eclipse.persistence.example.jpa.server.websphere.EnterpriseEJB.jar!/_example] is [_example] >JBoss 5 EAP http://127.0.0.1:8080/enterprise/FrontController?action=demo this JBossPlatform (id=373) databaseSessionName "vfszip_/C_/opt/jboss-eap-5.0b/jboss-as/server/default/deploy/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR.ear/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEJB.jar/_example2" (id=464) classLoaderName "BaseClassLoader@19c4f4e{vfszip:/C:/opt/jboss-eap-5.0b/jboss-as/server/default/deploy/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR.ear/}" (id=466) 11:09:18,711 INFO [STDOUT] [EL Finest]: 2010-12-24 11:09:18.709--ServerSession(29051400)--Thread(Thread[http-127.0.0.1-8080-2,5,jboss])--The applicationName for the MBean attached to session [vfszip:/C:/opt/jboss-eap-5.0b/jboss-as/server/default/deploy/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR.ear/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEJB.jar/_example2] is [org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR.ear] 11:09:19,662 INFO [STDOUT] [EL Finest]: 2010-12-24 11:09:19.66--ServerSession(29051400)--Thread(Thread[http-127.0.0.1-8080-2,5,jboss])--The moduleName for the MBean attached to session [vfszip:/C:/opt/jboss-eap-5.0b/jboss-as/server/default/deploy/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR.ear/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEJB.jar/_example2] is [_example2] >WebLogic 10.3.3.0 http://127.0.0.1:7001/enterprise/FrontController?action=demo [EL Finest]: 2010-12-24 11:14:06.683--ServerSession(15892568)--Thread(Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--The applicationName for the MBean attached to session [file:/F:/view_w35e/examples/org.eclipse.persistence.example.jpa.server.weblogic.enterpriseEJB/build/classes/_example] is [org.eclipse.persistence.example.jpa.server.weblogic.enterpriseEAR] [EL Finest]: 2010-12-24 11:14:06.683--ServerSession(15892568)--Thread(Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--The moduleName for the MBean attached to session [file:/F:/view_w35e/examples/org.eclipse.persistence.example.jpa.server.weblogic.enterpriseEJB/build/classes/_example] is [enterprise] >Test Fail Fast: Exception condition output (Test case: introduce a forced NPE in the code - temporarily for testing) 10:16:04,454 INFO [STDOUT] [EL Finest]: 2010-12-24 10:16:04.452--ServerSession(4286345)--Thread(Thread[http-127.0.0.1-8080-2,5,jboss])--The applicationName for the MBean attached to session [BaseClassLoader@43d24e{vfszip:/C:/opt/jboss-eap-5.0b/jboss-as/server/default/deploy/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR.ear/}] is [unavailable] 10:16:09,945 INFO [STDOUT] [EL Finest]: 2010-12-24 10:16:09.944--ServerSession(4286345)--Thread(Thread[http-127.0.0.1-8080-2,5,jboss])--The moduleName for the MBean attached to session [vfszip_/C_/opt/jboss-eap-5.0b/jboss-as/server/default/deploy/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEAR.ear/org.eclipse.persistence.example.jpa.server.jboss.EnterpriseEJB.jar/_example2] is [unavailable] 10:16:46,845 ERROR [STDERR] java.lang.NullPointerException 10:16:46,846 ERROR [STDERR] at org.eclipse.persistence.platform.server.JMXServerPlatformBase.initializeApplicationNameAndModuleName(JMXServerPlatformBase.java:527) >Trunk SVN rev# 8763 https://fisheye2.atlassian.com/changelog/eclipselink/?cs=8763 >2.2 backport pending approval >changes in bug # 333336 for 2.2 will be part of the backport part of this fix
Created attachment 186556 [details] 2.2 milestone patch of both 333160 and 333336 >see SVN rev # 8798 for the 2.2 stream milestone 20110111 https://fisheye2.atlassian.com/changelog/eclipselink/?cs=8798 >pending possible 2.1.x backport?
Created attachment 189853 [details]
10427734 for 333160 and 333336 on 2.1.3 backport
>Backport for 2.1.3 in SVN rev# 9046 https://fisheye2.atlassian.com/changelog/eclipselink?cs=9046 The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |