Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: jdbc connect problems

Re: jdbc connect problems

From: Charles M. Goehring <cgoehrin_at_san.rr.com>
Date: Wed, 23 Apr 2003 13:38:41 GMT
Message-ID: <3EA695C8.A46381C0@san.rr.com>

I solved this. Had the wrong combination of service names and host names. The one that worked did so by coincidence. Figured this out by reading the docs that came with the driver. Reading is fundamental.

"Charles M. Goehring" wrote:

> Oracle Guys & Gals,
>
> I have access to 3 Oracle servers, two 8i and one 9i. They all have the
> same users and tables on them. I can connect to all of them with
> sqlplus. They all hav tns entries. Using a simple test Java application,
> I can only connect to one of the 8i servers. The app is running on a
> machine with the 8i client installed. The app is just a test app that
> connects(thin) and executes a select statement on a table that has rows
> in it. The classes12 driver wouldn't work, so I also tried the ojdbc...
> driver since I'm using jdk1.4.0. The error I get says the network card
> can't make the connection.
>
> I've been using Oracle with Perl for a long time and done quite a bit
> with jdbc and the Firebird database, but I only did a short task with
> Oracle & jdbc several Java versions back.
>
> Anybody seen or have a solution to this? I'm on a short development
> cycle and am stuck until I get this fixed.
>
> Thanks
> Chuck
Received on Wed Apr 23 2003 - 08:38:41 CDT

Original text of this message

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