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]
SAS... The Power to Know
http://www.sas.com