PK50969: DEADLOCK IN WEBCONTAINER CODE WHEN HOT DEPLOY NEW OR UPDATED CLASSFILES | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description Deadlock in webcontainer code when hot deploy new/updated classfiles in WAS 5.1.1.9Local fix nonProblem summary **************************************************************** * USERS AFFECTED: All IBM WebSphere Application Server release * * 5.1.1.9 and later customers. * **************************************************************** * PROBLEM DESCRIPTION: During a hot deployment of new or * * updated classfile(s), a server * * hanging condition might occur. * **************************************************************** * RECOMMENDATION: * **************************************************************** During a hot deployment of new class file(s), you might experience a server hanging condition. The following stacktrace might suggest that the hang is happening: "Servlet.Engine.Transports : 28945" (TID:0x31AE93C0,sys_thread_t:0x7909B6A0, state:CW, native ID:0x5245) prio=5 at com.ibm.ws.webcontainer.srt.CachedTargets.removeCachedObject (CachedTargets.java(Compiled Code)) at com.ibm.ws.webcontainer.cache.invocation.CachedObject. alertRemovedFromCache(CachedObject.java(Compiled Code)) at com.ibm.ws.webcontainer.cache.invocation. CacheableInvocationContext.postRemovedFromCacheHook (CacheableInvocationContext.java(Compiled Code)) at com.ibm.ws.webcontainer.cache.invocation.CachedObject. alertRemovedFromCache(CachedObject.java(Compiled Code)) at com.ibm.ws.webcontainer.cache.invocation.InvocationCache. remove(InvocationCache.java(Compiled Code)) at com.ibm.ws.webcontainer.util.LRUCache.put(LRUCache.java (Compiled Code)) at com.ibm.ws.webcontainer.cache.invocation.InvocationCache.put (InvocationCache.java(Compiled Code)) at com.ibm.ws.webcontainer.srp.ServletRequestProcessor. dispatchByURI(ServletRequestProcessor.java(Compiled Code)) at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher. service(OSEListener.java(Compiled Code)) at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest (HttpConnection.java(Compiled Code)) at com.ibm.ws.http.HttpConnection.readAndHandleRequest (HttpConnection.java(Compiled Code)) at com.ibm.ws.http.HttpConnection.run(HttpConnection.java (Compiled Code)) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code)) "Thread-3" (TID:0x302D9B70,sys_thread_t:0x787EF0A0,state:CW, nativeID:0x1415) prio=5 at com.ibm.ws.webcontainer.util.LRUCache.remove(LRUCache.java (Compiled Code)) at com.ibm.ws.webcontainer.cache.invocation.InvocationCache. remove(InvocationCache.java (Compiled Code)) at com.ibm.ws.webcontainer.cache.invocation.InvocationCache. removeCachedObject (InvocationCache.java:84) at com.ibm.ws.webcontainer.cache.invocation.CachedObject. invalidate (CachedObject.java(Compiled Code)) at ..... During the deployment time, the Application Server is trying to invalidate an application caches. This process requires some locking on the cache objects. At the same time, the application is also serving other requests requiring a lock on the related cache area. A deadlock might occur if these actions take place simultaneously.Problem conclusion The WebContainer is updated to prevent a deadlock condition while an application is being served and a new class files(s) is being deployed simultaneously. A lock-ahead mechanism is imposed, and both processes are required to obtain this flag before they can proceed any further. The fix for this APAR is currently targeted for inclusion in cumulative fix 5.1.1.17. Please refer to the recommended updates page for delivery information: http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980Temporary fix ZE Fix Error. See PK63329 2008/04/14Comments
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
Publications Referenced
|
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server > General
Operating system(s):
Software version: 10A
Software edition:
Reference #: PK50969
IBM Group: Software Group
Modified date: Apr 14, 2008
(C) Copyright IBM Corporation 2000, 2008. All Rights Reserved.