[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[eclipselink-dev] fix for bug 333160
|
A patch file for bug 333160 is now available for review until at least
Wed 29 Dec.
https://bugs.eclipse.org/bugs/attachment.cgi?id=185810&action=diff
http://bugs.eclipse.org/333160
Fix := some of the subString(indexOf(...)) string manipulation for JMX
module/application name strings based on classLoader strings - did not
handle the "not found" case for indexOf() == -1 during container session
deploys of mixed EAR(EJB/WAR)/WAR-only-EAR apps.
Please review and provide any feedback.
thank you
/michael
>Container testing results
>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)
thank you
/michael