This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC 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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
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
Consider Paul's rocket mass heater.
subject: oracle thin driver conection error
Similar Threads
ORA-12514: TNS:listener could not resolve SERVICE_NAME given?
can't connect to oracle database
ORA-12514 error
Getting error like " Listener refused the connection with the following error: ORA-12514, ..."