PQ87525: Deadlock in session manager during serialization of HTTPSession objects

 Fixes are available

5.1.1.17: WebSphere Application Server V5.1.1 Cumulative Fix 17 for AIX
5.1.1.17: WebSphere Application Server V5.1.1 Cumulative Fix 17 for HP-UX
5.1.1.19: WebSphere Application Server V5.1.1 Cumulative Fix 19 for Linux
5.1.1.16: WebSphere Application Server V5.1.1 Cumulative Fix 16 for AIX
5.1.1.18: WebSphere Application Server V5.1.1 Cumulative Fix 18 for AIX
5.1.1.18: WebSphere Application Server V5.1.1 Cumulative Fix 18 for HP-UX
5.1.1.18: WebSphere Application Server V5.1.1 Cumulative Fix 18 for Solaris
5.1.1.18: WebSphere Application Server V5.1.1 Cumulative Fix 18 for Windows
5.1.1.18: WebSphere Application Server V5.1.1 Cumulative Fix 18 for Linux
5.1.1.17: WebSphere Application Server V5.1.1 Cumulative Fix 17 for Linux
5.1.1.17: WebSphere Application Server V5.1.1 Cumulative Fix 17 for Solaris
5.1.1.17: WebSphere Application Server V5.1.1 Cumulative Fix 17 for Windows
5.0.2.17: WebSphere Application Server 5.0.2 Cumulative Fix 17 for Solaris
5.0.2.17: WebSphere Application Server 5.0.2 Cumulative Fix 17 for Windows
5.0.2.14: WebSphere Application Server 5.0.2 Cumulative Fix 14 for Solaris
5.1.1.10: WebSphere Application Server V5.1.1 Cumulative Fix 10 for Windows
5.1.1.10: WebSphere Application Server V5.1.1 Cumulative Fix 10 for AIX
5.1.1.8: WebSphere Application Server 5.1.1 Cumulative Fix 8 for AIX
5.0.2.14: WebSphere Application Server 5.0.2 Cumulative Fix 14 for Linux
5.1.1.19: WebSphere Application Server V5.1.1 Cumulative Fix 19 for AIX
5.1.1.8: WebSphere Application Server 5.1.1 Cumulative Fix 8 for Windows
5.1.1.19: WebSphere Application Server V5.1.1 Cumulative Fix 19 for Windows
5.1.1.8: WebSphere Application Server 5.1.1 Cumulative Fix 8 for HP-UX
5.1.1.9: WebSphere Application Server V5.1.1 Cumulative Fix 9 for Solaris
5.1.1.8: WebSphere Application Server 5.1.1 Cumulative Fix 8 for Solaris
5.0.2.15: WebSphere Application Server 5.0.2 Cumulative Fix 15 for Windows
5.0.2.15: WebSphere Application Server 5.0.2 Cumulative Fix 15 for Solaris
5.0.2.15: WebSphere Application Server 5.0.2 Cumulative Fix 15 for AIX
5.1.1.9: WebSphere Application Server V5.1.1 Cumulative Fix 9 for AIX
5.0.2.15: WebSphere Application Server 5.0.2 Cumulative Fix 15 for Linux
5.0.2.12: WebSphere Application Server 5.0.2 Cumulative Fix 12
5.1.1.6: WebSphere Application Server Version 5.1.1 Cumulative Fix 6
5.1.1.7: WebSphere Application Server Version 5.1.1 Cumulative Fix 7
5.0.2.14: WebSphere Application Server 5.0.2 Cumulative Fix 14 for HP-UX
5.0.2.14: WebSphere Application Server 5.0.2 Cumulative Fix 14 for AIX
5.1.1.4: WebSphere Application Server Version 5.1.1 Cumulative Fix 4
5.1.1.9: WebSphere Application Server V5.1.1 Cumulative Fix 9 for Windows
5.0.2.17: WebSphere Application Server 5.0.2 Cumulative Fix 17 for HP-UX
5.0.2.17: WebSphere Application Server 5.0.2 Cumulative Fix 17 for AIX
5.1.1.11: WebSphere Application Server V5.1.1 Cumulative Fix 11 for AIX
5.0.2.17: WebSphere Application Server 5.0.2 Cumulative Fix 17 for Linux
5.1.1.10: WebSphere Application Server V5.1.1 Cumulative Fix 10 for HP-UX
5.1.1.10: WebSphere Application Server V5.1.1 Cumulative Fix 10 for Linux
5.1.1.9: WebSphere Application Server V5.1.1 Cumulative Fix 9 for HP-UX
5.1.1.9: WebSphere Application Server V5.1.1 Cumulative Fix 9 for Linux
5.0.2.16: WebSphere Application Server 5.0.2 Cumulative Fix 16 for HP-UX
5.1.1.12: WebSphere Application Server V5.1.1 Cumulative Fix 12 for Windows
5.0.2.16: WebSphere Application Server 5.0.2 Cumulative Fix 16 for Solaris
5.0.2.8: WebSphere Application Server V5.0.2 Cumulative Fix 8
5.0.2.16: WebSphere Application Server 5.0.2 Cumulative Fix 16 for Windows
5.0.2.16: WebSphere Application Server 5.0.2 Cumulative Fix 16 for AIX
5.1.1.11: WebSphere Application Server V5.1.1 Cumulative Fix 11 for Windows
5.1.1.16: WebSphere Application Server V5.1.1 Cumulative Fix 16 for Solaris
5.0.2.18: WebSphere Application Server 5.0.2 Cumulative Fix 18 for Solaris
5.1.1.11: WebSphere Application Server V5.1.1 Cumulative Fix 11 for Linux
5.0.2.18: WebSphere Application Server 5.0.2 Cumulative Fix 18 for Windows
5.0.2.18: WebSphere Application Server 5.0.2 Cumulative Fix 18 for HP-UX
5.0.2.18: WebSphere Application Server 5.0.2 Cumulative Fix 18 for AIX
5.1.1.16: WebSphere Application Server V5.1.1 Cumulative Fix 16 for Windows
5.1.1.14: WebSphere Application Server V5.1.1 Cumulative Fix 14 for Solaris
5.1.1.1: WebSphere Application Server Express 5.1.1 Cumulative Fix 1
5.0.2.14: WebSphere Application Server 5.0.2 Cumulative Fix 14 for Windows
5.1.1.12: WebSphere Application Server V5.1.1 Cumulative Fix 12 for AIX
5.1.1.12: WebSphere Application Server V5.1.1 Cumulative Fix 12 for Linux
5.1.1.12: WebSphere Application Server V5.1.1 Cumulative Fix 12 for HP-UX
5.1.1.12: WebSphere Application Server V5.1.1 Cumulative Fix 12 for Solaris
5.1.1.11: WebSphere Application Server V5.1.1 Cumulative Fix 11 for Solaris
5.1.1.13: WebSphere Application Server V5.1.1 Cumulative Fix 13 for AIX
5.1.1.13: WebSphere Application Server V5.1.1 Cumulative Fix 13 for Windows
5.0.2.13: WebSphere Application Server 5.0.2 Cumulative Fix 13
5.1.1.13: WebSphere Application Server V5.1.1 Cumulative Fix 13 for HP-UX
5.1.1.15: WebSphere Application Server V5.1.1 Cumulative Fix 15 for Solaris
5.1.1.13: WebSphere Application Server V5.1.1 Cumulative Fix 13 for Solaris
5.1.1.13: WebSphere Application Server V5.1.1 Cumulative Fix 13 for Linux
5.1.1.14: WebSphere Application Server V5.1.1 Cumulative Fix 14 for AIX
5.1.1.14: WebSphere Application Server V5.1.1 Cumulative Fix 14 for Linux
5.1.1.14: WebSphere Application Server V5.1.1 Cumulative Fix 14 for Windows
5.1.1.15: WebSphere Application Server V5.1.1 Cumulative Fix 15 for Windows
5.0.2.18: WebSphere Application Server 5.0.2 Cumulative Fix 18 for Linux
5.1.1.11: WebSphere Application Server V5.1.1 Cumulative Fix 11 for HP-UX
5.1.1.14: WebSphere Application Server V5.1.1 Cumulative Fix 14 for HP-UX
5.1.1.8: WebSphere Application Server 5.1.1 Cumulative Fix 8 for Linux
5.0.2.15: WebSphere Application Server 5.0.2 Cumulative Fix 15 for HP-UX
5.0.2.16: WebSphere Application Server 5.0.2 Cumulative Fix 16 for Linux
5.1.1.10: WebSphere Application Server V5.1.1 Cumulative Fix 10 for Solaris
5.1.1.15: WebSphere Application Server V5.1.1 Cumulative Fix 15 for AIX
5.1.1.15: WebSphere Application Server V5.1.1 Cumulative Fix 15 for HP-UX
5.1.1.16: WebSphere Application Server V5.1.1 Cumulative Fix 16 for HP-UX
5.1.1.16: WebSphere Application Server V5.1.1 Cumulative Fix 16 for Linux
5.1.1.15: WebSphere Application Server V5.1.1 Cumulative Fix 15 for Linux
5.1.1.1: WebSphere Application Server Version 5.1.1 Cumulative Fix 1
5.1.1.19: WebSphere Application Server V5.1.1 Cumulative Fix 19 for HP-UX



