It's not a secret anymore!
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
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: 2562

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
    It's not a secret anymore!