# Oracle connection string LDAP

**URL:** <https://forum.inductiveautomation.com/t/oracle-connection-string-ldap/19914>\
**Category:** Ignition\
**Tags:** database\
**Created:** [October 1, 2018, 4:27pm UTC](https://forum.inductiveautomation.com/t/oracle-connection-string-ldap/19914 "2018-10-01T16:27:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![HTC\_Enrico](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/htc_enrico/32/5239_2.png) [@HTC\_Enrico](https://forum.inductiveautomation.com/u/HTC_Enrico)\
**Post date:** [October 1, 2018, 4:27pm UTC](https://forum.inductiveautomation.com/t/oracle-connection-string-ldap/19914/1 "2018-10-01T16:27:51Z")

</div>

Hi, I’m trying to create a DB connection to Oracle DB in the gateway using a JDBC URL like this:

jdbc:oracle:thin:@ldap://oraldap.mycompany.it:1234/testdb,cn=OracleContext,dc=mycompany,dc=priv

but it fails saying:

org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Invalid LDAP URL specified)  
Caused by: java.sql.SQLException: Invalid LDAP URL specified  
Caused by: oracle.net.ns.NetException: Invalid LDAP URL specified

Any help is welcome.
