Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: apache/tomcat oracle jdbc connection
"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