Re: corbaloc discrepancy

Phil Mesnier <[email protected]> Thu, 25 Jun 2015 10:57:32 -0500
Newsgroups gmane.comp.corba.jacorb.devel
Message-ID <[email protected]>
Hi Sriram,

> On Jun 5, 2015, at 1:19 PM, KRISHNAMURTHY, Sriram (Sriram) <[email protected]> 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:[email protected]:13528,iiop:[email protected]:13528/6463423248/NotifyServicePOA/%01%073A@%026%06G%03$=%07%1F%1F*F$(%1F
> 
> CorbaLoc.generateCorbaloc : iiop:[email protected]: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:[email protected]:13528,iiop:[email protected]: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:[email protected]: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




_______________________________________________
jacorb-developer maillist  -  [email protected]
https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer