File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

oracle thin driver conection error

 
praveen kanakarajan
Ranch Hand
Posts: 54
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
More likely you don't have any permissions to connect to the instance you are trying to connect to.
 
Lars Vonk
Ranch Hand
Posts: 30
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

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

Lars
[ August 18, 2005: Message edited by: Lars Vonk ]
 
praveen kanakarajan
Ranch Hand
Posts: 54
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thansk for the help.also i faced a problem after this.oracle was returning internal error which we had to solve by using the classes.zip 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: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic