This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes JDBC Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "JDBC Exception" Watch "JDBC Exception" New topic

JDBC Exception

sirisha makkapati
Ranch Hand

Joined: Dec 10, 2006
Posts: 83

I am using oracle with tomcat4.1 version.
while running the application it is throwing following errors

net.sf.hibernate.util.JDBCExceptionReporter - SQL Exception
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
at oracle.jdbc.dbaccess.DBError.throwSqlException(

any on please do the Needfull
Jan Cumps

Joined: Dec 20, 2006
Posts: 2565

Please check these things:
  • can you reach the database server from the tomcat server?
  • are your connection settings correct (server name, port name)?
  • Regards, Jan

    OCUP UML fundamental and ITIL foundation
    I agree. Here's the link:
    subject: JDBC Exception
    jQuery in Action, 3rd edition