Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2010

    Red face Unanswered: ERROR While connecting TO oracle 10g


    can any one please help me to solve 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:xe "

    This error is coming when i am trying to connect to database from JSP page.

  2. #2
    Join Date
    Nov 2003
    Provided Answers: 8
    Sounds like your connection string is not correct or the listener configuration is wrong.

    Anyhow: posting this in the DB2 forum is wrong (DB2 is the IBM database)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts