Author: ruwan
Date: Tue Dec 30 10:58:20 2008
New Revision: 27844
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=27844

Log:
Fixing the axis2.xml

Modified:
   trunk/esb/java/modules/distribution/src/main/conf/axis2.xml

Modified: trunk/esb/java/modules/distribution/src/main/conf/axis2.xml
URL: 
http://wso2.org/svn/browse/wso2/trunk/esb/java/modules/distribution/src/main/conf/axis2.xml?rev=27844&r1=27843&r2=27844&view=diff
==============================================================================
--- trunk/esb/java/modules/distribution/src/main/conf/axis2.xml (original)
+++ trunk/esb/java/modules/distribution/src/main/conf/axis2.xml Tue Dec 30 
10:58:20 2008
@@ -18,89 +18,121 @@
   -->
 
 <axisconfig name="AxisJava2.0">
+    
     <!-- ================================================= -->
-    <!-- Parameters -->
+    <!--                  Parameters                       -->
     <!-- ================================================= -->
+
+    <!-- Change this to true if you want to enable hot deployment of services 
-->
     <parameter name="hotdeployment" locked="false">false</parameter>
+    <!-- Change this to true if you want to enable hot update of services -->
     <parameter name="hotupdate" locked="false">false</parameter>
+
+    <!-- Change this to true if you want to enable MTOM -->
     <parameter name="enableMTOM" locked="false">false</parameter>
+    <!-- Change this to true if you want to enable SwA -->
     <parameter name="enableSwA" locked="false">false</parameter>
 
-    <!--Uncomment if you want to enable file caching for attachments -->
-    <!--parameter name="cacheAttachments" locked="false">true</parameter>
-    <parameter name="attachmentDIR" locked="false"></parameter>
-    <parameter name="sizeThreshold" locked="false">4000</parameter-->
+    <!-- If you want to enable file caching for attachments change this to 
true -->
+    <parameter name="cacheAttachments" locked="false">false</parameter>
+    <!-- Attachment file caching location relative to CARBON_HOME -->
+    <parameter name="attachmentDIR" locked="false">work/mtom</parameter>
+    <!-- Attachment file cache threshold size -->
+    <parameter name="sizeThreshold" locked="false">4000</parameter>
 
-    <!--This will give out the timout of the configuration contexts, in 
milliseconds-->
-    <parameter name="ConfigContextTimeoutInterval" 
locked="false">30000</parameter>
+    <!-- Completely disable REST handling in Axis2/Synapse if the value is 
true -->
+    <parameter name="disableREST" locked="false">false</parameter>
 
-    <!--During a fault, stacktrace can be sent with the fault message. The 
following flag will control -->
-    <!--that behaviour.-->
-    <parameter name="sendStacktraceDetailsWithFaults" 
locked="false">false</parameter>
+    <!-- Sandesha2 persistance storage manager -->
+    <parameter name="Sandesha2StorageManager" 
locked="false">inmemory</parameter>
 
-    <!--If there aren't any information available to find out the fault 
reason, we set the message of the expcetion-->
-    <!--as the faultreason/Reason. But when a fault is thrown from a service 
or some where, it will be -->
-    <!--wrapped by different levels. Due to this the initial exception message 
can be lost. If this flag-->
-    <!--is set then, Axis2 tries to get the first exception and set its 
message as the faultreason/Reason.-->
-    <parameter name="DrillDownToRootCauseForFaultReason" 
locked="false">false</parameter>
+    <!-- Following parameter will set the proper context path for invocations. 
All the endpoints -->
+    <!-- will have a common context root which can be configured using the 
following parameter -->
+    <parameter name="contextRoot" locked="false">/</parameter>
 
-    <parameter name="Sandesha2StorageManager" 
locked="false">inmemory</parameter>
+    <!-- Our HTTP endpoints can handle both REST and SOAP under the following 
service path. In -->
+    <!-- case of a servlet container, if you change this you have to manually 
change the -->
+    <!-- settings of your servlet container to map this context path to proper 
Axis2 servlets -->
+    <parameter name="servicePath" locked="false">services</parameter>
 
-    <!--User agent and the server details to be used in the http 
communication-->
-    <parameter name="userAgent" locked="true">WSO2 ESB - v2.0</parameter>
-    <parameter name="server" locked="true">WSO2 ESB - v2.0</parameter>
+    <!-- User agent and the server details to be used in the http 
communication -->
+    <parameter name="userAgent" locked="true">WSO2-ESB-v2.0</parameter>
+    <parameter name="server" locked="true">WSO2-ESB-v2.0</parameter>
 
