Just check whether u get (2 * portOffset) if AvoidInitiation is set to true.
On Mon, Jul 9, 2012 at 12:03 PM, Nirmal Fernando <[email protected]> wrote: > Hi All, > > Found the bug! > > In TribesClusteringAgent, it considers port offset only if AvoidInitiation > parameter is set to false. Get confirmed from Azeez that portOffset should > set regardless of this parameter. > > code: > Parameter param = > getParameter(ClusteringConstants.Parameters.AVOID_INITIATION); > if(param != null && !JavaUtils.isTrueExplicitly(param.getValue())){ > //AvoidInitialization = false, Hence we set the portOffset > if(System.getProperty("portOffset") != null){ > portOffset = > Integer.parseInt(System.getProperty("portOffset")); > } > } > > > Thanks everyone !! > > > On Sat, Jul 7, 2012 at 6:31 PM, Pradeep Fernando <[email protected]> wrote: > >> Hi, >> >> these are Nhttp transport ports. Those get set (and the port offsetting >> happens) in the mediation-intializer components, #initialize method i AFAIR. >> >> --Pradeep >> > > > > -- > > Thanks & regards, > Nirmal > > Software Engineer- Platform Technologies Team, WSO2 Inc. > Mobile: +94715779733 > Blog: http://nirmalfdo.blogspot.com/ > -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * <http://www.apache.org/>** email: **[email protected]* <[email protected]>* cell: +94 77 3320919 blog: **http://blog.afkham.org* <http://blog.afkham.org>* twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
