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
Customer Requirements for Developers
this week in the
JDBC and Relational Databases
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 .
I agree. Here's the link:
subject: IOException while trying to connect to DB
JDBC Oracle connection error
ANT FTP task: Software caused connection abort: connect
Connection time out error while deploying Spring app
What IP address do i use.
Getting Error Message from Server
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015