aspose file tools*
The moose likes Oracle/OAS and the fly likes ORA-12505 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "ORA-12505" Watch "ORA-12505" New topic
Author

ORA-12505

Prashanth Bhanu
Ranch Hand

Joined: Sep 25, 2003
Posts: 110
hi friends,

I've configured my WSAD in order to communicate to the Oracle 10.I created a servlet which will try to connect to the database (orcl).When i run the servlet i get the following error.

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 rcl


what could be the reason???I'm new to oracle.....But project doesn't care what is new and what is not

Thanks in advance

prashanth
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: ORA-12505