Having some trouble connecting a java2 app to my personal oracle 8i db whenever
I specify the db name.
Here are some particulars:
DMBS: Oracle8i Personal Edition rel 22.214.171.124.0
JServer Rel 126.96.36.199.0
JDBC Driver: Oracle JDBC driver 188.8.131.52.0
Running JVM 1.3 and 8i on my windows 98 SE notebook.
This connection statement which uses the default connection for an OCI driver
Connection conn = DriverManager.getConnection ("jdbcracleci8:@", "demo",
But when I specify the dB name the following connection returns an error
Connection conn = DriverManager.getConnection ("jdbcracleci8:@First",
The error returned is: SQLException: ORA-12541: TNS:no listener
When I try to use the thin driver with the following connection, I also get
Connection conn = DriverManager.getConnection ("jdbcracle:thin:@jd-dell-note:1521:First",
The error returned is: SQLException: Io exception: The Network Adapter could
not establish the connection:null
So, any help you can provide is much appreciated...