IBM Support

PH65946:Oracle Datasource connection using ojdbc8.jar fails after 9.0.5.23 fix pack

Download


Downloadable File

File link File size File description

Abstract

Oracle Datasource connection using ojdbc8.jar fails after 9.0.5.23 fix pack

Download Description

IFPH65946 resolves the following problem:

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

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:
None


PROBLEM SUMMARY:
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.

PROBLEM CONCLUSION:
This APAR was fixed by moving "jakartaee10.jar" to a sub-
directory of "lib". The subdirectory is not implicitly on the
application servers 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.

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
 

Prerequisites

None

Download Package

 
IMPORTANT NOTE:
WebSphere Application Server and Liberty fix access requires S&S Entitlement beginning in 2021. Use properly registered IDs to download the fixes in this table. 

Signature file is provided along with interim fix. See Verifying WebSphere Application Server release packages and Verifying Liberty release packages.
DOWNLOAD RELEASE DATE SIZE(Bytes)

URL

9.0.5.23-WS-WAS-IFPH65946 08 April 2025 2275383 FC
Note: FC stands for Fix Central. Review the What is Fix Central (FC)? FAQs for more details.

Problems Solved

PH65946

On

Technical Support

Contact IBM Support at https://www.ibm.com/mysupport/ or 1-800-IBM-SERV (US only).

Document Location

Worldwide

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Component":"General","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"},{"code":"PF035","label":"z\/OS"}],"Version":"9.0.5.23","Edition":"Base","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Document Information

Modified date:
10 April 2025

UID

ibm17230504