Visibroker C++ client /Oracle + Corba server

From: Alain BARBET <abarb_at_nmg.fr>
Date: 2000/06/28
Message-ID: <3959F669.EAB0297F_at_nmg.fr>#1/1


Hi,

I've problem to connect to Oracle with Visibroker C++. I success with a Java Client, and take the example for C++ in Jdev documentation. Until I compile them, I do this:

oclient 127.0.0.1 2481
D:\DMS\msdr\INTEROP\visiTestSrc\client\RELEASE>oclient big-bang 2481 About to construct the boot service IOR
Constructed boot service IOR
Narrowed it down to InitialReferences object Invoking get method on it
Caught System Exception:Exception: CORBA::OBJECT_NOT_EXIST

        Minor: 0
        Completion Status: NO

Couldn't get a reference to the name service

In the file listener.log, I see:
28-JUN-2000 14:42:53 * REFUSED *
(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1425)) * establish * giop *
0
With Java I've this:
28-JUN-2000 14:41:57 * SUCCESS *
(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.100.90)(PORT=1420)) * establish *
giop * 0

Why the connection is refused ?
The exception is raise in VisiCppBootstrap::getNameService at CORBA::Object_ptr nsObj = initRef->get ("NameService");

Can somebody help me ?
Thanks,

--
Alain & Estelle BARBET
http://www.alianwebserver.com
Received on Wed Jun 28 2000 - 00:00:00 CEST

Original text of this message