IBM Support

IC67694: XAER_OUTSIDE, hang or connection leak in JDBC/JCC driver

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When the JDBC/JCC driver switches between XA (2 phase commit)
    local/global transactions in some cases it may not reuse an
    existing TransportObject.  Instead it creates a new connection
    which results in a connection leakage and you may notice that
    increasing JDBC property maxTransportObject may delay the amount
    of time before the application hangs.
    
    Another possible symptom is XAER_OUTSIDE (Resource Manager doing
    work outside global transaction) or hang when trying to start a
    new XA transaction.
    
    This error applies only when the JDBC/JCC driver is connected to
    DB2 for z/OS using the XA connection.
    

Local fix

  • Set JDBC/JCC property:
    
    queryCloseImplicit=DB2BaseDataSource.QUERY_CLOSE_IMPLICIT_NO (2)
    
    Please note this workaround only resolves the XAER_OUTSIDE
    issue.  It does not resolve the hang or connection leakage
    problem.
    

Problem summary

  • See ERROR DESCRIPTION.
    

Problem conclusion

  • Fix was first included in v9.7 Fixpack 2 (s100514).  At minimum
    this fix should be applied to the client.
    

Temporary fix

  • See LOCAL FIX.
    

Comments

APAR Information

  • APAR number

    IC67694

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-04-09

  • Closed date

    2010-07-19

  • Last modified date

    2010-07-19

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    IC67695 IC67698

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R820 PSN

       UP

  • R910 PSN

       UP

  • R950 PSN

       UP

  • R970 PSN

       UP

  • R980 PSN

       UP

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.7"}]

Document Information

Modified date:
16 September 2021