IBM Support

JR32368: SQLEXCEPTION WITH ERROR CODE -4499 USING THE JCC DRIVER WHEN CONNECTED TO A DATABASE WITH CCSID 1153

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When you use the JCC (Java Common Client) driver in an
    application which is connected to a database with
    CCSID (Coded Character Set Identifier) 1153,
    you get a java.sql.SQLException with Error Code -4499.
    The java.sql.SQLException is caused by a
    java.io.UnsupportedEncodingException.
    
    CCSID 1153 is EBCDIC Latin-2 with the euro symbol.
    
    
    If a JCC trace is on when the exception occurs, it will
    contain something like the following messages:
    
     com.ibm.db2.jcc.b.vn
         at com.ibm.db2.jcc.b.bd.a(bd.java:317)
         at com.ibm.db2.jcc.b.bd.a(bd.java:347)
         at com.ibm.db2.jcc.t4.cc.e(cc.java:2245)
         at com.ibm.db2.jcc.t4.cc.a(cc.java:2380)
         at com.ibm.db2.jcc.t4.db.a(db.java:3216)
         at com.ibm.db2.jcc.t4.db.a(db.java:1817)
         at com.ibm.db2.jcc.t4.db.b(db.java:1754)
         at com.ibm.db2.jcc.t4.db.a(db.java:1722)
         at com.ibm.db2.jcc.t4.db.l(db.java:542)
         at com.ibm.db2.jcc.t4.db.k(db.java:332)
         at com.ibm.db2.jcc.t4.db.e(db.java:95)
         at com.ibm.db2.jcc.t4.t.e(t.java:81)
         at com.ibm.db2.jcc.t4.sb.j(sb.java:166)
         at com.ibm.db2.jcc.b.fm.eb(fm.java:2085)
         at com.ibm.db2.jcc.b.gm.e(gm.java:3324)
         at com.ibm.db2.jcc.b.hm.Qb(hm.java:136)
         at com.ibm.db2.jcc.b.hc.a(hc.java:7739)
         at com.ibm.db2.jcc.b.hc.ae(hc.java:6458)
         at com.ibm.db2.jcc.b.hc.getCatalogs(hc.java:6369)
    [...]
     [jcc] BEGIN TRACE_DIAGNOSTICS
     [jcc][Thread:Thread-10][SQLException@76a6d9]
     java.sql.SQLException
     [jcc][Thread:Thread-10][SQLException@76a6d9] SQL state  = null
     [jcc][Thread:Thread-10][SQLException@76a6d9] Error code = -4499
     [jcc][Thread:Thread-10][SQLException@76a6d9] Message    =
     [jcc][t4][10379][11959][3.53.70] Ausnahmebedingung aufgrund der
     unterbrochenen Verbindung zum Client festgestellt:
     [jcc][10275][10261]Nicht unterstチtzte CCSID (ID des codierten
     Zeichensatzes), Codierung oder Lトndereinstellung: "1153".
     ERRORCODE=-4499, SQLSTATE=null
     [jcc][Thread:Thread-10][SQLException@76a6d9] Stack trace
     follows com.ibm.db2.jcc.b.vn: [jcc][t4][10379][11959][3.53.70]
     Ausnahmebedingung aufgrund der unterbrochenen Verbindung zum
     Client festgestellt: [jcc][10275][10261]Nicht unterstチtzte
     CCSID (ID des codierten Zeichensatzes), Codierung oder
     Lトndereinstellung: "1153". ERRORCODE=-4499, SQLSTATE=null
         at com.ibm.db2.jcc.b.bd.a(bd.java:317)
         at com.ibm.db2.jcc.b.bd.a(bd.java:347)
         at com.ibm.db2.jcc.t4.cc.e(cc.java:2245)
         at com.ibm.db2.jcc.t4.cc.a(cc.java:2380)
         at com.ibm.db2.jcc.t4.db.a(db.java:3216)
         at com.ibm.db2.jcc.t4.db.a(db.java:1817)
         at com.ibm.db2.jcc.t4.db.b(db.java:1754)
         at com.ibm.db2.jcc.t4.db.a(db.java:1722)
         at com.ibm.db2.jcc.t4.db.l(db.java:542)
         at com.ibm.db2.jcc.t4.db.k(db.java:332)
         at com.ibm.db2.jcc.t4.db.e(db.java:95)
         at com.ibm.db2.jcc.t4.t.e(t.java:81)
         at com.ibm.db2.jcc.t4.sb.j(sb.java:166)
         at com.ibm.db2.jcc.b.fm.eb(fm.java:2085)
         at com.ibm.db2.jcc.b.gm.e(gm.java:3324)
         at com.ibm.db2.jcc.b.hm.Qb(hm.java:136)
         at com.ibm.db2.jcc.b.hc.a(hc.java:7739)
         at com.ibm.db2.jcc.b.hc.ae(hc.java:6458)
         at com.ibm.db2.jcc.b.hc.getCatalogs(hc.java:6369)
    [...]
     Caused by: java.io.UnsupportedEncodingException:
     [jcc][10275][10261]Nicht unterstチtzte CCSID (ID des codierten
     Zeichensatzes), Codierung oder Lトndereinstellung: "1153".
         at com.ibm.db2.jcc.b.bb.a(bb.java:1052)
         at com.ibm.db2.jcc.t4.cc.e(cc.java:2242)
         ... 28 more
    
    
    The exception occurs because the JCC driver does not support
    CCSID 1153.
    When the IBM JDK implements CCSID 1153 it will do so with
    charset name Cp1153.
    The JDK that you use for an application which connects to a
    database with CCSID 1153 must implement CCSID 1153 with charset
    name Cp1153.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of the IBM Data Server Driver for JDBC and SQLJ (also  *
    * called the JCC driver) who connect to a database with CCSID  *
    * 1153                                                         *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * .                                                            *
    ****************************************************************
    

Problem conclusion

  • Problem was first fixed in Version 9.5 Fix Pack 6
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR32368

  • Reported component name

    DB2 CUE ISERIES

  • Reported component ID

    5724M1501

  • Reported release

    950

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-03-13

  • Closed date

    2011-02-02

  • Last modified date

    2011-02-02

  • 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 CUE ISERIES

  • Fixed component ID

    5724M1501

Applicable component levels

  • R950 PSN

       UP

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

Document Information

Modified date:
12 October 2021