• 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: 2620
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>
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!