A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
IOException while trying to connect to DB
Joined: Mar 03, 2008
Mar 03, 2008 00:33:00
I'm getting the following
while trying to connect to the DB from my web application using connection pooling.
Io exception: The Network Adapter could not establish the connection
But, am able to connect to the same DB from my Eclipse using the same following oracle thin driver statement.
I've also tried replacing the server name with ip and also with fully qualified dns name. But nothing worked.
Thanks & Regards,<br />Imthiaz Ahmed
Joined: Jul 13, 2006
Mar 03, 2008 12:46:00
Check whether the Database server is not running on MTS Mode. If yes,then you have to pass the jdbc URL to use dedicated connection explicitly .
subject: IOException while trying to connect to DB
ANT FTP task: Software caused connection abort: connect
Connection time out error while deploying Spring app
Getting Error Message from Server
JDBC Oracle connection error
What IP address do i use.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014