File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 2503
    
    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
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: JDBC Exception