APAR status
Closed as program error.
Error description
Deadlock in Portal BusinessComponentServiceImpl Issue is with Portal code getDOFromCache() method within com.ibm.wps.ai.rt.impl.service.BusinessComponentServiceImpl. The following are two threads deadlock: 3XMTHREADINFO "WebContainer : 28" (TID:0x0000000057C1F800, sys_thread_t:0x000000001FDEDD38, state:B, native ID:0x00000000000011A8) prio=5 4XESTACKTRACE at com/ibm/ws/cache/CacheEntry.getValue(CacheEntry.java:616 (Compiled Code)) 4XESTACKTRACE at com/ibm/ws/cache/Cache.remove(Cache.java:1514(Compiled Code)) 4XESTACKTRACE at com/ibm/ws/cache/Cache.internalInvalidateById(Cache.java:1369 (Compiled Code)) 4XESTACKTRACE at com/ibm/ws/cache/Cache.batchUpdate(Cache.java:1275(Compiled Code)) 4XESTACKTRACE at com/ibm/ws/cache/BatchUpdateDaemon.wakeUp(BatchUpdateDaemon .java :353(Compiled Code)) 4XESTACKTRACE at com/ibm/ws/cache/BatchUpdateDaemon .invalidateById(BatchUpdateDaemon.java:167(Compiled Code)) 4XESTACKTRACE at com/ibm/ws/cache/BatchUpdateDaemon .invalidateById(BatchUpdateDaemon.java:128(Compiled Code)) 4XESTACKTRACE at com/ibm/ws/cache/Cache.invalidateById(Cache.java:1225(Compiled Code)) 4XESTACKTRACE at com/ibm/ws/cache/Cache.invalidateById(Cache.java:1213(Compiled Code)) 4XESTACKTRACE at com/ibm/ws/cache/DistributedObjectCacheAdapter .common_invalidate (DistributedObjectCacheAdapter.java:1223(Compiled Code)) 4XESTACKTRACE at com/ibm/ws/cache/DistributedMapImpl .invalidate(DistributedMapImpl.java(Compiled Code)) 4XESTACKTRACE at com/ibm/wps/services/cache/DistributedMapCache .invalidate(DistributedMapCache.java:167(Compiled Code)) 4XESTACKTRACE at com/ibm/wps/services/cache/TransactionAwareCache .invalidate(TransactionAwareCache.java:290(Compiled Code)) 4XESTACKTRACE at com/ibm/wps/ai/rt/impl/service/BusinessComponentServiceImpl .setMetaData(BusinessComponentServiceImpl.java:433 (Compiled Code)) 3XMTHREADINFO "WebContainer : 34" (TID:0x00000000582C4200, sys_thread_t:0x000000002006BD78, state:B, native ID:0x00000000000008DC) prio=5 4XESTACKTRACE at com/ibm/ws/cache/CacheEntry.finish(CacheEntry .java:1224(Compiled Code)) 4XESTACKTRACE at com/ibm/ws/cache/Cache.getValue(Cache.java:1189(Compiled Code)) 4XESTACKTRACE at com/ibm/ws/cache/DistributedObjectCacheAdapter .common_get(DistributedObjectCacheAdapter.java:531 (Compiled Code)) 4XESTACKTRACE at com/ibm/ws/cache/DistributedMapImpl.get(DistributedMapImpl .java:62(Compiled Code)) 4XESTACKTRACE at com/ibm/wps/services/cache/DistributedMapCache .get(DistributedMapCache.java:116(Compiled Code)) 4XESTACKTRACE at com/ibm/wps/services/cache/TransactionAwareCache .getComittedValue(TransactionAwareCache.java:809 (Compiled Code)) 4XESTACKTRACE at com/ibm/wps/services/cache/TransactionAwareCache .get(TransactionAwareCache.java:359(Compiled Code)) 4XESTACKTRACE at com/ibm/wps/ai/rt/impl/service/BusinessComponentServiceImpl .getDOFromCache(BusinessComponentServiceImpl.java:185( Compiled Code)) 4XESTACKTRACE at com/ibm/wps/ai/rt/impl/service/BusinessComponentServiceImpl .getPreferenceValue(BusinessComponentServiceImpl.java:612 (Compiled Code))
Local fix
Problem summary
Issue is with Portal code getDOFromCache() method within com.ibm.wps.ai.rt.impl.service.BusinessComponentServiceImpl. The following are two threads deadlocked: 3XMTHREADINFO "WebContainer : 28" (TID:0x0000000057C1F800, sys_thread_t:0x000000001FDEDD38, state:B, native ID:0x00000000000011A8) prio=5 4XESTACKTRACE at com/ibm/ws/cache/CacheEntry.getValue(CacheEntry.java:616(Compile d Code)) 4XESTACKTRACE at com/ibm/ws/cache/Cache.remove(Cache.java:1514(Compiled Code)) 4XESTACKTRACE at com/ibm/ws/cache/Cache.internalInvalidateById(Cache.java:1369(Co mpiled Code)) 4XESTACKTRACE at com/ibm/ws/cache/Cache.batchUpdate(Cache.java:1275(Compiled Code)) 4XESTACKTRACE at com/ibm/ws/cache/BatchUpdateDaemon.wakeUp(BatchUpdateDaemon.java :353(Compiled Code)) 4XESTACKTRACE at com/ibm/ws/cache/BatchUpdateDaemon.invalidateById(BatchUpdateDae mon.java:167(Compiled Code)) 4XESTACKTRACE at com/ibm/ws/cache/BatchUpdateDaemon.invalidateById(BatchUpdateDae mon.java:128(Compiled Code)) 4XESTACKTRACE at com/ibm/ws/cache/Cache.invalidateById(Cache.java:1225(Compiled Code)) 4XESTACKTRACE at com/ibm/ws/cache/Cache.invalidateById(Cache.java:1213(Compiled Code)) 4XESTACKTRACE at com/ibm/ws/cache/DistributedObjectCacheAdapter.common_invalidate (DistributedObjectCacheAdapter.java:1223(Compiled Code)) 4XESTACKTRACE at com/ibm/ws/cache/DistributedMapImpl.invalidate(DistributedMapImp l.java(Compiled Code)) 4XESTACKTRACE at com/ibm/wps/services/cache/DistributedMapCache.invalidate(Distri butedMapCache.java:167(Compiled Code)) 4XESTACKTRACE at com/ibm/wps/services/cache/TransactionAwareCache.invalidate(Tran sactionAwareCache.java:290(Compiled Code)) 4XESTACKTRACE at com/ibm/wps/ai/rt/impl/service/BusinessComponentServiceImpl.setM etaData(BusinessComponentServiceImpl.java:433(Compiled Code)) 3XMTHREADINFO "WebContainer : 34" (TID:0x00000000582C4200, sys_thread_t:0x000000002006BD78, state:B, native ID:0x00000000000008DC) prio=5 4XESTACKTRACE at com/ibm/ws/cache/CacheEntry.finish(CacheEntry.java:1224(Compiled Code)) 4XESTACKTRACE at com/ibm/ws/cache/Cache.getValue(Cache.java:1189(Compiled Code)) 4XESTACKTRACE at com/ibm/ws/cache/DistributedObjectCacheAdapter.common_get(Distri butedObjectCacheAdapter.java:531(Compiled Code)) 4XESTACKTRACE at com/ibm/ws/cache/DistributedMapImpl.get(DistributedMapImpl.java: 62(Compiled Code)) 4XESTACKTRACE at com/ibm/wps/services/cache/DistributedMapCache.get(DistributedMa pCache.java:116(Compiled Code)) 4XESTACKTRACE at com/ibm/wps/services/cache/TransactionAwareCache.getComittedValu e(TransactionAwareCache.java:809(Compiled Code)) 4XESTACKTRACE at com/ibm/wps/services/cache/TransactionAwareCache.get(Transaction AwareCache.java:359(Compiled Code)) 4XESTACKTRACE at com/ibm/wps/ai/rt/impl/service/BusinessComponentServiceImpl.getD OFromCache(BusinessComponentServiceImpl.java:185(Compiled Code)) 4XESTACKTRACE at com/ibm/wps/ai/rt/impl/service/BusinessComponentServiceImpl.getP referenceValue(BusinessComponentServiceImpl.java:612(Compiled Code))
Problem conclusion
Removed synchronization on business component ID, because this is also used as cache key in the thread-safe cache. Failing Module(s): Composite Applications Affected Users: All users Version Information: Portal Version(s): 6.1.0.3 Pre-Requisite(s): --- Co-Requisite(s): --- Manuel Steps: None Platform Specific: This fix applies to all platforms. PM14641 is part of Cumulative Fix 06 for Portal 6.1.0.3/6.1.5.0. The fix is available from Fix Central: http://www.ibm.com/eserver/support/fixes/fixcentral/swgquickorde r?apar=PM14900&productid=WebSphere%20Portal&brandid=5 You may need to type or paste the complete address into your Web browser.
Temporary fix
Comments
APAR Information
APAR number
PM14641
Reported component name
WEBSPHERE PORTA
Reported component ID
5724E7600
Reported release
61C
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2010-05-18
Closed date
2010-07-20
Last modified date
2010-07-20
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
WEBSPHERE PORTA
Fixed component ID
5724E7600
Applicable component levels
R61C PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSHRKX","label":"WebSphere Portal"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1.0.3","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]
Document Information
Modified date:
21 December 2021