IBM Support

PI17537: DEADLOCK DETECTED BETWEEN SERVICE INTEGRATION BUS THREADS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When trace is enabled on Websphere Application Server that
    utilizes the Service Integration Bus objectmanager, deadlock
    occurs between the following threads:
    
    CheckpointHelper:
    
    at com/ibm/wbe/objectManager/TreeMap.size(TreeMap.java:242)
    at
    com/ibm/wbe/objectManager/AbstractMap.toString(AbstractMap.java:
    394)
    at
    com/ibm/wbe/objectManager/utils/TraceImpl.getObjectArrayMsg(Trac
    eImpl.java:44)
    at
    com/ibm/wbe/objectManager/utils/TraceImpl.entry(TraceImpl.java:1
    31)
    at
    com/ibm/wbe/objectManager/SingleFileObjectStore.write(SingleFile
    ObjectStore.java:604)
    at
    com/ibm/wbe/objectManager/AbstractSingleFileObjectStore.updateDi
    rectory(AbstractSingleFileObjectStore.java:1252)
    at
    com/ibm/wbe/objectManager/AbstractSingleFileObjectStore.flush(Ab
    stractSingleFileObjectStore.java:1145)
    at
    com/ibm/wbe/objectManager/ObjectManagerState.performCheckpoint(O
    bjectManagerState.java:928)
    ..
    ..
    
    
    RulesEngineThread-7:
    
    at
    com/ibm/wbe/objectManager/AbstractSingleFileObjectStore.reserve(
    AbstractSingleFileObjectStore.java:769)
    at com/ibm/wbe/objectManager/TreeMap.remove(TreeMap.java:1018)
    at
    com/ibm/wbe/server/engine/store/om/ConcurrentHashMap.remove(Conc
    urrentHashMap.java:229)
    ..
    ..
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users of the default messaging provider     *
    *                  for IBM WebSphere Application Server V8.0   *
    *                  and v8.5.                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION: Deadlock between ObjectManager and      *
    *                      WebSphere Business Events (WBE)         *
    *                      RuleEngine threads when tracing         *
    *                      enabled.                                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    As per the "CheckpointHelper" thread in the stacktrace, the
    TraceImpl.entry() method prints the method entry trace for
    SingleFileObjectStore.write() method. It performs a
    .toString() operation which locks "TreeMap" to get the list of
    entries locked by the transaction, adjust the size of the
    tree, and then print the size.
    However, there is no need to lock the "TreeMap" as the
    .toString() method invokes the TreeMap.size() with a
    transaction id as an argument which is passed as "null".
    

Problem conclusion

  • Source code has been modified not to lock the "TreeMap" object
    when the passed transaction is "null".
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 8.0.0.10 and 8.5.5.4. Please refer to the
    Recommended Updates page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

  • Remove "ObjectManager*=all" tracing
    (or)
    Disable class level tracing by adding,
    com.ibm.wbe.objectManager.SingleFileObjectStore=all=disabled
    

Comments

APAR Information

  • APAR number

    PI17537

  • Reported component name

    WAS SIB & SIBWS

  • Reported component ID

    620800101

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-05-08

  • Closed date

    2014-08-18

  • Last modified date

    2014-11-03

  • 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

    WAS SIB & SIBWS

  • Fixed component ID

    620800101

Applicable component levels

  • R800 PSY

       UP

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022