-    <!--Set the flag to true if you want to enable transport level session 
mangment-->
-    <parameter name="manageTransportSession" locked="false">true</parameter>
+    <!-- During a fault, stacktrace can be sent with the fault message. The 
following flag -->
+    <!-- will control that behaviour -->
+    <parameter name="sendStacktraceDetailsWithFaults" 
locked="false">false</parameter>
+    <!-- If there aren't any information available to find out the fault 
reason, we set the -->
+    <!-- message of the expcetion as the faultreason/Reason. But when a fault 
is thrown from -->
+    <!-- a service or some where, it will be wrapped by different levels. Due 
to this the -->
+    <!-- initial exception message can be lost. If this flag is set then, 
Axis2 tries to get -->
+    <!-- the first exception and set its message as the faultreason/Reason. -->
+    <parameter name="DrillDownToRootCauseForFaultReason" 
locked="false">false</parameter>
 
-    <!--To override repository/services you need to uncomment following 
parameter and value SHOULD be absolute file path.-->
-    <!--<parameter name="ServicesDirectory" 
locked="false">service</parameter>-->
-    <!--To override repository/modules you need to uncomment following 
parameter and value SHOULD be absolute file path-->
-    <!--<parameter name="ModulesDirectory" 
locked="false">modules</parameter>-->
+    <!-- Set the flag to true if you want to enable transport level session 
mangment -->
+    <parameter name="manageTransportSession" locked="false">true</parameter>
 
+    <!-- This will give out the timout of the configuration contexts, in 
milliseconds -->
+    <parameter name="ConfigContextTimeoutInterval" 
locked="false">30000</parameter>
 
-    <!--Following params will set the proper context paths for invocations. 
All the endpoints will have a commons context-->
-    <!--root which can configured using the following contextRoot parameter-->
-    <parameter name="contextRoot" locked="false">/</parameter>
+    <!-- Synapse Configuration file location relative to CARBON_HOME -->
+    <parameter name="SynapseConfig.ConfigurationFile" 
locked="false">conf/synapse.xml</parameter>
+    <!-- Synapse Home parameter -->
+    <parameter name="SynapseConfig.HomeDirectory" locked="false">.</parameter>
+    <!-- Resolve root used to resolve synapse references like schemas inside a 
WSDL -->
+    <parameter name="SynapseConfig.ResolveRoot" locked="false">.</parameter>
+    <!-- Synapse Server name parameter -->
+    <parameter name="SynapseConfig.ServerName" locked="false">WSO2 ESB 
Server</parameter>
 
-    <!--Our HTTP endpoints can handle both REST and SOAP. Following parameters 
can be used to distingiush those endpoints-->
-    <!--In case of a servlet, if you change this you have to manually change 
the settings of your servlet container to map this -->
-    <!--context path to proper Axis2 servlets-->
-    <parameter name="servicePath" locked="false">services</parameter>
-    <parameter name="restPath" locked="false">rest</parameter>
+    <!-- To override repository/services you need to uncomment following 
parameter and value -->
+    <!-- SHOULD be absolute file path. -->
+    <!--<parameter name="ServicesDirectory" 
locked="false">service</parameter>-->
 
-    <!-- Following parameter will completely disable REST handling in Axis2-->
-    <parameter name="disableREST" locked="false">false</parameter>
+    <!-- To override repository/modules you need to uncomment following 
parameter and value -->
+    <!-- SHOULD be absolute file path. -->
+    <!--<parameter name="ModulesDirectory" 
locked="false">modules</parameter>-->
 
-    <!-- If you have a frontend host which exposes this webservice using a 
different public URL  -->
+    <!-- If you have a frontend host which exposes this webservice using a 
different public URL -->
     <!-- use this parameter to override autodetected url -->
     <!--<parameter name="httpFrontendHostUrl" 
locked="false">https://someotherhost/context</parameter>-->
 
+    <!-- ================================================= -->
+    <!--                  Listeners                        -->
+    <!-- ================================================= -->
 
