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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Oracle connection problem on SUN One

Re: Oracle connection problem on SUN One

From: Knuutila Juha <jysky_at_cs.tut.fi.xx>
Date: 04 Feb 2005 13:33:26 +0200
Message-ID: <vp6zmykmuex.fsf@mustatilhi.cs.tut.fi>


Kai-Uwe Klavei <klavei_at_gmx.de> kirjoitti:

> Knuutila Juha schrieb:
> > We cannot establish oracle connection on applications running in SUN One
> > application server.
> > [...]
> >
> > jcon.connect("jdbc:oracle:oci8:@MYDB", uname, passwd);
>
> Have you tried the Thin (pure Java) driver?
> jdbc:oracle:thin:scott/tiger_at_host:port/service
>
> Maybe you want to set up a JDBC DataSource and look it up via its JNDI
> name as described in the App Server docs.
> http://docs.sun.com/source/816-7156/agj2eres.html#47034
> http://docs.sun.com/app/docs/coll/1026.1/
>
> Kai-Uwe

I got it working now with thin driver, thx. I'll study those JDBC DataSource instructions and try them also.

-jk Received on Fri Feb 04 2005 - 05:33:26 CST

Original text of this message

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