Let's say the following error is occurring when attempting to make a connection to a JDBC data source.

DSRA0010E: SQL State = 66000, Error Code = 12,514

This error will often include additional details. In this example, there is some issue with the listener.

ORA-12514, TNS:listener does not currently know of service requested in connect descriptor