-    <!--    The way of adding listener to the system-->
-    <!--    <listener class="org.apache.axis2.ObserverIMPL">-->
-    <!--        <parameter name="RSS_URL" 
locked="false">http://127.0.0.1/rss</parameter>-->
-    <!--    </listener>-->
+    <!-- This deployment interceptor will be called whenever before a module 
is initialized or -->
+    <!-- service is deployed -->
+    <listener 
class="org.wso2.carbon.security.deployment.SecurityDeploymentInterceptor"/>
+    <listener class="org.wso2.carbon.core.deployment.DeploymentInterceptor"/>
 
-    <!-- Synapse Configuration file -->
-    <parameter name="SynapseConfig.ConfigurationFile" 
locked="false">conf/synapse.xml</parameter>
+    <!-- ================================================= -->
+    <!--                  Deployers                        -->
+    <!-- ================================================= -->
 
-    <!-- Synapse Home parameter -->
-    <parameter name="SynapseConfig.HomeDirectory" locked="false">.</parameter>
+    <!-- Deployer for the dataservice. -->
+    <!--<deployer extension="dbs" directory="dataservices" 
class="org.wso2.dataservices.DBDeployer"/>-->
 
-    <!-- Resolve root used to resolve synapse references like schemas inside a 
WSDL -->
-    <parameter name="SynapseConfig.ResolveRoot" locked="false">.</parameter>
+    <!-- Axis1 deployer for Axis2 -->
+    <!--<deployer extension="wsdd" 
class="org.wso2.carbon.axis1services.Axis1Deployer" 
directory="axis1services"/>-->
 
-    <!-- Synapse Server name parameter -->
-    <parameter name="SynapseConfig.ServerName" locked="false">WSO2 ESB 
Server</parameter>
+    <!-- POJO service deployer for Jar -->
+    <!--<deployer extension="jar" 
class="org.apache.axis2.deployment.POJODeployer" directory="pojoservices"/>-->
+
+    <!-- POJO service deployer for Class -->
+    <!--<deployer extension="class" 
class="org.apache.axis2.deployment.POJODeployer" directory="pojoservices"/>-->
+
+    <!-- JAXWS service deployer -->
+    <!--<deployer extension=".jar" 
class="org.apache.axis2.jaxws.framework.JAXWSDeployer" 
directory="servicejars"/>-->
 
     <!-- ================================================= -->
-    <!-- Message Receivers -->
+    <!--                Message Receivers                  -->
     <!-- ================================================= -->
-    <!--This is the Deafult Message Receiver for the system , if you want to 
have MessageReceivers for -->
-    <!--all the other MEP implement it and add the correct entry to here , so 
that you can refer from-->
-    <!--any operation -->
-    <!--Note : You can ovride this for particular service by adding the same 
element with your requirement-->
+
+    <!-- This is the set of defult Message Receivers for the system, if you 
want to have -->
+    <!-- message receivers for any of the other Message eXchange Patterns 
(MEP) implement it -->
+    <!-- and add the implementation class to here, so that you can refer from 
any operation -->
+    <!-- Note : You can ovride this for particular service by adding this same 
element to the -->
+    <!-- services.xml with your preferences -->
     <messageReceivers>
         <messageReceiver mep="http://www.w3.org/ns/wsdl/in-only";
                          
class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"/>
@@ -111,10 +143,12 @@
     </messageReceivers>
 
     <!-- ================================================= -->
-    <!-- Message Formatter -->
+    <!--                Message Formatters                 -->
     <!-- ================================================= -->
-    <!--Following content type to message formatter mapping can be used to 
implement support for different message -->
-    <!--format  serialization in Axis2. These message formats are expected to 
be resolved based on the content type. -->
+
+    <!-- Following content type to message formatter mapping can be used to 
implement support -->
+    <!-- for different message format serializations in Axis2. These message 
formats are -->
+    <!-- expected to be resolved based on the content type. -->
     <messageFormatters>
         <messageFormatter contentType="application/x-www-form-urlencoded"
                           
class="org.apache.axis2.transport.http.XFormURLEncodedFormatter"/>
@@ -122,6 +156,10 @@
                           
class="org.apache.axis2.transport.http.MultipartFormDataFormatter"/>
         <messageFormatter contentType="application/xml"
                           
