IBM Support

PM42739: CEI - EXCEPTION WHEN USING MICROSOFT SQL SERVER JDBC DRIVER "SQLJDBC.JAR" WITH JRE 1.6

Fixes are available

7.0.0.21: WebSphere Application Server V7.0 Fix Pack 21
7.0.0.23: WebSphere Application Server V7.0 Fix Pack 23
7.0.0.25: WebSphere Application Server V7.0 Fix Pack 25
7.0.0.27: WebSphere Application Server V7.0 Fix Pack 27
7.0.0.29: WebSphere Application Server V7.0 Fix Pack 29
7.0.0.31: WebSphere Application Server V7.0 Fix Pack 31
7.0.0.27: Java SDK 1.6 SR13 FP2 Cumulative Fix for WebSphere Application Server
7.0.0.33: WebSphere Application Server V7.0 Fix Pack 33
7.0.0.35: WebSphere Application Server V7.0 Fix Pack 35
7.0.0.37: WebSphere Application Server V7.0 Fix Pack 37
7.0.0.39: WebSphere Application Server V7.0 Fix Pack 39
7.0.0.41: WebSphere Application Server V7.0 Fix Pack 41
7.0.0.43: WebSphere Application Server V7.0 Fix Pack 43
7.0.0.45: WebSphere Application Server V7.0 Fix Pack 45
7.0.0.21: Java SDK 1.6 SR9 FP2 Cumulative Fix for WebSphere
7.0.0.23: Java SDK 1.6 SR10 FP1 Cumulative Fix for WebSphere
7.0.0.25: Java SDK 1.6 SR11 Cumulative Fix for WebSphere Application Server
7.0.0.27: Java SDK 1.6 SR12 Cumulative Fix for WebSphere Application Server
7.0.0.29: Java SDK 1.6 SR13 FP2 Cumulative Fix for WebSphere Application Server
7.0.0.45: Java SDK 1.6 SR16 FP60 Cumulative Fix for WebSphere Application Server
7.0.0.31: Java SDK 1.6 SR15 Cumulative Fix for WebSphere Application Server
7.0.0.35: Java SDK 1.6 SR16 FP1 Cumulative Fix for WebSphere Application Server
7.0.0.37: Java SDK 1.6 SR16 FP3 Cumulative Fix for WebSphere Application Server
7.0.0.39: Java SDK 1.6 SR16 FP7 Cumulative Fix for WebSphere Application Server
7.0.0.41: Java SDK 1.6 SR16 FP20 Cumulative Fix for WebSphere Application Server
7.0.0.43: Java SDK 1.6 SR16 FP41 Cumulative Fix for WebSphere Application Server

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The use of Microsoft SQL Server JDBC driver classes existing
    in "sqljdbc.jar" in Common Event Infrastructure (CEI)
    configuration with Java Runtime Environment (JRE) version 1.6
    leads to the following error:
    Could not invoke an operation on object:
    WebSphere:name=DataSourceCfgHelper,process=nodeagent,platform=dy
    namicproxy,node=<node name>,version=<product
    version>,type=DataSourceCfgHelper,mbeanIdentifier=DataSourceCfgH
    elper,cell=<cell name>,spec=1.0 because of an mbean exception:
    java.lang.UnsupportedOperationException: Java Runtime
    Environment (JRE) version 1.6 is not supported by this driver.
    Use the sqljdbc4.jar class library, which provides support for
    JDBC 4.0.
    
    In order to support Microsoft SQL Server JDBC 3.0 driver
    (sqljdbc4.jar), the parameter jdbcDriverVersion has been added
    for the command configEventServiceSQLServerDB.
    The parameter can be specified only when Microsoft JDBC driver
    is used (the parameter jdbcProviderType has the value
    "microsoftjdbc", which is the default value). In this case,
    the following values are accepted for the parameter
    jdbcDriverVersion:
    - "1.2", the default value, configures CEI to use the classes
    in sqljdbc.jar
    - "2.0" configures CEI to use the classes in sqljdbc4.jar
    - "3.0" configures CEI to use the classes in sqljdbc4.jar
    For other values of the parameter the command
    configEventServiceSQLServerDB returns an exception.
    If the parameter jdbcDriverVersion is specified and the
    jdbcProviderType is not "microsoftjdbc" the command
    configEventServiceSQLServerDB returns also an exception.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V7.0 configuring Common Event        *
    *                  Infrastructure with Microsoft SQL Server    *
    *                  database                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: java.lang.UnsupportedOperationException *
    *                      thrown when "sqljdbc.jar" is used       *
    *                      with Software Development Kit (SDK)     *
    *                      1.6                                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If Common Event Infrastructure (CEI) application is configured
    with "configEventServiceSQLServerDB" administrative command,
    the application is configured to use Microsoft SQL Server JDBC
    driver version 1.2 (sqljdbc.jar).
    In this configuration, the following error might be received:
    Could not invoke an operation on object:
    WebSphere:name=DataSourceCfgHelper,process=nodeagent,platform=dy
    namicproxy,node=<node name>,version=<product
    version>,type=DataSourceCfgHelper,mbeanIdentifier=DataSourceCfgH
    elper,cell=<cell name>,spec=1.0 because of an mbean exception:
    java.lang.UnsupportedOperationException: Java Runtime
    Environment (JRE) version 1.6 is not supported by this driver.
    Use the sqljdbc4.jar class library, which provides support for
    JDBC 4.0.
    The text of the error message explains the cause of the
    problem: the driver does not support Software Development Kit
    (SDK) version 1.6.
    

Problem conclusion

  • In order to support Microsoft SQL Server JDBC drivers version
    2.0 and 3.0 (that are packaged in "sqljdbc4.jar"), a new
    parameter ("jdbcDriverVersion") was added to the
    administrative task configEventServiceSQLServerDB.
    
    The parameter can be specified only when Microsoft SQL Server
    JDBC driver is used (the parameter "jdbcProviderType" has the
    value "microsoftjdbc", which is the default value).
    
    The following values are accepted for the parameter
    "jdbcDriverVersion":
    - "1.2", the default value, configures CEI to use the classes
    in "sqljdbc.jar";
    - "2.0" configures CEI to use the classes in "sqljdbc4.jar";
    - "3.0" configures CEI to use the classes in "sqljdbc4.jar".
    
    For other values of the parameter "jdbcDriverVersion" the
    command configEventServiceSQLServerDB returns an exception.
    If the parameter "jdbcDriverVersion" is specified but the
    "jdbcProviderType" is not "microsoftjdbc" the command
    configEventServiceSQLServerDB also returns an exception.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 7.0.0.21.  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

    PM42739

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-06-29

  • Closed date

    2011-08-25

  • Last modified date

    2011-08-25

  • 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

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

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

Document Information

Modified date:
27 October 2021