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 to Oracle from Linux but not Windows - identical code!

Re: JDBC connect to Oracle from Linux but not Windows - identical code!

From: <davide_at_yahoo.com>
Date: 19 Nov 2001 11:21:51 GMT
Message-ID: <9taq0f$1b0mm$1@ID-18487.news.dfncis.de>


In comp.lang.java.databases Roger Hand <RogerBucket_at_plasticsun.com> wrote:
> However, I can't connect to the other Oracle database (version 8.1.7,
> let's call it ora2) from either Windows machine. The error message is
> "java.sql.SQLException: Io exception: The Network Adapter could not
> establish the connection". I can ping both ways.

Try using a new version of the JDBC driver. Usually the driver that came with 8.1.7 is much better than the older

Note also, that I had a lot of trouble connecting to a CVS server from Win clients, while Linux clients didn't have any trobule. Then we discovered that the problem was a router between the CVS server and the rest of the network, and this make me think that Windows' TCP/IP stack has some trouble...

Davide Received on Mon Nov 19 2001 - 05:21:51 CST

Original text of this message

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