Fixes are available
8.5.5.2: WebSphere Application Server V8.5.5 Fix Pack 2
8.5.5.3: WebSphere Application Server V8.5.5 Fix Pack 3
8.5.5.4: WebSphere Application Server V8.5.5 Fix Pack 4
8.5.5.5: WebSphere Application Server V8.5.5 Fix Pack 5
8.5.5.6: WebSphere Application Server V8.5.5 Fix Pack 6
8.5.5.7: WebSphere Application Server V8.5.5 Fix Pack 7
8.5.5.8: WebSphere Application Server V8.5.5 Fix Pack 8
8.5.5.9: WebSphere Application Server V8.5.5 Fix Pack 9
8.5.5.10: WebSphere Application Server V8.5.5 Fix Pack 10
8.5.5.11: WebSphere Application Server V8.5.5 Fix Pack 11
8.5.5.12: WebSphere Application Server V8.5.5 Fix Pack 12
8.5.5.13: WebSphere Application Server V8.5.5 Fix Pack 13
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
8.5.5.15: WebSphere Application Server V8.5.5 Fix Pack 15
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
8.5.5.17: WebSphere Application Server V8.5.5 Fix Pack 17
8.5.5.20: WebSphere Application Server V8.5.5.20
8.5.5.18: WebSphere Application Server V8.5.5 Fix Pack 18
8.5.5.19: WebSphere Application Server V8.5.5 Fix Pack 19
8.5.5.16: WebSphere Application Server V8.5.5 Fix Pack 16
8.5.5.21: WebSphere Application Server V8.5.5.21
APAR status
Closed as program error.
Error description
When servlet load is performed upon application startup, a servlet JNDI lookup can cause a premature deactivation of the DataSourceService reference. This can cause an application restart on the same thread that is handling the application startup resulting in a thread hang. at sun/misc/Unsafe.park(Native Method) at java/util/concurrent/locks/LockSupport.parkNanos(LockSupport.jav a:237) at java/util/concurrent/locks/AbstractQueuedSynchronizer.doAcquireS haredNanos(AbstractQueuedSynchronizer.java:1044(Compiled Code)) at java/util/concurrent/locks/AbstractQueuedSynchronizer.tryAcquire SharedNanos(AbstractQueuedSynchronizer.java:1337) at java/util/concurrent/CountDownLatch.await(CountDownLatch.java:29 3) at com/ibm/ws/container/service/app/recycle/internal/ApplicationRec ycleCoordinatorImpl.completeStoppedApplicationsFuture(Applicatio nRecycleCoordinatorImpl.java:190) at com/ibm/ws/container/service/app/recycle/internal/ApplicationRec ycleCoordinatorImpl.initiateStarts(ApplicationRecycleCoordinator Impl.java:497) (entered lock: com/ibm/ws/container/service/app/recycle/internal/ApplicationRec ycleCoordinatorImpl$1@0x0000000003320560, entry count: 1) at com/ibm/ws/container/service/app/recycle/internal/ApplicationRec ycleCoordinatorImpl.startApplications(ApplicationRecycleCoordina torImpl.java:305) at com/ibm/ws/jdbc/DataSourceService.destroyConnectionFactories(Dat aSourceService.java:289) at com/ibm/ws/jdbc/DataSourceService.deactivate(DataSourceService.j ava:235) at sun/reflect/NativeMethodAccessorImpl.invoke0(Native Method) at sun/reflect/NativeMethodAccessorImpl.invoke(NativeMethodAccessor Impl.java:88) at sun/reflect/DelegatingMethodAccessorImpl.invoke(DelegatingMethod AccessorImpl.java:55(Compiled Code)) at java/lang/reflect/Method.invoke(Method.java:618(Compiled Code)) at org/apache/felix/scr/impl/helper/BaseMethod.invokeMethod(BaseMet hod.java:228) at org/apache/felix/scr/impl/helper/BaseMethod.access$500(BaseMetho d.java:37) at org/apache/felix/scr/impl/helper/BaseMethod$Resolved.invoke(Base Method.java:609) at org/apache/felix/scr/impl/helper/BaseMethod.invoke(BaseMethod.ja va:492) at org/apache/felix/scr/impl/helper/ActivateMethod.invoke(ActivateM ethod.java:149) at org/apache/felix/scr/impl/manager/ImmediateComponentManager.disp oseImplementationObject(ImmediateComponentManager.java:312) at org/apache/felix/scr/impl/manager/ImmediateComponentManager.dele teComponent(ImmediateComponentManager.java:159) at org/apache/felix/scr/impl/manager/AbstractComponentManager$Activ e.ungetService(AbstractComponentManager.java:1684) at org/apache/felix/scr/impl/manager/ImmediateComponentManager.unge tService(ImmediateComponentManager.java:773) at org/eclipse/osgi/internal/serviceregistry/ServiceUse$2.run(Servi ceUse.java:238) at java/security/AccessController.doPrivileged(AccessController.jav a:274(Compiled Code)) at org/eclipse/osgi/internal/serviceregistry/ServiceUse.ungetServic e(ServiceUse.java:236) at org/eclipse/osgi/internal/serviceregistry/ServiceRegistrationImp l.ungetService(ServiceRegistrationImpl.java:518(Compiled Code)) (entered lock: org/eclipse/osgi/internal/serviceregistry/ServiceUse@0x000000001 E8DD380,entry count: 1) at org/eclipse/osgi/internal/serviceregistry/ServiceRegistry.ungetS ervice(ServiceRegistry.java:510) at org/eclipse/osgi/framework/internal/core/BundleContextImpl.unget Service(BundleContextImpl.java:636) at com/ibm/ws/jndi/internal/WSContext.resolveObject(WSContext.java: 145) at com/ibm/ws/jndi/internal/WSContext$1.adapt(WSContext.java:258) at com/ibm/ws/jndi/internal/WSContext$1.adapt(WSContext.java:254) at com/ibm/ws/jndi/internal/WSNamingEnumeration.next(WSNamingEnumer ation.java:55)
Local fix
N/A
Problem summary
**************************************************************** * USERS AFFECTED: All users of IBM WebSphere Application * * Server Liberty Profile V8.5.5.0 and * * higher. * **************************************************************** * PROBLEM DESCRIPTION: If deferServletLoad is not being * * used, a JNDI lookup from servlet * * startup will cause a thread hang. * **************************************************************** * RECOMMENDATION: * **************************************************************** A JNDI lookup gets and ungets a reference to the DataSource DS component. When this happens upon servlet load while the server is starting, an application restart is triggered causing the thread to hang.
Problem conclusion
Code was altered to prevent service reference unget when a lookup is performed. The fix for this APAR is currently targeted for inclusion in fix pack 8.5.5.2. Please refer to the Recommended Updates page for delivery information: http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Temporary fix
Comments
APAR Information
APAR number
PI08109
Reported component name
LIBERTY PROFILE
Reported component ID
5724J0814
Reported release
850
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-12-13
Closed date
2014-01-15
Last modified date
2014-01-15
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
LIBERTY PROFILE
Fixed component ID
5724J0814
Applicable component levels
R850 PSY
UP
Document Information
Modified date:
28 April 2022