Quantcast
Channel: Lucee Dev - Latest topics
Viewing all articles
Browse latest Browse all 458

Lucee 6 cannot connect to Oracle DB

$
0
0

I have a RHEL 8.9 server that we are trying to connect to an Oracle 19c database. I installed the JRE 11 OpenJDK, and the Oracle 21.8.0.0-ojdbc11 driver. When I set up the DB connection under “Datasource” and click create or update, I get the following error:

Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor

I can connect to the database with the given service name using sqlplus without an issue. How can I make this work? I do have a stack trace on the error and I can provide that if needed.

Also, I do notice that the driver shows “Update datasource connection Oracle 12c (Release 1)” on the Datasource page, but our Oracle server is 19c.

Thanks,
Harry

OS: RHEL 8.9
Java Version: 11.0.23
Tomcat Version: 9.0.85.0
Lucee Version: 6.0.1.83

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 458

Trending Articles