This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC Exception" Watch "JDBC Exception" New topic
Author

JDBC Exception

sirisha makkapati
Ranch Hand

Joined: Dec 10, 2006
Posts: 83
Hi,

I am using oracle 9.2.0.1.0 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(DBError.java:134)

any on please do the Needfull
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2491
    
    8

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
    youtube channel
     
    It is sorta covered in the JavaRanch Style Guide.
     
    subject: JDBC Exception
     
    Similar Threads
    counting algorithm
    void return type in JSP expression
    why JMX can not stop
    WA #1.....word association
    Java ranch rules roundup