Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Oracle driver expeption

 
oz erudio
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wanna connect to a oracle database. I can ping and connect to it and view the tables.
But when ı try to do it via oracle jdbc driver and Jboss, I get that exception....

 
Jan Cumps
Bartender
Posts: 2608
14
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi. The error message actualy explains what is wrong "ORA-12154: TNS:could not resolve the connect identifier specified ". Are you using Oracle Thick driver?

Can you rell us the Oracle connection string you have defined in your program?
 
oz erudio
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
No I use thin driver.
the connection string ı use is jdbcracle:thin:@<ip number>:<port number>:<database SID>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic