This documentation is for WSO2 Enterprise Integrator version 6.1.1 . View documentation for the latest release in the 6.x.x family and the latest release in the 7.x.x family.

All docs This doc

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Enable clustering and group management in the <ESB<EI_HOME>/repository/conf/axis2/axis2.xml file. To do this,
    1. Set the enable attribute of the clustering and groupManagement elements to true
    2. Provide the IP address of your machine as the value of the mcastBindAddress and localMemberHost parameters. For more information on clustering, see  WSO2 Clustering and Deployment Guide .
  • Enable clustering in the <ESB<EI_HOME>/samples/axis2Server/repository/conf/axis2.xml file. To do this,
    1. Set the enable attribute of the clustering elements to true.
    2. Provide the IP address of your machine as the value of the mcastBindAddress and localMemberHost parameters.
    3. Make sure that the applicationDomain of the membershipHandler is the same as the domain name specified in the axis2.xml file of the Axis2 servers.
  • For a list of general prerequisites, see  Prerequisites to Start see the prerequisites for starting the ESB Samplessamples.

Building the sample

The XML configuration for this sample is as follows: 

...

This configuration file  synapse_sample_57.xml is available in the <ESB<EI_HOME>/repositorysamples/samples service-bus directory.

To build the sample

...

  1. Run the following command from the <ESB<EI_HOME>/samples/axis2Client directory.

    Code Block
    languagebash
    ant loadbalancefailover -Di=100
  2. Run the client again using the above command without the -Di=100 parameter. 
  3. While running the client, stop the server named MyServer1.
  4. Restart MyServer1.

...