Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.tools -> Re: JDBC load problem -thanks Sanjay
Now I'm getting the following:SQLException from the following connect statement.
Connection conn = DriverManager.getConnection( "jdbc:oracle:thin:demo/demo_at_tcp-example:1521:orcl")
Below is the stack trace. I'm just using the SID, port number and service name from Net 8 Assistant. Any help appreciated.
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection at
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:156) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269) at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:210) at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:251) at
org.apache.jserv.JServConnection.processRequest(JServConnection.java) at org.apache.jserv.JServConnection.run(JServConnection.java) at java.lang.Thread.run(Thread.java:479) A problem occured in Oracle. Please try again.
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Sat May 06 2000 - 00:00:00 CDT