"java.lang.IllegalArgumentException: No Open Connection" Error Reported After Database Upgraded To 19c
(Doc ID 2849299.1)
Last updated on APRIL 25, 2023
Applies to:JDBC - Version 10.2.0.4 and later
Information in this document applies to any platform.
After the database was upgraded to version 19.10, the application is reporting the next error:
java.lang.IllegalArgumentException: No open connection to a database is available. Make sure your database is running and that you have connected before performing any queries.
This application is using the next versions:
- Oracle JDBC Driver version - "10.2.0.4.0"
- JDBC URL format used: (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(PORT=<PORT>)(HOST=<HOSTNAME>)))(CONNECT_DATA=(SERVICE_NAME=<SERVICE NAME>)))
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