If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > ERROR While connecting TO oracle 10g

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-03-10, 07:30
veeru_db veeru_db is offline
Registered User
 
Join Date: Dec 2010
Posts: 2
Red face ERROR While connecting TO oracle 10g

Hi

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.
Reply With Quote
  #2 (permalink)  
Old 12-03-10, 07:58
shammat shammat is offline
Registered User
 
Join Date: Nov 2003
Posts: 2,407
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)
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On