class="org.apache.axis2.transport.http.ApplicationXMLFormatter"/>
+        <messageFormatter contentType="text/xml"
+                         
class="org.apache.axis2.transport.http.SOAPMessageFormatter"/>
+        <messageFormatter contentType="application/soap+xml"
+                         
class="org.apache.axis2.transport.http.SOAPMessageFormatter"/>
         <!--<messageFormatter contentType="x-application/hessian"-->
                          
<!--class="org.apache.synapse.format.hessian.HessianMessageFormatter"/>-->
         <!--<messageFormatter contentType=""-->
@@ -129,10 +167,12 @@
     </messageFormatters>
 
     <!-- ================================================= -->
-    <!-- Message Builders -->
+    <!--                Message Builders                   -->
     <!-- ================================================= -->
-    <!--Following content type to builder mapping can be used to implement 
support for different message -->
-    <!--formats in Axis2. These message formats are expected to be resolved 
based on the content type. -->
+
+    <!-- Following content type to builder mapping can be used to implement 
support for -->
+    <!-- different message formats in Axis2. These message formats are 
expected to be -->
+    <!-- resolved based on the content type. -->
     <messageBuilders>
         <messageBuilder contentType="application/xml"
                         
class="org.apache.axis2.builder.ApplicationXMLBuilder"/>
@@ -147,37 +187,8 @@
     </messageBuilders>
 
     <!-- ================================================= -->
-    <!-- Transport Ins -->
+    <!--             Transport Ins (Listeners)             -->
     <!-- ================================================= -->
-    <!--<transportReceiver name="http"-->
-                       
<!--class="org.wso2.carbon.core.transports.http.HttpTransportListener">-->
-        <!--
-           Uncomment the following if you are deploying this within an 
application server. You
-           need to specify the HTTP port of the application server
-        -->
-        <!--<parameter name="port">9763</parameter>-->
-
-        <!--
-       Uncomment the following to enable Apache2 mod_proxy. The port on the 
Apache server is 80
-       in this case.
-        -->
-        <!--<parameter name="proxyPort">80</parameter>-->
-    <!--</transportReceiver>-->
-
-    <!--<transportReceiver name="https"-->
-                       
<!--class="org.wso2.carbon.core.transports.http.HttpsTransportListener">-->
-        <!--
-           Uncomment the following if you are deploying this within an 
application server. You
-           need to specify the HTTPS port of the application server
-        -->
-        <!--<parameter name="port">9443</parameter>-->
-
-        <!--
-       Uncomment the following to enable Apache2 mod_proxy. The port on the 
Apache server is 443
-       in this case.
-        -->
-        <!--<parameter name="proxyPort">443</parameter>-->
-    <!--</transportReceiver>-->
 
     <!-- the non blocking http transport based on HttpCore + NIO extensions -->
     <transportReceiver name="http" 
class="org.apache.synapse.transport.nhttp.HttpCoreNIOListener">
@@ -253,51 +264,39 @@
         <parameter name="non-blocking">true</parameter>
     </transportReceiver>-->
 
+    <!--<transportReceiver name="http"-->
+                       
<!--class="org.wso2.carbon.core.transports.http.HttpTransportListener">-->
+        <!--
+           Uncomment the following if you are deploying this within an 
application server. You
+           need to specify the HTTP port of the application server
+        -->
+        <!--<parameter name="port">9763</parameter>-->
 
-    <!-- ================================================= -->
-    <!-- Transport Outs -->
-    <!-- ================================================= -->
-
-    <transportSender name="jms" 
class="org.apache.synapse.transport.jms.JMSSender">
-        <!-- uncomment this and configure to use connection pools for sending 
messages
-        <parameter name="myTopicConnectionFactory">
-            <parameter 
name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</parameter>
-            <parameter 
name="java.naming.provider.url">tcp://localhost:61616</parameter>
-            <parameter 
name="transport.jms.ConnectionFactoryJNDIName">TopicConnectionFactory</parameter>
-            <parameter name="transport.jms.ConnectionFactoryType" 
locked="false">topic</parameter>
-        </parameter>
-
-        <parameter name="myQueueConnectionFactory">
-            <parameter 
name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</parameter>
-            <parameter 
name="java.naming.provider.url">tcp://localhost:61616</parameter>
-            <parameter 
name="transport.jms.ConnectionFactoryJNDIName">QueueConnectionFactory</parameter>
-            <parameter name="transport.jms.ConnectionFactoryType" 
locked="false">queue</parameter>
-        </parameter>
+        <!--
+       Uncomment the following to enable Apache2 mod_proxy. The port on the 
Apache server is 80
+       in this case.
+        -->
+        <!--<parameter name="proxyPort">80</parameter>-->
+    <!--</transportReceiver>-->
 
