File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
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
What IP address do i use.
JDBC Oracle connection error
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