Hi Rajith,

AFAIK, we are normally using axis2.xml file and change that file according
to the requirement. Your are talking about the sample running and that [1]
has mentioned the easy way to run the samples just pointing to the
different file. We don't do that in actual deployment.

[1] https://docs.wso2.com/display/ESB481/Setting+Up+the+ESB+Samples


*Harsha Thirimanna*
Senior Software Engineer; WSO2, Inc.; http://wso2.com
* <http://www.apache.org/>*
*email: **[email protected]* <[email protected]>* cell: +94 71 5186770  , +94 *
*774617784twitter: **http://twitter.com/ <http://twitter.com/afkham_azeez>*
*harshathirimannlinked-in: **http:
<http://lk.linkedin.com/in/afkhamazeez>**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
<http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122>*

*Lean . Enterprise . Middleware*


On Sun, Dec 21, 2014 at 10:33 PM, Rajith Siriwardena <[email protected]>
wrote:

> Hi,
>
> ​
> ​E
> ven
> ​ ​
> though
> ​renaming
>  axis2_nhttp.xml
>  ​to
> axis2.xml
>
> ​enables
>  to use the NHTTP transport
> ​, c
> orrect way to do it
> ​, is by
>  changing it in the carbon.xml to point to desired axis2.xml
>
>   <!--
>             Location of the main Axis2 configuration descriptor file,
> a.k.a. axis2.xml file
>
>             This can be a file on the local file system, or a URL
>
>             e.g.
>             1. /home/repository/axis2.xml - An absolute path
>             2. conf/axis2.xml - In this case, the path is relative to
> CARBON_HOME
>             3. file:///home/carbon/repository/axis2.xml
>             4. http://repository/conf/axis2.xml
>         -->
>
> <ConfigurationFile>${carbon.home}/repository/conf/axis2/axis2.xml</ConfigurationFile>
>
> This is mentioned in [1] under "Configuring WSO2 ESB to use the NHTTP
> transport"
>
>
> Thanks,
> Rajith
>
> [1] https://docs.wso2.com/display/ESB481/Setting+Up+the+ESB+Samples
>
>
> On Sun, Dec 21, 2014 at 1:50 PM, Udara Liyanage <[email protected]> wrote:
>
>> Hi,
>>
>> If a user wants to use nhttp transport, he can use this file by renaming
>> it to axis2.xml
>>
>>
>>
>> Touched, not typed. Erroneous words are a feature, not a typo.
>> On Dec 21, 2014 1:19 PM, "Harsha Thirimanna" <[email protected]> wrote:
>>
>>> This is just a file that configured for nhttp but not use. Carbon only
>>> loads axis2.xml only.
>>> On Dec 21, 2014 12:47 PM, "Shashika Karunatilaka" <[email protected]>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> What's the purpose of using axis2_nhttp.xml rather than using the
>>>> axis2.xml as Axis2 configuration descriptor in ESB.
>>>>
>>>> Thank You.
>>>>
>>>> --
>>>> Shashika Prabath Karunatilaka,
>>>> Software Engineer,
>>>> WSO2, Inc: http://wso2.com/
>>>> mobile : +94 77 7487792
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Rajith Siriwardana*
> Software Engineer | WSO2 Cloud
> WSO2 Inc. | http://wso2.com
> *lean. enterprise. middleware*
>
> ---------------------------------------------------
> *http://people.apache.org/~siriwardana
> <http://people.apache.org/~siriwardana>*
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to