My Oracle Support Banner

JDBC URL With Service Name Is Not Accepted (Doc ID 832455.1)

Last updated on OCTOBER 17, 2022

Applies to:

JDBC - Version 8.1.7.0 and later
Oracle Containers for J2EE - Version 9.0.4.0.0 to 10.1.3.5.0 [Release AS10g to AS10gR3]
Information in this document applies to any platform.

Symptoms

Changing a datasource URL from

jdbc:oracle:thin:user/password@host:port:sid

to

jdbc:oracle:thin:user/password@host:port/servicename

fails with error:

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
Cause
Solution

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