-        <parameter name="default">
-            <parameter 
name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</parameter>
-            <parameter 
name="java.naming.provider.url">tcp://localhost:61616</parameter>
-            <parameter 
name="transport.jms.ConnectionFactoryJNDIName">QueueConnectionFactory</parameter>
-            <parameter name="transport.jms.ConnectionFactoryType" 
locked="false">queue</parameter>
-        </parameter> -->
-    </transportSender>
+    <!--<transportReceiver name="https"-->
+                       
<!--class="org.wso2.carbon.core.transports.http.HttpsTransportListener">-->
+        <!--
+           Uncomment the following if you are deploying this within an 
application server. You
+           need to specify the HTTPS port of the application server
+        -->
+        <!--<parameter name="port">9443</parameter>-->
 
-    <transportSender name="vfs" 
class="org.apache.synapse.transport.vfs.VFSTransportSender"/>
+        <!--
+       Uncomment the following to enable Apache2 mod_proxy. The port on the 
Apache server is 443
+       in this case.
+        -->
+        <!--<parameter name="proxyPort">443</parameter>-->
+    <!--</transportReceiver>-->
 
-    <!--<transportSender name="http"-->
-                     
<!--class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">-->
-        <!--<parameter name="PROTOCOL">HTTP/1.1</parameter>-->
-        <!--<parameter name="Transfer-Encoding">chunked</parameter>-->
-        <!-- This parameter has been added to overcome problems encounted in 
SOAP action parameter -->
-        <!--<parameter name="OmitSOAP12Action">true</parameter>-->
-    <!--</transportSender>-->
-    <!--<transportSender name="https"-->
-                     
<!--class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">-->
-        <!--<parameter name="PROTOCOL">HTTP/1.1</parameter>-->
-        <!--<parameter name="Transfer-Encoding">chunked</parameter>-->
-        <!-- This parameter has been added to overcome problems encounted in 
SOAP action parameter -->
-        <!--<parameter name="OmitSOAP12Action">true</parameter>-->
-    <!--</transportSender>-->
+    <!-- ================================================= -->
+    <!--             Transport Outs (Senders)              -->
+    <!-- ================================================= -->
 
     <!-- the non-blocking http transport based on HttpCore + NIO extensions -->
     <transportSender name="http" 
class="org.apache.synapse.transport.nhttp.HttpCoreNIOSender">
@@ -324,6 +323,32 @@
             <!--supports Strict|AllowAll|DefaultAndLocalhost or the default if 
none specified -->
     </transportSender>
 
+    <transportSender name="jms" 
class="org.apache.synapse.transport.jms.JMSSender">
+        <!-- uncomment this and configure to use connection pools for sending 
messages
+        <parameter name="myTopicConnectionFactory">
+            <parameter 
name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</parameter>
+            <parameter 
name="java.naming.provider.url">tcp://localhost:61616</parameter>
+            <parameter 
name="transport.jms.ConnectionFactoryJNDIName">TopicConnectionFactory</parameter>
+            <parameter name="transport.jms.ConnectionFactoryType" 
locked="false">topic</parameter>
+        </parameter>
+
+        <parameter name="myQueueConnectionFactory">
+            <parameter 
name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</parameter>
+            <parameter 
name="java.naming.provider.url">tcp://localhost:61616</parameter>
+            <parameter 
name="transport.jms.ConnectionFactoryJNDIName">QueueConnectionFactory</parameter>
+            <parameter name="transport.jms.ConnectionFactoryType" 
locked="false">queue</parameter>
+        </parameter>
+
+        <parameter name="default">
+            <parameter 
name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</parameter>
+            <parameter 
name="java.naming.provider.url">tcp://localhost:61616</parameter>
+            <parameter 
name="transport.jms.ConnectionFactoryJNDIName">QueueConnectionFactory</parameter>
+            <parameter name="transport.jms.ConnectionFactoryType" 
locked="false">queue</parameter>
+        </parameter> -->
+    </transportSender>
+
+    <transportSender name="vfs" 
class="org.apache.synapse.transport.vfs.VFSTransportSender"/>
+
     <!-- Uncomment and configure the SMTP server information
     check com.sun.mail.smtp package documentation for descriptions of 
