The JDBC driver [oracle.jdbc.driver.OracleDriver] is already registered.
Using SoapUI Pro in ReadyAPI 1.9.0 I am all of a sudden having trouble connecting to our Oracle Database. Testcases which have Database Steps in them which worked in the past can no longer connect. When I try to connect using the TestConnection button or run the query I get a pop up message that says
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
No error is thrown in the error log but in the ready!API Log the following message appears...
The JDBC driver [oracle.jdbc.driver.OracleDriver] is already registered.
The connection string is unchanged from when it previously worked and I have verified that I can access that database with Oracles SQLDeveloper using the same connection string.
Other than upgrading from ReadyAPI 1.8.3 the only other thing that has changed is some network routing to the database, however given that I can connect to the database using SQL Developer that should not be the issue. I have also verified that the Oracle driver is in the readyAPI 1.9.0 ext folder.
Finally the driver and my connect string format I am using are-
oracle.jdbc.driver.OracleDriver
jdbc:oracle:thin:{username}/{password}@{url}:{port}:{sid}
Any idea what I can do to fix this or even start debugging why this is not working?
Found the issue.
We have to reset our DB passwords every 60 days and I last had to update it at the same time as they made the server change to require a VPN connection to access the database. Oracle in their infinite wisdom allows you to create passwords that includes the at sign. SQLDeveloper apparently uses a connection string format which allows for this however the oracle jdbc driver connection strings do not because they use the at sign to denote the beginning of the server address (name or IP), then rather than giving a useful error code indicating that the connect string was incorrect they just throw an "unable to connect" error.