Oracle JDBC Driver Support for IBM JDK Kerberos (Doc ID 1549294.1)

Last updated on AUGUST 03, 2016

Applies to:

JDBC - Version 11.2.0.1 and later
Information in this document applies to any platform.

Goal

The Oracle JDBC thin 11.2 driver fails to connect to an Oracle database via kerberos authentication when using 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

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms