The moose likes JDBC and Relational Databases and the fly likes oracle thin driver conection error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "oracle thin driver conection error" Watch "oracle thin driver conection error" New topic

oracle thin driver conection error

praveen kanakarajan
Ranch Hand

Joined: Apr 27, 2005
Posts: 54
im getting this error when i try to connect oracle.

java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=150999040)(ERR=12514)(ERROR_STACK=(ERROR=(CODE=12514)(EMFI=4))))

is it any compatibility problem bcos it has worked with oracle 8i earlier.
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

More likely you don't have any permissions to connect to the instance you are trying to connect to.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Lars Vonk
Ranch Hand

Joined: Aug 05, 2005
Posts: 30

The code you received 12514 is an ORA message. It means that the servicename given in the connect descriptor is not known by the TNS listener. Verify you entered the right name in the connect descriptor. Also check that that name exists in your tnsnames.ora

[ August 18, 2005: Message edited by: Lars Vonk ]
praveen kanakarajan
Ranch Hand

Joined: Apr 27, 2005
Posts: 54
thansk for the help.also i faced a problem after was returning internal error which we had to solve by using the and other file provided with oracle 9i (also heard there a work around for it but im not sure).This im mentioning bcos it may help someone someday
I agree. Here's the link:
subject: oracle thin driver conection error
jQuery in Action, 3rd edition