Skip to content

Commit 96bfca5

Browse files
Remove an obsolete section from a couple axis2.xml files
1 parent 3bddfb6 commit 96bfca5

File tree

2 files changed

+0
-328
lines changed
  • modules/samples/transport
    • https-sample/httpsService/src/main/webapp/WEB-INF
    • jms-sample/jmsService/src/main/resources

2 files changed

+0
-328
lines changed

modules/samples/transport/https-sample/httpsService/src/main/webapp/WEB-INF/axis2.xml

Lines changed: 0 additions & 164 deletions
Original file line numberDiff line numberDiff line change
@@ -243,170 +243,6 @@
243243
<!--<parameter name="addressingPara">N/A</parameter>-->
244244
<!--</moduleConfig>-->
245245

246-
<!-- ================================================= -->
247-
<!-- Clustering -->
248-
<!-- ================================================= -->
249-
<!--
250-
To enable clustering for this node, set the value of "enable" attribute of the "clustering"
251-
element to "true". The initialization of a node in the cluster is handled by the class
252-
corresponding to the "class" attribute of the "clustering" element. It is also responsible for
253-
getting this node to join the cluster.
254-
-->
255-
<clustering class="org.apache.axis2.clustering.tribes.TribesClusteringAgent" enable="false">
256-
257-
<!--
258-
This parameter indicates whether the cluster has to be automatically initalized
259-
when the AxisConfiguration is built. If set to "true" the initialization will not be
260-
done at that stage, and some other party will have to explictly initialize the cluster.
261-
-->
262-
<parameter name="AvoidInitiation">true</parameter>
263-
264-
<!--
265-
The membership scheme used in this setup. The only values supported at the moment are
266-
"multicast" and "wka"
267-
268-
1. multicast - membership is automatically discovered using multicasting
269-
2. wka - Well-Known Address based multicasting. Membership is discovered with the help
270-
of one or more nodes running at a Well-Known Address. New members joining a
271-
cluster will first connect to a well-known node, register with the well-known node
272-
and get the membership list from it. When new members join, one of the well-known
273-
nodes will notify the others in the group. When a member leaves the cluster or
274-
is deemed to have left the cluster, it will be detected by the Group Membership
275-
Service (GMS) using a TCP ping mechanism.
276-
-->
277-
<parameter name="membershipScheme">multicast</parameter>
278-
279-
<!--
280-
The clustering domain/group. Nodes in the same group will belong to the same multicast
281-
domain. There will not be interference between nodes in different groups.
282-
-->
283-
<parameter name="domain">wso2.carbon.domain</parameter>
284-
285-
<!--
286-
When a Web service request is received, and processed, before the response is sent to the
287-
client, should we update the states of all members in the cluster? If the value of
288-
this parameter is set to "true", the response to the client will be sent only after
289-
all the members have been updated. Obviously, this can be time consuming. In some cases,
290-
such this overhead may not be acceptable, in which case the value of this parameter
291-
should be set to "false"
292-
-->
293-
<parameter name="synchronizeAll">true</parameter>
294-
295-
<!--
296-
The maximum number of times we need to retry to send a message to a particular node
297-
before giving up and considering that node to be faulty
298-
-->
299-
<parameter name="maxRetries">10</parameter>
300-
301-
<!-- The multicast address to be used -->
302-
<parameter name="mcastAddress">228.0.0.4</parameter>
303-
304-
<!-- The multicast port to be used -->
305-
<parameter name="mcastPort">45564</parameter>
306-
307-
<!-- The frequency of sending membership multicast messages (in ms) -->
308-
<parameter name="mcastFrequency">500</parameter>
309-
310-
<!-- The time interval within which if a member does not respond, the member will be
311-
deemed to have left the group (in ms)
312-
-->
313-
<parameter name="memberDropTime">3000</parameter>
314-
315-
<!--
316-
The IP address of the network interface to which the multicasting has to be bound to.
317-
Multicasting would be done using this interface.
318-
-->
319-
<parameter name="mcastBindAddress">127.0.0.1</parameter>
320-
321-
<!-- The host name or IP address of this member -->
322-
<parameter name="localMemberHost">127.0.0.1</parameter>
323-
324-
<!--
325-
The TCP port used by this member. This is the port through which other nodes will
326-
contact this member
327-
-->
328-
<parameter name="localMemberPort">4000</parameter>
329-
330-
<!--
331-
Preserve message ordering. This will be done according to sender order.
332-
-->
333-
<parameter name="preserveMessageOrder">true</parameter>
334-
335-
<!--
336-
Maintain atmost-once message processing semantics
337-
-->
338-
<parameter name="atmostOnceMessageSemantics">true</parameter>
339-
340-
<!--
341-
Properties specific to this member
342-
-->
343-
<parameter name="properties">
344-
<property name="backendServerURL" value="https://${hostName}:${httpsPort}/services/"/>
345-
<property name="mgtConsoleURL" value="https://${hostName}:${httpsPort}/"/>
346-
</parameter>
347-
348-
<!--
349-
The list of static or well-known members. These entries will only be valid if the
350-
"membershipScheme" above is set to "wka"
351-
-->
352-
<members>
353-
<member>
354-
<hostName>127.0.0.1</hostName>
355-
<port>4000</port>
356-
</member>
357-
<member>
358-
<hostName>127.0.0.1</hostName>
359-
<port>4001</port>
360-
</member>
361-
</members>
362-
363-
<!--
364-
Enable the groupManagement entry if you need to run this node as a cluster manager.
365-
Multiple application domains with different GroupManagementAgent implementations
366-
can be defined in this section.
367-
-->
368-
<groupManagement enable="false">
369-
<applicationDomain name="apache.axis2.application.domain"
370-
description="Axis2 group"
371-
agent="org.apache.axis2.clustering.management.DefaultGroupManagementAgent"/>
372-
</groupManagement>
373-
374-
<!--
375-
This interface is responsible for handling management of a specific node in the cluster
376-
The "enable" attribute indicates whether Node management has been enabled
377-
-->
378-
<nodeManager class="org.apache.axis2.clustering.management.DefaultNodeManager"
379-
enable="true"/>
380-
381-
<!--
382-
This interface is responsible for handling state replication. The property changes in
383-
the Axis2 context hierarchy in this node, are propagated to all other nodes in the cluster.
384-
385-
The "excludes" patterns can be used to specify the prefixes (e.g. local_*) or
386-
suffixes (e.g. *_local) of the properties to be excluded from replication. The pattern
387-
"*" indicates that all properties in a particular context should not be replicated.
388-
389-
The "enable" attribute indicates whether context replication has been enabled
390-
-->
391-
<stateManager class="org.apache.axis2.clustering.state.DefaultStateManager"
392-
enable="true">
393-
<replication>
394-
<defaults>
395-
<exclude name="local_*"/>
396-
<exclude name="LOCAL_*"/>
397-
</defaults>
398-
<context class="org.apache.axis2.context.ConfigurationContext">
399-
<exclude name="local_*"/>
400-
</context>
401-
<context class="org.apache.axis2.context.ServiceGroupContext">
402-
<exclude name="local_*"/>
403-
</context>
404-
<context class="org.apache.axis2.context.ServiceContext">
405-
<exclude name="local_*"/>
406-
</context>
407-
</replication>
408-
</stateManager>
409-
</clustering>
410246

