Re: Visibroker C++ client /Oracle + Corba server

From: Vadim Katz <vkatz_at_ordertrust.net>
Date: 2000/07/10
Message-ID: <8kdj55$d37$1_at_nnrp1.deja.com>#1/1


Hi Alain,

What C++ example are you referring to? I could not find any C++ code in JDeveloper documentation. If such exists, could you please send me a link?

In general, I am trying to figure out how to enable credential login. From Java it is not a problem due to the existence of the right static fields in the Context interface. However, how do I provide username and password from a C++ client?

Thanks,

Vadim

In article <3959F669.EAB0297F_at_nmg.fr>,   Alain BARBET <abarb_at_nmg.fr> wrote:
> 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
>

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Mon Jul 10 2000 - 00:00:00 CEST

Original text of this message