File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Error in getting connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Error in getting connection" Watch "Error in getting connection" New topic

Error in getting connection

Shyam Sunder

Joined: Dec 23, 2006
Posts: 24
ERROR in getconnection ................... java.sql.SQLException: Io exceptio
n: The Network Adapter could not establish the connection
got Connection
at com.statestreet.sda.dao.OracleStampDutyReportDAO.getStampDutyReportDA
Rama Krishna Ghanta
Ranch Hand

Joined: Nov 20, 2006
Posts: 59

Posting your SQL connection code block will help resolve your problem faster.

Rama Krishna Ghanta

Kj Reddy
Ranch Hand

Joined: Sep 20, 2003
Posts: 1704
I guess your database server is not started.
I agree. Here's the link:
subject: Error in getting connection
It's not a secret anymore!