411247
<!-- ================================================= -->
412248
<!-- Phases -->

modules/samples/transport/jms-sample/jmsService/src/main/resources/axis2.xml

Lines changed: 0 additions & 164 deletions
Original file line numberDiff line numberDiff line change
@@ -253,170 +253,6 @@
253253
<!--<parameter name="addressingPara">N/A</parameter>-->
254254
<!--</moduleConfig>-->
255255

256-
<!-- ================================================= -->
257-
<!-- Clustering -->
258-
<!-- ================================================= -->
259-
<!--
260-
To enable clustering for this node, set the value of "enable" attribute of the "clustering"
261-
element to "true". The initialization of a node in the cluster is handled by the class
262-
corresponding to the "class" attribute of the "clustering" element. It is also responsible for
263-
getting this node to join the cluster.
264-
-->
265-
<clustering class="org.apache.axis2.clustering.tribes.TribesClusteringAgent" enable="false">
266-
267-
<!--
268-
This parameter indicates whether the cluster has to be automatically initalized
269-
when the AxisConfiguration is built. If set to "true" the initialization will not be
270-
done at that stage, and some other party will have to explictly initialize the cluster.
271-
-->
272-
<parameter name="AvoidInitiation">true</parameter>
273-
274-
<!--
275-
The membership scheme used in this setup. The only values supported at the moment are
276-
"multicast" and "wka"
277-
278-
1. multicast - membership is automatically discovered using multicasting
279-
2. wka - Well-Known Address based multicasting. Membership is discovered with the help
280-
of one or more nodes running at a Well-Known Address. New members joining a
281-
cluster will first connect to a well-known node, register with the well-known node
282-
and get the membership list from it. When new members join, one of the well-known
283-
nodes will notify the others in the group. When a member leaves the cluster or
284-
is deemed to have left the cluster, it will be detected by the Group Membership
285-
Service (GMS) using a TCP ping mechanism.
286-
-->
287-
<parameter name="membershipScheme">multicast</parameter>
288-
289-
<!--
290-
The clustering domain/group. Nodes in the same group will belong to the same multicast
291-
domain. There will not be interference between nodes in different groups.
292-
-->
293-
<parameter name="domain">wso2.carbon.domain</parameter>
294-
295-
<!--
296-
When a Web service request is received, and processed, before the response is sent to the
297-
client, should we update the states of all members in the cluster? If the value of
298-
this parameter is set to "true", the response to the client will be sent only after
299-
all the members have been updated. Obviously, this can be time consuming. In some cases,
300-
such this overhead may not be acceptable, in which case the value of this parameter
301-
should be set to "false"
302-
-->
303-
<parameter name="synchronizeAll">true</parameter>
304-
305-
<!--
306-
The maximum number of times we need to retry to send a message to a particular node
307-
before giving up and considering that node to be faulty
308-
-->
309-
<parameter name="maxRetries">10</parameter>
310-
311-
<!-- The multicast address to be used -->
312-
<parameter name="mcastAddress">228.0.0.4</parameter>
313-
314-
<!-- The multicast port to be used -->
315-
<parameter name="mcastPort">45564</parameter>
316-
317-
<!-- The frequency of sending membership multicast messages (in ms) -->
318-
<parameter name="mcastFrequency">500</parameter>
319-
320-
<!-- The time interval within which if a member does not respond, the member will be
321-
deemed to have left the group (in ms)
322-
-->
323-
<parameter name="memberDropTime">3000</parameter>
324-
325-
<!--
326-
The IP address of the network interface to which the multicasting has to be bound to.
327-
Multicasting would be done using this interface.
328-
-->
329-
<parameter name="mcastBindAddress">127.0.0.1</parameter>
330-
331-
<!-- The host name or IP address of this member -->
332-
<parameter name="localMemberHost">127.0.0.1</parameter>
333-
334-
<!--
335-
The TCP port used by this member. This is the port through which other nodes will
336-
contact this member
337-
-->
338-
<parameter name="localMemberPort">4000</parameter>
339-
340-
<!--
341-
Preserve message ordering. This will be done according to sender order.
342-
-->
343-
<parameter name="preserveMessageOrder">true</parameter>
344-
345-
<!--
346-
Maintain atmost-once message processing semantics
347-
-->
348-
<parameter name="atmostOnceMessageSemantics">true</parameter>
349-
350-
<!--
351-
Properties specific to this member
352-
-->
353-
<parameter name="properties">
354-
<property name="backendServerURL" value="https://${hostName}:${httpsPort}/services/"/>
355-
<property name="mgtConsoleURL" value="https://${hostName}:${httpsPort}/"/>
356-
</parameter>
357-
358-
<!--
359-
The list of static or well-known members. These entries will only be valid if the
360-
"membershipScheme" above is set to "wka"
361-
-->
362-
<members>
363-
<member>
364-
<hostName>127.0.0.1</hostName>
365-
<port>4000</port>
366-
</member>
367-
<member>
368-
<hostName>127.0.0.1</hostName>
369-
<port>4001</port>
370-
</member>
371-
</members>
372-
373-
<!--
374-
Enable the groupManagement entry if you need to run this node as a cluster manager.
375-
Multiple application domains with different GroupManagementAgent implementations
376-
can be defined in this section.
377-
-->
378-
<groupManagement enable="false">
379-
<applicationDomain name="apache.axis2.application.domain"
380-
description="Axis2 group"
381-
agent="org.apache.axis2.clustering.management.DefaultGroupManagementAgent"/>
382-
</groupManagement>
383-
384-
<!--
385-
This interface is responsible for handling management of a specific node in the cluster
386-
The "enable" attribute indicates whether Node management has been enabled
387-
-->
388-
<nodeManager class="org.apache.axis2.clustering.management.DefaultNodeManager"
389-
enable="true"/>
390-
391-
<!--
392-
This interface is responsible for handling state replication. The property changes in
393-
the Axis2 context hierarchy in this node, are propagated to all other nodes in the cluster.
394-
395-
The "excludes" patterns can be used to specify the prefixes (e.g. local_*) or
396-
suffixes (e.g. *_local) of the properties to be excluded from replication. The pattern
397-
"*" indicates that all properties in a particular context should not be replicated.
398-
399-
The "enable" attribute indicates whether context replication has been enabled
400-
-->
401-
<stateManager class="org.apache.axis2.clustering.state.DefaultStateManager"
402-
enable="true">
403-
<replication>
404-
<defaults>
405-
<exclude name="local_*"/>
406-
<exclude name="LOCAL_*"/>
407-
</defaults>
408-
<context class="org.apache.axis2.context.ConfigurationContext">
409-
<exclude name="local_*"/>
410-
</context>
411-
<context class="org.apache.axis2.context.ServiceGroupContext">
412-
<exclude name="local_*"/>
413-
</context>
414-
<context class="org.apache.axis2.context.ServiceContext">
415-
<exclude name="local_*"/>
416-
</context>
417-
</replication>
418-
</stateManager>
419-
</clustering>
420256

421257
<!-- ================================================= -->
422258
<!-- Phases -->

0 commit comments

Comments
 (0)