IBM Support

PI15549: INVOKING ISCLOSED() ON NATIVE JDBC CONNECTION RESULTS IN NULLPOINTEREXCEPTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Using the isClosed() API call on the JDBC native connection to
    determine whether the connection has been closed or not,
    results in a NullPointerException when invoked after the
    connection has been closed.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V8.0 and V8.5 invoking isClosed      *
    ****************************************************************
    * PROBLEM DESCRIPTION: Invoking isClosed on native JDBC        *
    *                      connection can result in a              *
    *                      NullPointerException                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The JDBC Wrapper pattern, the Connection.unwrap() is usaully
    used by applications to obtain the native JDBC Connection.
    When the JDBC API Connection.isClosed() is invoked on the
    native JDBC Connection after the connection has been closed,
    then it can result in a NullPointerException.
    

Problem conclusion

  • The WebSphere Relational Resource Adapter code has been
    fixed to handle the NullpointerException appropriately.
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 8.0.0.9 and 8.5.5.3.  Please refer to the
    Recommended Updates page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI15549

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-04-09

  • Closed date

    2014-06-27

  • Last modified date

    2014-06-27

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

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.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022