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