Re: [Dev] Purpose of using axis2_nhttp.xml in ESB

2014-12-22 Thread Shashika Karunatilaka
Hi all

Thank all for your responses.

On Sun, Dec 21, 2014 at 10:45 PM, Harsha Thirimanna hars...@wso2.com
wrote:

 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: **hars...@wso2.com* az...@wso2.com* 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 raj...@wso2.com
 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 ud...@wso2.com 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 hars...@wso2.com 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 shashi...@wso2.com
 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
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


 ___
 Dev mailing list
 Dev@wso2.org
 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
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Purpose of using axis2_nhttp.xml in ESB

2014-12-21 Thread Danushka Fernando
Hi
And if you want to use NIO instead of pass-through you can just rename this
file as axis2.xml and restart the server.

Thanks  Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729

On Sun, Dec 21, 2014 at 1:19 PM, Harsha Thirimanna hars...@wso2.com 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 shashi...@wso2.com
 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
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Purpose of using axis2_nhttp.xml in ESB

2014-12-21 Thread Udara Liyanage
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 hars...@wso2.com 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 shashi...@wso2.com
 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
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Purpose of using axis2_nhttp.xml in ESB

2014-12-21 Thread Rajith Siriwardena
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 ud...@wso2.com 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 hars...@wso2.com 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 shashi...@wso2.com
 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
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


 ___
 Dev mailing list
 Dev@wso2.org
 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
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Purpose of using axis2_nhttp.xml in ESB

2014-12-21 Thread Harsha Thirimanna
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: **hars...@wso2.com* az...@wso2.com* 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 raj...@wso2.com
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 ud...@wso2.com 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 hars...@wso2.com 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 shashi...@wso2.com
 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
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


 ___
 Dev mailing list
 Dev@wso2.org
 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
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Purpose of using axis2_nhttp.xml in ESB

2014-12-20 Thread Shashika Karunatilaka
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
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Purpose of using axis2_nhttp.xml in ESB

2014-12-20 Thread Harsha Thirimanna
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 shashi...@wso2.com
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
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev