Oracle JDBC Driver Support for IBM JDK Kerberos
(Doc ID 1549294.1)
Last updated on AUGUST 09, 2023
Applies to:
JDBC - Version 11.2.0.1.0 and laterInformation in this document applies to any platform.
Goal
The Oracle JDBC thin drivers versions 11.2 to 21.1 included will fail to connect to an Oracle database via Kerberos authentication when using an IBM JDK. The connection fails with :
Exception in thread "main" java.lang.NoClassDefFoundError: com.sun.security.auth.module.Krb5LoginModule
at oracle.net.ano.AuthenticationService.i(Unknown Source)
at oracle.net.ano.AuthenticationService.h(Unknown Source)
at oracle.net.ano.Ano.negotiation(Unknown Source)
at oracle.net.ns.NSProtocol.connect(NSProtocol.java:510)
at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1625)
...
Does the Oracle JDBC thin driver support IBM JDK's kerberos implementation ?
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |
References |