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: Kai-Uwe Klavei <klavei_at_gmx.de>
Date: Thu, 03 Feb 2005 19:18:45 +0100
Message-ID: <36f851F51qht1U1@individual.net>


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 Received on Thu Feb 03 2005 - 12:18:45 CST

Original text of this message

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