The Network Adapter could not establish the connection

From: kaeli (tiny_one_at_NOSPAM.comcast.net)
Date: 02/24/04


Date: Tue, 24 Feb 2004 10:00:19 -0600


Hi all,

I copied some code from one (unix solaris) machine to another and am now
getting the following error:

The Network Adapter could not establish the connection

The exact same code works fine on the original machine, so the DB is up,
listeners are up, etc.
I am missing one vital thing - there is no Oracle installed on the new
machine. I just moved the classes111.zip file. I did not install Oracle.
I don't think I should have to, but obviously, I'm missing something I
need to connect.
(there is no tnsnames.ora, etc)

This fails on the new machine.
Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver());
Connection conn = DriverManager.getConnection
("jdbc:oracle:thin:url:port:instance", "username", "password");

Any ideas what I need to do to get a connection to a DB without having
to install oracle on the machine?

TIA

-- 
--
~kaeli~
She was engaged to a boyfriend with a wooden leg but broke 
it off.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace


Relevant Pages

  • Re: The Network Adapter could not establish the connection
    ... > The Network Adapter could not establish the connection ... I did not install Oracle. ... > I don't think I should have to, but obviously, I'm missing something I ...
    (comp.lang.java.databases)
  • Re: Help & Support - Did you know?
    ... I'm not missing much as I had never noticed it there ... I've observed this always happens with broadband connection. ... connected to internet using dial-up, Help and Support could connect to the ... internet and download the news block XML files (2 XML files will be ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: OT: Orange SPV M500 wireless modem
    ... >> think its just a one off mistake of a missing part of the packaging - ... defaults for proxy interfere when using an ISP connection like this. ... with this acting as modem. ... RAS rings on the plain line also. ...
    (uk.rec.motorcycles)
  • Re: Big Problem..help please
    ... You need to create a network connection, using details supplied by your ISP ... What is shown in Device Manager? ... connection) connection is missing, and some others stuff. ... Then i asked him if he could tell me what programs i will need to download ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Flywheel on a rotary phase convertor
    ... Jim sez" ... > in parallel means they each have that extra wire there. ... > L1 and L2 are missing. ... > that breaks the symmetry - it's missing the line connection. ...
    (rec.crafts.metalworking)