thanks for the reply.

From: Afkham Azeez [mailto:[email protected]]
Sent: Wednesday, December 17, 2008 6:24 AM
To: [email protected]
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.

Azeez
On Wed, Dec 17, 2008 at 12:31 AM, Tony Dean 
<[email protected]<mailto:[email protected]>> wrote:
Hi,

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"/>
       <replication>
           <defaults>
               <exclude name="local_*"/>
               <exclude name="LOCAL_*"/>
           </defaults>
           <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>
           <context class="org.apache.axis2.context.ServiceGroupContext">
               <exclude name="my.sandesha.*"/>
           </context>
           <context class="org.apache.axis2.context.ServiceContext">
               <exclude name="my.sandesha.*"/>
           </context>
       </replication>
    </contextManager>
  </cluster>

Please confirm.

Thanks.

Tony Dean
SAS Institute Inc.
919.531.6704
[email protected]<mailto:[email protected]>

SAS... The Power to Know
http://www.sas.com




--
Thanks
Afkham Azeez

Blog: http://afkham.org
Developer Portal: http://www.wso2.org
WSAS Blog: http://wso2wsas.blogspot.com
Company: http://wso2.com
GPG Fingerprint: 643F C2AF EB78 F886 40C9  B2A2 4AE2 C887 665E 0760

Reply via email to