Thomas Pedot
2013-02-28 17:11:37 UTC
It seems that you don't like this example but... I remove all try/catch
statement. It seems to fail with CORBA::NO_RESOURCES
But I don't understand what it means...
http://techpubs.borland.com/am/bes/v6/en/updates/except_cpp.html
Here is how I proceed.
1- Launch Namingservice : succeed
2 -Launch Server with ./server.exe -ORBInitRef NameService=corbaname::
192.168.200.100:2809
corresponding to the binding :
CORBA::Object_var obj=orb->resolve_initial_references("NameService");
The server wait/listen for clients at (orb->run();)
3 - Launch the client with :
./Clients -ORBInitRef NameService=corbaname::192.168.200.100:2809
which raise an exception: CORBA::NO_RESOURCES
// Bind ORB to name service ...
CORBA::Object_var obj = orb->resolve_initial_references("NameService");
I run all this test on the same machine. Any clue ?
Thanks in advance.
Thomas
--
Thomas PEDOT <http://www.epsilon-alcen.com/>
Portes Sud - B?timent 3
12, rue Louis Courtois de Vi?ose
31100 TOULOUSE - France
Tel. +33 (0)5 61 00 19 19
tpedot at epsilon-alcen.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20130228/3ec200d3/attachment.html>
statement. It seems to fail with CORBA::NO_RESOURCES
But I don't understand what it means...
http://techpubs.borland.com/am/bes/v6/en/updates/except_cpp.html
Here is how I proceed.
1- Launch Namingservice : succeed
2 -Launch Server with ./server.exe -ORBInitRef NameService=corbaname::
192.168.200.100:2809
corresponding to the binding :
CORBA::Object_var obj=orb->resolve_initial_references("NameService");
The server wait/listen for clients at (orb->run();)
3 - Launch the client with :
./Clients -ORBInitRef NameService=corbaname::192.168.200.100:2809
which raise an exception: CORBA::NO_RESOURCES
// Bind ORB to name service ...
CORBA::Object_var obj = orb->resolve_initial_references("NameService");
I run all this test on the same machine. Any clue ?
Thanks in advance.
Thomas
--
Thomas PEDOT <http://www.epsilon-alcen.com/>
Portes Sud - B?timent 3
12, rue Louis Courtois de Vi?ose
31100 TOULOUSE - France
Tel. +33 (0)5 61 00 19 19
tpedot at epsilon-alcen.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20130228/3ec200d3/attachment.html>