properties
     <transportSender name="mailto" 
class="org.apache.synapse.transport.mail.MailTransportSender">
@@ -341,23 +366,38 @@
            <parameter name="non-blocking">true</parameter>
     </transportSender>-->
 
+    <!--<transportSender name="http"-->
+                     
<!--class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">-->
+        <!--<parameter name="PROTOCOL">HTTP/1.1</parameter>-->
+        <!--<parameter name="Transfer-Encoding">chunked</parameter>-->
+        <!-- This parameter has been added to overcome problems encounted in 
SOAP action parameter -->
+        <!--<parameter name="OmitSOAP12Action">true</parameter>-->
+    <!--</transportSender>-->
+    <!--<transportSender name="https"-->
+                     
<!--class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">-->
+        <!--<parameter name="PROTOCOL">HTTP/1.1</parameter>-->
+        <!--<parameter name="Transfer-Encoding">chunked</parameter>-->
+        <!-- This parameter has been added to overcome problems encounted in 
SOAP action parameter -->
+        <!--<parameter name="OmitSOAP12Action">true</parameter>-->
+    <!--</transportSender>-->
 
     <!-- ================================================= -->
-    <!-- Global Modules  -->
+    <!--             Global Engaged Modules                -->
     <!-- ================================================= -->
-    <!-- Comment this to disable Addressing -->
+
+    <!-- Comment this out to disable Addressing -->
     <module ref="addressing"/>
+    <!-- This is the synapse module and MUST NOT be removed nor commented for 
ESB to operate -->
     <module ref="synapse"/>
 
-    <!--Configuring module , providing parameters for modules whether they 
refer or not-->
-    <!--<moduleConfig name="addressing">-->
-    <!--<parameter name="addressingPara" locked="false">N/A</parameter>-->
-    <!--</moduleConfig>-->
-
     <!-- ================================================= -->
-    <!-- Clustering  -->
+    <!--                Clustering                         -->
     <!-- ================================================= -->
-    <!-- Configure the following for preparing Synapse to a clustered 
environment -->
+
+    <!-- To enable clustering for this node, set the value of "enable" 
attribute of the -->
+    <!-- "cluster" element to "true". The initilization of a node in the 
cluster is handled by -->
+    <!-- the class corresponding to the "class" attribute of the "cluster" 
element. It is also -->
+    <!-- responsible for getting this node to join the cluster. -->
     <clustering 
class="org.apache.axis2.clustering.tribes.TribesClusteringAgent" enable="false">
 
         <!--
@@ -402,8 +442,8 @@
         <parameter name="membershipScheme">multicast</parameter>
 
         <!--
-         The clustering domain/group. Nodes in the same group will belong to 
the same multicast
-         domain. There will not be interference between nodes in different 
groups.
+           The clustering domain/group. Nodes in the same group will belong to 
the same multicast
+           domain. There will not be interference between nodes in different 
groups.
         -->
         <parameter name="domain">apache.axis2.domain</parameter>
 
@@ -418,8 +458,8 @@
         <parameter name="synchronizeAll">true</parameter>
 
         <!--
-          The maximum number of times we need to retry to send a message to a 
particular node
-          before giving up and considering that node to be faulty
+           The maximum number of times we need to retry to send a message to a 
particular node
+           before giving up and considering that node to be faulty
         -->
         <parameter name="maxRetries">10</parameter>
 
@@ -432,8 +472,9 @@
         <!-- The frequency of sending membership multicast messages (in ms) -->
         <parameter name="mcastFrequency">500</parameter>
 
-        <!-- The time interval within which if a member does not respond, the 
member will be
-         deemed to have left the group (in ms)
+        <!--
+           The time interval within which if a member does not respond, the 
member will be
+           deemed to have left the group (in ms)
          -->
         <parameter name="memberDropTime">3000</parameter>
 
@@ -447,24 +488,18 @@
         <parameter name="localMemberHost">127.0.0.1</parameter>
 
         <!--
-        The TCP port used by this member. This is the port through which other 
nodes will
-        contact this member
+           The TCP port used by this member. This is the port through which 
other nodes will
+           contact this member
          -->
         <parameter name="localMemberPort">4000</parameter>
 
