IBM Support

IZ32618: DEADLOCK SITUATION OBSERVED WHEN TWO OR MORE BATCH PROGRAMS RUN CONCURRENTLY ON SERVER WAS XA EDITION.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • With two or more batch programs running on the server (WAS XD
    edition), a deadlock situation could be detected and XA
    exception would be raised. The T4XAResource.start method should
    not be declared as "synchronized" since we synchronize on
    connection object.
    
    The stack trace would show the following #
    
    4XESTACKTRACE at com.ibm.db2.jcc.c.ic.start(ic.java(Compiled
    Code))
    4XESTACKTRACE at com.ibm.db2.jcc.c.c.b(c.java(Compiled Code))
    4XESTACKTRACE at com.ibm.db2.jcc.a.j.h(j.java(Compiled Code))
    4XESTACKTRACE at com.ibm.db2.jcc.c.a.h(a.java(Compiled Code))
    
    
    The javacore entries are as follows #
    
    
    1LKDEADLOCK Deadlock detected !!!
    NULL ---------------------
    NULL
    2LKDEADLOCKTHR Thread
    "java.lang.ThreadGroup[name=DefaultWorkManager:
    BatchExtensionEAR_tnbadc02,maxpri=1" (0x40344428)
    3LKDEADLOCKWTR is waiting for:
    4LKDEADLOCKMON sys_mon_t:0x434465D8 infl_mon_t: 0x00000000:
    4LKDEADLOCKOBJ com.ibm.db2.jcc.c.ic@7B90AD48/7B90AD50:
    3LKDEADLOCKOWN which is owned by:
    2LKDEADLOCKTHR Thread
    "java.lang.ThreadGroup[name=DefaultWorkManager:
    BatchExtensionEAR_tnbadc02,maxpri=1" (0x39FC64A8)
    3LKDEADLOCKWTR which is waiting for:
    4LKDEADLOCKMON sys_mon_t:0x427360E8 infl_mon_t: 0x00000000:
    4LKDEADLOCKOBJ com.ibm.db2.jcc.c.c@7B5F9B58/7B5F9B60:
    3LKDEADLOCKOWN which is owned by:
    2LKDEADLOCKTHR Thread
    "java.lang.ThreadGroup[name=DefaultWorkManager:
    BatchExtensionEAR_tnbadc02,maxpri=1" (0x40344428)
    

Local fix

  • If you are using Webshpere "share connection" feature, please
    disable / uncheck the same.
    

Problem summary

  • First to be fixed in DB2 v8FP18
    

Problem conclusion

  • First to be fixed in DB2 v8FP18
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ32618

  • Reported component name

    DB2 UDB ESE AIX

  • Reported component ID

    5765F4100

  • Reported release

    820

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-09-18

  • Closed date

    2009-02-23

  • Last modified date

    2009-02-23

  • 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

    DB2 UDB ESE AIX

  • Fixed component ID

    5765F4100

Applicable component levels

  • R820 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"820","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
23 February 2009