[omniORB] OmniORB connection problem with Orbix3.3
Duncan Grisby
duncan at grisby.org
Wed Nov 7 12:12:16 GMT 2007
On Tuesday 6 November, asankama wrote:
[...]
> First I used the Object URL that worked with JavaIDL
>
> InitRef =
> OmniNameService=corbaloc:iiop:rcapl-vm-srv002:1570/:\\rcapl-vm-srv002:NS:root::IFR:CosNaming_NamingContext_
>
> Omni Client Output :
> omniORB: ORB_init failed: Bad parameter
> (OmniNameService=corbaloc:iiop:rcapl-vm-srv002:1570/:\\rcapl-vm-srv002:NS:root::IFR:CosNaming_NamingContext_)
> for ORB configuration option InitRef, reason: Invalid argument, expect
> <ObjectID>=<ObjectURI>
The corbaloc URI is invalid because backslashes are not permitted. You
need to encode them as %5c. The following corbaloc URI will work
(assuming that that is indeed the correct object key):
corbaloc:iiop:rcapl-vm-srv002:1570/:%5c%5crcapl-vm-srv002:NS:root::IFR:CosNaming_NamingContext_
Cheers,
Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
More information about the omniORB-list
mailing list