My Oracle Support Banner

JDBC Thin Fails To Connect Using Kerberos Authentication with java.sql.SQLRecoverableException: IO Error: The service in process is not supported. Unable to obtain Principal Name for authentication (Doc ID 2316851.1)

Last updated on JANUARY 04, 2023

Applies to:

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

Symptoms

Kerberos authentication is used for certain clients.
Clients connecting using OCI / Kerberos Authentication work fine. But  JDBC Thin connections fail with java.sql.SQLRecoverableException: IO Error: The service in process is not supported. Unable to obtain Principal Name for authentication.
Old JDBC drivers do work, but new drivers do not work.

Working environment
Test Case 1: ojdbc6.jar from instant client 12.1.0.2 and java version "1.6.0_65"
Status : Successful

Non-working environment
Test Case 2: ojdbc7.jar from instant client 12.1.0.2 and java version "1.8.0_111"
Status : Does not work

Exception stack

 

Changes

JDK was upgraded to 1.8.x.

Cause

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
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.