APAR status
Closed as program error.

Error description
Deadlock in session manager during serialization of HTTPSession
objects
The Following is the stack trace we notice in the
javacores, when the Problem occurs
------------------------------------------
1LKDEADLOCK    Deadlock detected !!!
NULL           ---------------------
NULL
2LKDEADLOCKTHR  Thread "Servlet.Engine.Transports : 7"
(0x3FE3C6F0)
3LKDEADLOCKWTR    is waiting for:
4LKDEADLOCKMON      sys_mon_t:0x3FE6A1B8 infl_mon_t: 0x00000000:
4LKDEADLOCKOBJ      java.util.Properties@30B55290/30B55298:
3LKDEADLOCKOWN    which is owned by:
2LKDEADLOCKTHR  Thread
"com.ibm.disthub.impl.jms.SessionDispatcher@3205799e"
(0x3CD77710)
3LKDEADLOCKWTR    which is waiting for:
4LKDEADLOCKMON      sys_mon_t:0x42106D88 infl_mon_t: 0x00000000:
4LKDEADLOCKOBJ
com.ibm.ws.webcontainer.httpsession.DRSSessionData@332CFE28/332C
FE30:
3LKDEADLOCKOWN    which is owned by:
2LKDEADLOCKTHR  Thread "Servlet.Engine.Transports : 7"
-------------------------------------------------
"Servlet.Engine.Transports : 7" (TID:0x314DE0D8, sys_thread_
t:0x3FE3C6F0, state:CW, native ID:0x6672) prio=5
java.util.Hashtable.writeObject(Hashtable.java(Compiled Code))
java.lang.reflect.Method.invoke(Native Method)
com.ibm.ws.drs.DRSUtils.getBytes(DRSUtils.java(Compiled Code))
com.ibm.ws.drs.DRSCacheApp.getBytes(DRSCacheApp.java(Inlined
Compiled Code))
com.ibm.ws.drs.DRSAPI.updateEntryProp(DRSAPI.java(Compiled
Code))
com.ibm.ws.drs.DRSCacheApp.updateEntryProp(DRSCacheApp.java(Comp
iled Code))
com.ibm.ws.webcontainer.httpsession.DRSBackedHashtable.handlePro
pertyHits(
DRSBackedHashtable.java(Compiled Code))
com.ibm.ws.webcontainer.httpsession.DRSBackedHashtable.persistSe
ssion
(DRSBackedHashtable.java)
Local fix
No Fix/workaround available
Problem summary
****************************************************************
* USERS AFFECTED: All WebSphere Application Server users       *
*                 of http sessions and m2m replication         *
****************************************************************
* PROBLEM DESCRIPTION: --------------------------------        *
*                      1LKDEADLOCK    Deadlock detected !!!    *
*                                                              *
*                      NULL           ---------------------    *
*                                                              *
*                      NULL                                    *
*                                                              *
*                      Thread "Servlet.Engine.Transports :     *
*                      7" (0x3FE3C6F0)                         *
*                      is waiting for:                         *
*                                                              *
*                      sys_mon_t:0x3FE6A1B8 infl_mon_t:        *
*                      0x00000000:                             *
*                      java.util.Properties@30B55290/30B55298: *
*                                                              *
*                      which is owned by:                      *
*                                                              *
*                      2LKDEADLOCKTHR  Thread                  *
*                                                              *
*                      "com.ibm.disthub.impl.jms.              *
*                      SessionDispatcher@3205799e"             *
*                      (0x3CD77710)                            *
*                      3LKDEADLOCKWTR    which is waiting      *
*                      for:                                    *
*                      4LKDEADLOCKMON                          *
*                      sys_mon_t:0x42106D88 infl_mon_t:        *
*                      0x00000000:                             *
*                      4LKDEADLOCKOBJ                          *
*                                                              *
*                      com.ibm.ws.webcontainer.httpsession.    *
*                      DRSSessionData@332CFE28/332CFE30:       *
*                      3LKDEADLOCKOWN    which is owned by:    *
*                                                              *
*                      2LKDEADLOCKTHR  Thread                  *
*                      "Servlet.Engine.Transports : 7"         *
*                      (0x3FE3C6F0)                            *
*                      NULL                                    *
*                                                              *
*                      NULL                                    *
*                                                              *
*                      ------------------------------          *
*                      3XMTHREADINFO                           *
*                      "Servlet.Engine.Transports : 7"         *
*                      (TID:0x314DE0D8,                        *
*                      sys_thread_t:0x3FE3C6F0, state:CW,      *
*                      native ID:0x6672) prio=5                *
*                      4XESTACKTRACE          at               *
*                                                              *
*                      java.util.Hashtable.writeObject         *
*                      (Hashtable.java(Compiled Code))         *
*                                                              *
*                      4XESTACKTRACE          at               *
*                      java.lang.reflect.Method.invoke(Native  *
*                      Method)                                 *
*                      4XESTACKTRACE          at               *
*                                                              *
*                      java.io.ObjectOutputStream.             *
*                      invokeObjectWriter                      *
*                      (ObjectOutputStream.java(Compiled       *
*                      Code))                                  *
*                                                              *
*                      4XESTACKTRACE          at               *
*                                                              *
*                      java.io.ObjectOutputStream.outputObject *
*                      (ObjectOutputStream.java(Compiled       *
*                      Code))                                  *
*                                                              *
*                      4XESTACKTRACE          at               *
*                                                              *
*                      java.io.ObjectOutputStream.writeObject  *
*                      (ObjectOutputStream.java(Compiled       *
*                      Code))                                  *
*                                                              *
*                      4XESTACKTRACE          at               *
*                                                              *
*                      java.io.ObjectOutputStream.             *
*                      outputClassFields                       *
*                      (ObjectOutputStream.java(Compiled       *
*                      Code))                                  *
*                                                              *
*                      4XESTACKTRACE          at               *
*                                                              *
*                      java.io.ObjectOutputStream.             *
*                      defaultWriteObject                      *
*                      (ObjectOutputStream.java(Compiled       *
*                      Code))                                  *
*                                                              *
*                      4XESTACKTRACE          at               *
*                                                              *
*                      java.io.ObjectOutputStream.             *
*                      outputObject(ObjectOutputStream.java    *
*                      (CompiledCode))                         *
*                                                              *
*                                                              *
*                      4XESTACKTRACE          at               *
*                                                              *
*                      java.io.ObjectOutputStream.writeObject  *
*                      (ObjectOutputStream.java(CompiledCode)) *
*                                                              *
*                                                              *
*                      4XESTACKTRACE          at               *
*                                                              *
*                      com.ibm.ws.drs.DRSUtils.getBytes        *
*                      (DRSUtils.java(Compiled Code))          *
*                                                              *
*                      4XESTACKTRACE          at               *
*                                                              *
*                      com.ibm.ws.drs.DRSCacheApp.getBytes     *
*                      (DRSCacheApp.java(Inlined Compiled      *
*                      Code))                                  *
*                                                              *
*                      4XESTACKTRACE          at               *
*                                                              *
*                      com.ibm.ws.webcontainer.httpsession.    *
*                      DRSHttpSessCache.setJCMPropObj          *
*                      (DRSHttpSessCache.java(Compiled         *
*                      Code))                                  *
*                                                              *
*                      4XESTACKTRACE          at               *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
The isValid() method in SessionData was un-necessarily
synchronized, which caused the deadlock.
Problem conclusion
The code is fixed to correct this problem.
Temporary fix
Fix uploaded to 
PQ99999.
Comments
APAR information
APAR number PQ87525
Reported component name WAS BASE 5.0
Reported component ID 5630A3600
Reported release 00A
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Special Attention NoSpecatt
Submitted date 2004-04-13
Closed date 2004-08-11
Last modified date 2004-08-11

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
SESSION          

Publications Referenced

Fix information

Applicable component levels
R003 PSY    UP
R00A PSY    UP
R00H PSY    UP
R00I PSY    UP
R00P PSY    UP
R00S PSY    UP
R00W PSY    UP
R103 PSY    UP
R10A PSY    UP
R10H PSY    UP
R10I PSY    UP
R10P PSY    UP
R10S PSY    UP
R10W PSY    UP


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 00A
Software edition:
Reference #: PQ87525
IBM Group: Software Group
Modified date: Aug 11, 2004