Discussion Locked

Java servlets, JDBC

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am trying to connect to an oracle8i database through a web application (servlet), I am getting the following error: Couldn't get a connection: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=135294976)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4)))). Trying again.

Can any one help please?
Thanks.

3 replies

by drprabhu

Please check the listener.ora file lying into the \Ora81\network\ADMIN folder.
In the property SID_LIST_LISTENER check the value for SID_NAME
This value should match to the value which you give in the connect string marked bold.
eg. - jdbc:oracle:thin:@:1521:

by Former member

Excellent it worked. Thanks a lot.

by Former member

This question was closed by the author

This discussion is closed to new replies.