Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Oracle connection problem on SUN One
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