aspose file tools
The moose likes JDBC and the fly likes JDBC Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Reply 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: 2343

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
    ITIL foundation
     
    I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
     
    subject: JDBC Exception
     
    Similar Threads
    why JMX can not stop
    WA #1.....word association
    void return type in JSP expression
    counting algorithm
    Java ranch rules roundup