Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: OracleTNSListener80 on 8.03 kicks out with JDBC

Re: OracleTNSListener80 on 8.03 kicks out with JDBC

From: <patrick.stdennis_at_med.ge.com>
Date: Wed, 06 May 1998 20:12:47 GMT
Message-ID: <6iqg8g$2rr@newsops.execpc.com>


The code looks loke this:

import java.io.*;
import java.sql.*;
import java.lang.*;
import java.net.*;
import java.math.*;

public class Olink{

	public static void main(String argv[]) throws IOException{
		System.out.println("java initiated");
      try{

		Class.forName("oracle.jdbc.driver.OracleDriver");
	try{

			Connection con =

DriverManager.getConnection("jdbc:oracle:thin:@3.231.52.230:1521:ORCL", "scott", "tiger");
			con.close();
			}
		catch(SQLException ex){
			System.out.println("SQL Problem");
			ex.printStackTrace();
		}
		}
      catch(ClassNotFoundException x){
       System.out.println("did not find jdbc");
	x.printStackTrace();
	   }

}

}

I am using the new Oracle8 JDBC thin driver. I have a hunch that it has something to do with that since they are just in beta release. I don't actually have any applications running on this yet. The applications that I am developing are going to use JDBC.

Thanks again,

Patrick St. Dennis

On 29 Apr 1998 21:42:33 GMT, toru_at_Millet.okunet.kanagawa.yokohama.jp (Toru Okumura) wrote:

>
>Please show the line of programme including DriverManager.getConnection.
>It helps people to point where is problem.
>
>Thanks,
>
>> The TNSListener80 service in NT4.0 keeps stopping. I start the
>> service, connect with SQLplus just fine, then I try to connect with
>> either the JDBC thin driver or the JDBC-ODBC bridge and I get errors
>> like:
>
>---(cut below)---
>--
> toru_at_okunet.kanagawa.yokohama.jp
> Toru Okumura
Received on Wed May 06 1998 - 15:12:47 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US