Ultimately I have solved the problem. Here is *my* way to solve it, may be
useful to others.

I was getting Exception of "Network Adapter could not establish the
connection"

I tested and found the same exception when my machine is down. That means,
something goes wrong with the network connections.

I put observer and capture all the packets going out and coming from Linux
oracle server and decode them.
What I found is,

The program sends the request to 110.110.110.21 at port 1521 (my oracle
Linux server).
Then my machine gets the ack.
Now again my machine sends the connection URL
(jdbc:oracle:thin:[EMAIL PROTECTED]:1521:ORCL) in the data part of
other request to 110.110.110.21.
But when oracle server sends ack. it sends the netbios(or alias) name of the
machine in the data part i.e. ESLAB21 port ..  .

Now my machine does not recognize ESLAB21, it only recognizes
110.110.110.21.

So what I did is, put one entry in hosts file of windows client from where I
am running the client.
And guess what, it starts working absolutely fine.
I think configuring smb on 110.110.110.21 with netbios name ESLAB21 will
also solve the problem instead of entery of ESLAB21 in hosts file of every
windows machine.

-kvs

----- Original Message -----
From: "kvs" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, November 30, 2001 12:15 PM
Subject: [LIH] Oracle 8.1.7 on RedHat 6.2 gives problem


> Hi all,
> I try to give you the description of problem and solutions I tried in
brief,
> still sorry for a long mail.
>
> I was installing oracle 8.1.7 enterprise ed on RedHat Linux 6.2 ( Jun 2k
> PCQUEST).
> Installation went smoothly, but when I tried to run a sample program to
> check
> the JDBC connectivity, compiled and run from a windows machine on LAN,
with
> JDK1.3
> it gave me exception of
> "java.sql.SQLException: Io exception: The Network Adapter could not
> establish the connection"
> blah blah. This is a standard exception. I have searched google for this
and
> got a lot of postings
> but no solution.
>
> The same program runs on my oracle 8.1.6 with RedHat 6.1.
> Now I am trying to install oracle 8.1.7 on RedHat 6.1. But here I came to
> know that
> RedHat 6.1 is not a supported platform for 8.1.7.
> ( ref . http://www.dbspecialists.com/4dbas/presos/oracle817linux.html)
>
> all the web pages describing installation of oracle 8.1.7 says they have
> used
> redhat Linux 6.2, but it does not seem to be working for me.
>
> Now here we have to things,
> Either I should find out why JDBC 2.0 is not working with RedHat 6.2
orcale
> 8.1.7
> or
> is it possible to install Oracle8.1.7 on RedHat 6.1 and if yes then how.
>
> I have to do all this exercise because neither oracle technet nor I do
have
> oracle 8.1.6 installer.
> I have gone through lot of documentation available on net including oracle
8
> howto etc.
>
> Please guide me how should I go further.
>
> I am posting this to programmer list because , I know there are a lot of
> people
> working on oracle with Linux and have good memories of installing oracle
on
> Linux.
>
> -kvs
>
>
>
> _______________________________________________
> linux-india-help mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/linux-india-help


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to