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: apache/tomcat oracle jdbc connection

Re: apache/tomcat oracle jdbc connection

From: Stefan Krompaß <krompass_at_fmi.uni-passau.de>
Date: Mon, 16 Sep 2002 21:57:44 +0200
Message-ID: <am5d4b$9cm$06$1@news.t-online.com>

"Dave Beebe" <dave_beebe_at_yahoo.com> schrieb im Newsbeitrag news:9cc2e645.0209161047.7cc85c04_at_posting.google.com...
> Hi everyone,
>
> I've been trying for serval days now to get a very simple servlet to
> connect to an oracle 8.0.5 database. I have seen other posts similar
> to this and have tried what they have recommended without success.
>
> Here is the current details:
>

[snip]

>

DriverManager.getConnection("jdbc:oracle:thin_at_LCO1:1521:SB01","xxx","yyy");

Try a colon (:) between "jdbc:oracle:thin" and "@LCO1:1521:SB01":

DriverManager.getConnection("jdbc:oracle:thin:@LCO1:1521:SB01","xxx","yyy");

Stefan Received on Mon Sep 16 2002 - 14:57:44 CDT

Original text of this message

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