I\'m trying to connect to a local oracle database but I\'m getting this cryptic error message:
Invalid Oracle URL specified: OracleDataSource.makeURL.
if you use setUrl (or if your container like glassfish does it)
make sure you use correct syntax
==== Notice the colon before @ ====
jdbc:oracle:thin:@localhost:1521:sid
or
jdbc:oracle:thin:@localhost:1521/servicename
The datasource class tries to parse it and gives cryptic error if syntax has issues