This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

The Network Adapter could not establish the connection.

 
Irene Db
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Oracle db and thin driver.
I got this exception:
SQLException: The Network Adapter could not establish the connection.
What it means?
Thank you.
Iryna.
 
Javaoops
Ranch Hand
Posts: 57
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check that your listener.ora and tnsnames.ora files have the correct and matching settings for your database server. AND if the db server is on a different machine, (and you're on tcp/ip network) ensure that your HOSTS file has the machine ip address in there so that the oracle drivers can tell to which machine your connection string is referring.
hope this helps.

Rajan
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic