[omniORB] Object URI

kleva kleva at proc.ru
Tue Jun 7 12:24:45 BST 2005


Здравствуйте, Duncan.

Вы писали 6 июня 2005 г., 20:32:23:

DG> On Monday 6 June, kleva wrote:

>>  Are there any problems when I try to access to object like:
>> corbaloc::127.0.0.1:19740/Some/Corba/Object ?

DG> No.

>>  Becouse currently I can access to objects only like:
>> corbaloc::127.0.0.1:19740/Obj1
>> corbaloc::127.0.0.1:19740/Obj2
>> etc...so just one slash and one nape after port number.
>> Can It be so, or it is just coincidence, and the problem is hidden
>> somewere else?

DG> Whatever comes after the first slash is used as the object key. If the
DG> object key has slashes in it, you put them in the URI.

DG> With omniORB servers, _all_ objects to be accessed with corbaloc URIs
DG> must be activated in the omniINSPOA. You can't use slashes to refer to
DG> objects in child POAs if that's what you're trying to do.

DG> Cheers,

DG> Duncan.

Thanks for the answer.
Do I need to activate my object with omniINSPOA when I'm writing
client?

I'v already have CORBA server(wich is hardware realized) and I can't
change it:(

My code is:
 CORBA::Object_var mgrObj =
 g_orb->string_to_object("corbaloc::127.0.0.1:19760/LTrakPOA/ConfigsServer");
 configs_var conf;
 conf = configs::_narrow(mgrObj); // ok
 conf->clearActions(true); computer hangs:( and GIOP is not sending..

What can be wrong?
 
-- 
Regrads
 kleva                          mailto:kleva at proc.ru




More information about the omniORB-list mailing list