I\'m trying to connect to a local oracle database but I\'m getting this cryptic error message:
Invalid Oracle URL specified: OracleDataSource.makeURL.
Surprisingly, after adding the following two lines to the code which created the connection, it worked.
dataSource.setPortNumber(1521);
dataSource.setDriverType("thin");
I don't understand why we did not have that problem before, but that may have something to do with my local install. My biggest beef is with the error message not giving any detail about what is wrong though.