[omniORB] Client fail to connect to the naming service : NO_RESOURCES

Thomas Pedot tpedot at epsilon-alcen.com
Thu Feb 28 17:11:37 GMT 2013


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>


More information about the omniORB-list mailing list