IBM Support

IC69089: JDBC/JCC DRIVER ACCEPTS JDBC:DEFAULT:CONNECTION WHEN RUNNING ON CLIENT SIDE.

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • A client using the JDBC/JCC driver will accept the JDBC URL
    jdbc:default:connection which eventually results in the
    exception below:
    
    com.ibm.db2.jcc.b.SqlException: [jcc][10389][12245][3.53.70]
    Failure in
    loading native library db2jcct2, java.lang.UnsatisfiedLinkError:
    db2jcct2 (Not found in java.library.path):  ERRORCODE=-4472,
    SQLSTATE=null
    at com.ibm.db2.jcc.b.bd.a(bd.java:660)
    at com.ibm.db2.jcc.b.bd.a(bd.java:60)
    at com.ibm.db2.jcc.b.bd.a(bd.java:94)
    at com.ibm.db2.jcc.t2.a.a(a.java:37)
    at
    com.ibm.db2.jcc.t2.T2Configuration.<clinit>(T2Configuration.java
    :94)
    at java.lang.J9VMInternals.initializeImpl(Native Method)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:196)
    at com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:211)
    at java.sql.DriverManager.getConnection(DriverManager.java:572)
    at java.sql.DriverManager.getConnection(DriverManager.java:218)
    ...
    ...
    
    Normally jdbc:default:connection is used inside of a Java stored
    procedure/user defined function running on the server side.
    
    There are some environments where multiple JDBC drivers from
    different vendors are loaded into the same JVM.  Some JDBC
    drivers will accept jdbc:default:connection while others do not.
    
    This fix ensures that the IBM JDBC/JCC driver does not try to
    load the db2jcct2 library when it receives the JDBC URL
    jdbc:default:connection to prevent the user from
    believing an error has occurred.
    

Local fix

  • Do not use the JDBC URL jdbc:default:connection when trying to
    establish a connection to the DB2 database from a client.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * JCC Driver                                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to  DB2 10.5 Fix Pack 7 (JCC driver version 3.61.86) *
    ****************************************************************
    

Problem conclusion

  • First fixed in DB2 10.5 Fix Pack 7 (JCC driver version 3.61.86)
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC69089

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    950

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2010-06-09

  • Closed date

    2017-05-11

  • Last modified date

    2017-05-11

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

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

    IC69090

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R950 PSN

       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":"9.5","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
11 May 2017