Oracle 7 Database connection : driver ?

I used classes12.zip for connection to Oracle 8.

But this doesn't work for oracle 7.

Error

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.<init>(OracleConnection.java:210)

at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:251)

at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:224)

at java.sql.DriverManager.getConnection(Unknown Source)

at java.sql.DriverManager.getConnection(Unknown Source)

-

Is this a driver problem ?

What is that i need to do for connectioning to Oracle 7 server at remotely.

[920 byte] By [raghuveer_vellankia] at [2007-10-3 5:47:16]
# 1

> Error

> java.sql.SQLException: Io exception: The Network

> Adapter could not establish the connection

> Is this a driver problem ?

It does not appear like a driver problem.

It could be:

a. A network problem

b. A configuration problem (something to do with TNSNAMES.ORA)

c. An incorrect hostname or port being used in your code (which you have not posted)

d. Something that I am not aware of.

Are you able to connect to the instance using SQL-Plus?

Message was edited by:

aniseed

aniseeda at 2007-7-14 23:55:35 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...