JDBC URL With Service Name Is Not Accepted

(Doc ID 832455.1)

Last updated on FEBRUARY 14, 2018

Applies to:

JDBC - Version and later
Oracle Containers for J2EE - Version to [Release AS10g to AS10gR3]
Information in this document applies to any platform.
***Checked for relevance on 27-Jan-2014***


Changing a datasource URL from




fails with error:

Unable to establish connection to "A1".
Error message: Exception occurred testing native data source connection.
Exception: 'java.sql.SQLException: Io exception: Invalid connection string format, a valid format is: "host:port:sid" '.


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