Hi All, We are in the process of deprecating the Stratos load balancer, please use the nginx load balancer extension [1]. Have a look at [2] for more details.
If you are on EC2 you can also use the AWS load balancer extension [3] (build from master branch). [1] https://dist.apache.org/repos/dist/release/stratos/4.1.4/apache-stratos-nginx-extension-4.1.4.zip [2] https://github.com/apache/stratos/tree/master/extensions/load-balancer/modules/nginx-extension [3] https://github.com/apache/stratos/tree/master/extensions/load-balancer/modules/aws-extension Thanks On Fri, Nov 27, 2015 at 3:25 PM, Janaka Bandara < bandaraukju...@cse.mrt.ac.lk> wrote: > Hi Sajith, > > I'm a colleague of Ridwan, working on the same project. > > I have attached the config files that we had changed during > deployment, and wso2carbon.log which contains the stacktrace (and > several additional errors, which may have been due to the initial > exception). > > It appears that the ThriftClientConfigParser fails to parse the thrift > client config file, and what's troubling me is that the same parser is > used in the Stratos parent module as well, to parse a config file that > is quite different in structure from what has been suggested for the > load balancer ( > https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Manually+Configuring+the+Stratos+Load+Balancer > ). > > Regards, > Janaka > > On 26/11/2015, Sajith Kariyawasam <saj...@wso2.com> wrote: > > Could you please attach the log files and config files..? > > > > On Thu, Nov 26, 2015 at 3:54 PM, Ridwan Shariffdeen > > <rshariffd...@gmail.com> > > wrote: > > > >> Hi Sajith, > >> Thank you. I did look into this configuration. I encountered an error > >> stating that thrift.client.config.file.path not found and I was able to > >> find a configuration setting that was only in the .bat file so I > included > >> that on .sh file. I'm not sure if that's how it should be done. > >> > >> But afterwards I encountered a fatal error from the Parser stating that > >> username is not found. > >> > >> Regards, > >> > >> On Thu, Nov 26, 2015 at 12:23 PM, Sajith Kariyawasam <saj...@wso2.com> > >> wrote: > >> > >>> Hi Ridwan, > >>> > >>> Did you have a look at this? > >>> > https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Manually+Configuring+the+Stratos+Load+Balancer > >>> > >>> > >>> On Wed, Nov 25, 2015 at 2:25 PM, Ridwan Shariffdeen < > >>> rshariffd...@gmail.com> wrote: > >>> > >>>> Hi! > >>>> I am trying to setup Apache Stratos 4.1.4 on AWS EC2. I have > configured > >>>> and tested Stratos Instance for a PHP application. My problem is how > do > >>>> I > >>>> configure a load balancer. I tried integrating Stratos LB into the > same > >>>> machine in Stratos as well as on a different node. Is there any guide > >>>> to > >>>> follow to setup a load balancer? > >>>> > >>>> Thanks! > >>>> > >>>> > >>> > >>> > >>> -- > >>> Sajith Kariyawasam > >>> *Committer and PMC member, Apache Stratos, * > >>> *WSO2 Inc.; http://wso2.com <http://wso2.com>* > >>> *Mobile: 0772269575 <0772269575>* > >>> > >> > >> > >> > >> -- > >> > >> > >> *Ridwan Shariffdeen* > >> > >> Joint PD Director | Rotaract District Committee > >> > >> > >> IPP | Rotaract Club of University of Moratuwa > >> > >> > >> Final Year Undergraduate | Computer Science & Engineering,University of > >> Moratuwa > >> > >> m:+94 772562002 | e:rshariffd...@gmail.com | w: > http://bit.ly/ridwanNaruto > >> | a: Mount Lavinia > >> <http://facebook.com/ridwan.naruto> > >> <http://linkedin.com/in/rshariffdeen> > >> <http://twitter.com/narutoridwan> > >> <http://plus.google.com/u/0/117443860077215662076> > >> <http://github.com/ridwannaruto> > >> > >> > >> > > > > > > -- > > Sajith Kariyawasam > > *Committer and PMC member, Apache Stratos, * > > *WSO2 Inc.; http://wso2.com <http://wso2.com>* > > *Mobile: 0772269575* > > > > > -- > U.K.J.U. Bandara, > B.Sc. Eng. (Hons.) Undergraduate, > Department of Computer Science and Engineering, > University of Moratuwa. > -- Imesh Gunaratne Senior Technical Lead, WSO2 Committer & PMC Member, Apache Stratos