IBM Support

PH65946: Oracle Datasource connection using ojdbc8.jar fails after 9.0.5.23 FIX PACK / OR MESSAGES CNTR0020E EJB AND JVMCFRE199E

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

  • DSRA8040I: Failed to connect to the DataSource "...".
    Encountered java.lang.UnsupportedClassVersionError:
    JVMCFRE199E bad major version 55.0 of
    class=jakarta/json/JsonValue, the maximum
    supported major version is 52.0; offset=6
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    *                  using version 8 of the Oracle (TM) JDBC     *
    *                  driver JAR file, "ojdbc8.jar".              *
    ****************************************************************
    * PROBLEM DESCRIPTION: In WebSphere Application Server         *
    *                      v9.0.5.23, Oracle (TM) data sources     *
    *                      using "ojdbc8.jar" fail with message    *
    *                      codes "DSRA8040I" and "JVMCFRE199E"     *
    *                      and                                     *
    *                      referencing "jakarta/json/JsonValue".   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The problem symptom is an error message containing error codes
    "DSRA8040I" and "JVMCFRE199E". For example:
    DSRA8040I: Failed to connect to the DataSource "". Encountered
    java.lang.UnsupportedClassVersionError: JVMCFRE199E bad major
    version 55.0 of class=jakarta/json/JsonValue, the maximum
    supported major version is 52.0; offset=6
    This connection failure causes failures of applications which
    rely on the Oracle JDBC driver.
    The root cause of the failure is a failure to load class
    "jakarta.json.JsonValue", which is attempted by the the Oracle
    (TM) JDBC driver JAR file version 8, "ojdbc8.jar".
    The class load is attempted because the class is visible on the
    server runtime class path, because of the addition of JAR file
    "lib/jakartaee10.jar" to WebSphere Application Server
    v9.0.5.23.
    The new JAR is used when performing MoRE deployments and is
    used
    to scan when scanning application classes. The problem is that
    the new JAR file is implicitly visible on the server runtime
    class path.
    .
    Additional Symptoms:
    .
    Message CNTR0020E: EJB threw an unexpected (non-declared)
    exception during invocation of method "some-method-name"
    on bean "some-bean-id-name".
    .
    Exception data: java.lang.UnsupportedClassVersionError:
    JVMCFRE199E bad major version 55.0 of
    class=jakarta/ws/rs/core/Response$Status,
    the maximum supported major version is 52.0; offset=6
    

Problem conclusion

  • This APAR was fixed by moving "jakartaee10.jar" to a sub-
    directory of "lib".  The subdirectory is not implicitly on the
    application server's class path.  MoRE specific application
    deployment code was updated to use "jakartaee10.jar" at the new
    location.
    
    This APAR is specific to users of version 8 of the Oracle JDBC
    driver JAR file.  Users of other version of the Oracle driver
    JAR file should not encounter this APAR.
    
    Fix available here:
    https://www.ibm.com/support/pages/node/7230504
    
    
    The fix for this APAR is targeted for inclusion in fix pack
    9.0.5.24. For more information, see 'Recommended Updates for
    WebSphere Application Server':
    https://www.ibm.com/support/pages/node/715553
    

Temporary fix

  • Unless MoRE application deployments are being performed, the
    problem may be safely circumvented by removing the
    "lib/jakartaee10.jar" JAR file from the WebSphere installation.
    

Comments

APAR Information

  • APAR number

    PH65946

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2025-04-01

  • Closed date

    2025-04-04

  • Last modified date

    2025-08-06

  • 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

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Document Information

Modified date:
07 August 2025