-        <!--
-        Preserve message ordering. This will be done according to sender order.
-        -->
+        <!-- Preserve message ordering. This will be done according to sender 
order. -->
         <parameter name="preserveMessageOrder">true</parameter>
 
-        <!--
-        Maintain atmost-once message processing semantics
-        -->
+        <!-- Maintain atmost-once message processing semantics -->
         <parameter name="atmostOnceMessageSemantics">true</parameter>
 
-        <!--
-        Properties specific to this member
-        -->
+        <!-- Properties specific to this member -->
         <parameter name="properties">
             <property name="backendServerURL" 
value="https://${hostName}:${httpsPort}/services/"/>
             <property name="mgtConsoleURL" 
value="https://${hostName}:${httpsPort}/"/>
@@ -486,9 +521,9 @@
         </members>
 
         <!--
-        Enable the load balancer entry if you need to run this node as a load 
balancer.
-        Multiple application domains with different LoadBalanceEventHandler 
implementations
-        can be defined in this section.
+           Enable the load balancer entry if you need to run this node as a 
load balancer.
+           Multiple application domains with different LoadBalanceEventHandler 
implementations
+           can be defined in this section.
         -->
         <groupManagement enable="false">
             <applicationDomain name="apache.axis2.application.domain"
@@ -541,8 +576,9 @@
     </clustering>
 
     <!-- ================================================= -->
-    <!-- Phases  -->
+    <!--                    Phases                         -->
     <!-- ================================================= -->
+
     <phaseOrder type="InFlow">
         <!--  System pre defined phases       -->
         <phase name="Transport">
@@ -554,6 +590,10 @@
                      
class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher">
                 <order phase="Transport"/>
             </handler>
+            <handler name="SMTPFaultHandler"
+                     
class="org.wso2.carbon.core.transports.smtp.SMTPFaultHandler">
+                <order phase="Transport"/>
+            </handler>
         </phase>
         <phase name="Addressing">
             <handler name="AddressingBasedDispatcher"
@@ -577,13 +617,14 @@
                      
class="org.apache.axis2.dispatchers.HTTPLocationBasedDispatcher"/>
         </phase>
         <!--  System pre defined phases       -->
+        <phase name="RMPhase"/>
         <phase name="OpPhase"/>
         <phase name="AuthPhase"/>
         <phase name="MUPhase"/>
-        <!--   After Postdispatch phase module author or or service author can 
add any phase he want      -->
+        <!-- After Postdispatch phase module author or or service author can 
add any phase he want -->
         <phase name="OperationInPhase"/>
-        <phase name="RMPhase"/>
     </phaseOrder>
+
     <phaseOrder type="OutFlow">
         <!--      user can add his own phases to this area  -->
         <phase name="RMPhase"/>
@@ -596,8 +637,18 @@
         <phase name="MessageOut"/>
         <phase name="Security"/>
     </phaseOrder>
+
     <phaseOrder type="InFaultFlow">
-        <phase name="Transport"/>
+        <phase name="Transport">
+            <handler name="RequestURIBasedDispatcher"
+                     
class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher">
+                <order phase="Transport"/>
+            </handler>
+            <handler name="SOAPActionBasedDispatcher"
+                     
class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher">
+                <order phase="Transport"/>
+            </handler>
+        </phase>
         <phase name="Addressing">
             <handler name="AddressingBasedDispatcher"
                      
class="org.apache.axis2.dispatchers.AddressingBasedDispatcher">
@@ -620,19 +671,21 @@
                      
class="org.apache.axis2.dispatchers.HTTPLocationBasedDispatcher"/>
         </phase>
         <!--      user can add his own phases to this area  -->
+        <phase name="RMPhase"/>
         <phase name="OpPhase"/>
         <phase name="MUPhase"/>
         <phase name="OperationInFaultPhase"/>
-        <phase name="RMPhase"/>
     </phaseOrder>
+
     <phaseOrder type="OutFaultFlow">
         <!--      user can add his own phases to this area  -->
         <phase name="RMPhase"/>
-        <phase name="MUPhase"/>
         <!-- Must Understand Header processing phase -->
+        <phase name="MUPhase"/>
         <phase name="OperationOutFaultPhase"/>
         <phase name="PolicyDetermination"/>
         <phase name="MessageOut"/>
         <phase name="Security"/>
     </phaseOrder>
+
 </axisconfig>

_______________________________________________
Esb-java-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev

Reply via email to