[jacorb-developer] corbaloc discrepancy

Phil Mesnier mesnier_p at ociweb.com
Thu Jun 25 17:57:32 CEST 2015


Hi Sriram,

> On Jun 5, 2015, at 1:19 PM, KRISHNAMURTHY, Sriram (Sriram) <sriram.krishnamurthy at alcatel-lucent.com> wrote:
> 
> Hello
> 
> I would like to know why i see the discrepancy between the PrintIOR utility and the CorbaLoc.generateCorbaloc method.
> 
> The corbaloc URL below is for a EventChannel on a NotificationService. 
> 
> My setup is dual homed with two NIC and i am running jacorb 3.5
> 

OK.

> PrintIOR : corbaloc:iiop:1.2 at 135.121.20.73:13528,iiop:1.2 at 10.1.0.1:13528/6463423248/NotifyServicePOA/%01%073A@%026%06G%03$=%07%1F%1F*F$(%1F
> 
> CorbaLoc.generateCorbaloc : iiop:1.2 at 135.121.20.73:13528/6463423248/NotifyServicePOA/%01%073A@%026%06G%03$=%07%1F%1F*F$(%1F
> 

It looks like generateCorbaloc only operates on the "effective" profile and does not evaluate any extra endpoints. 
Try using CorbaLoc.generateCorbalocForMultiIIOPProfiles and see if that works better.

> Also, On a MutiHomed system can i play around with the iiop host section ?
> 
> ie., if my corbaloc is  corbaloc:iiop:1.2 at 135.121.20.73:13528,iiop:1.2 at 10.1.0.1:13528/6463423248/NotifyServicePOA/%01%073A@%026%06G%03$=%07%1F%1F*F$(%1F, would it be ok to manually remove the interfaces which are not reachable from the clients who would be using this IOR? which may be like corbaloc:iiop:1.2 at 10.1.0.1:13528/6463423248/NotifyServicePOA/%01%073A@%026%06G%03$=%07%1F%1F*F$(%1F
> 
> Shouldn't it still work? 

Yes.

Best regards,
Phil

--
Phil Mesnier
Principal Software Engineer and Partner,   http://www.ociweb.com
Object Computing, Inc.                     +01.314.579.0066 x225






More information about the jacorb-developer mailing list