Skip to main content

Summary Corbaloc multiple profile fail over not working with this example format "corbaloc::host1:3075,host2:3075/NameService"
Article Number 13847
Environment Corbaloc multiple profile format All Supported Operating Systems Orbix 6.x
Question/Problem Description Corbaloc multiple profile fail over not working with this example format "corbaloc::host1:3075,host2:3075/NameService"
Corbaloc format using default IIOP version (1.0) is only picking up 1st host/port entry ("corbaloc::host1:3075,host2:3075/NameService")
Clarifying Information
Error Message
Defect/Enhancement Number
Cause The simple format for a corbaloc is incorrect. host2 will be parsed as a protocol and will be discarded "corbaloc::host1:port1,host2:port2/NameService"
Resolution The simple format for a corbaloc URL is wrong. The 2nd host should be preceded with a colon to signify the protocol. e.g.
"corbaloc::host1:3075,:host2:3075/NameService"
Note iiop is the default protocol and version 1.0 is the default version of iiop.
Other formats that could be used  
"corbaloc:iiop:host1:port1,iiop:host2:port2/NameService"
or in full without any defaults
corbaloc:iiop:1.0@host1:port1,iiop:1.0@host2:port2/NameService
Workaround
Notes For further information see "Related article" : Corbaloc and Corbname URLs
Attachment

Created date: 06 September 2011
Last Modified: 13 February 2013
Last Published: 23 June 2012
First Published date: 09 September 2011

#KnowledgeDocs
#Orbix