Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ORA-12505

 
Prashanth Bhanu
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic