A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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 .
It is sorta covered in the
JavaRanch Style Guide
subject: IOException while trying to connect to DB
JDBC Oracle connection error
What IP address do i use.
Connection time out error while deploying Spring app
ANT FTP task: Software caused connection abort: connect
Getting Error Message from Server
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014