" java.sql.SQLException: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor The Connection descriptor used by the client was: localhost:1521:mydsn
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:124) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.j ................
Gravitation cannot be held responsible for people falling in love ~ Albert Einstein
Chris Hendy
Ranch Hand
Joined: Mar 04, 2006
Posts: 98
posted
0
I think the listener must be running for it to refuse the connection.
Looking at your connect string, localhost indicates a database running on your local machine, and mydsn is the SID (System identifier) of the specific database.
So, do you have an Oracle database called mydsn installed and running on your local machine?
Martin Simons
Ranch Hand
Joined: Mar 02, 2006
Posts: 196
posted
0
Originally posted by Chris Hendy: So, do you have an Oracle database called mydsn installed and running on your local machine?