axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Dean <>
Subject RE: [axis2] clustering support
Date Wed, 17 Dec 2008 21:49:55 GMT
thanks for the reply.

From: Afkham Azeez []
Sent: Wednesday, December 17, 2008 6:24 AM
Subject: Re: [axis2] clustering support

Yes the config is not necessary but it depends on your definition of a cluster.

Even though your services are stateless, if there are other components such as modules that
require to keep the states across the cluster in sync, the clustering configuration needs
to be available.

On Wed, Dec 17, 2008 at 12:31 AM, Tony Dean <<>>

To enable clustering support for stateless Axis2 services, I think all that is necessary is
to make the services available from all nodes participating in the cluster.  This can be accomplished
by either of the following methods:
1.      duplicate service repository on each node
2.      use a URL-based repository to act as a central repository shared by all nodes ("axis2.repository.url"
web.xml configuration)

Since the services are stateless (no information saved in configuration context or service
context), it is not necessary to configure Axis2 specific clustering, right?  Therefore, the
sample cluster configuration below is not necessary.

  <cluster class="org.apache.axis2.clustering.tribes.TribesClusterManager">
    <contextManager class="org.apache.axis2.clustering.context.DefaultContextManager">
       <listener class="org.apache.axis2.clustering.context.DefaultContextManagerListener"/>
               <exclude name="local_*"/>
               <exclude name="LOCAL_*"/>
           <context class="org.apache.axis2.context.ConfigurationContext">
               <exclude name="SequencePropertyBeanMap"/>
               <exclude name="NextMsgBeanMap"/>
               <exclude name="RetransmitterBeanMap"/>
               <exclude name="StorageMapBeanMap"/>
               <exclude name="CreateSequenceBeanMap"/>
               <exclude name="ConfigContextTimeoutInterval"/>
               <exclude name="ContainerManaged"/>
           <context class="org.apache.axis2.context.ServiceGroupContext">
               <exclude name="my.sandesha.*"/>
           <context class="org.apache.axis2.context.ServiceContext">
               <exclude name="my.sandesha.*"/>

Please confirm.


Tony Dean
SAS Institute Inc.

SAS... The Power to Know

Afkham Azeez

Developer Portal:
WSAS Blog:
GPG Fingerprint: 643F C2AF EB78 F886 40C9  B2A2 4AE2 C887 665E 0760

View raw message