Re: Axis2 transportReceiver config for deployment in tomcat

Kishanthan Thangarajah <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <CAHt68vHd9aUyWX6eJCuO9iGEs4hYS6qqPLS6Rim1kuQS8yURtw@mail.gmail.com>
On Tue, Aug 28, 2012 at 12:02 PM, Sathwik Bantwal Premakumar <
[email protected]> wrote:

> Hi,
>
> When axis2 is deployed within a tomcat container what should be the
> configuration for transportReceiver.
>

When using the servlet transport (in webapp mode), you have to use
the AxisServletListener as the transportReciever.

<transportReceiver name="http"

 class="org.apache.axis2.transport.http.AxisServletListener"/>

Also by default, axis2 assumes that it only receives http requests. If you
want to have "https" also, then you have to define that separately (refer
configuring axis2.xml section in [1]).

Thanks,
Kishanthan.
[1] http://axis.apache.org/axis2/java/core/docs/servlet-transport.html


>
> Currently we have:
> <transportReceiver name="http"
> class="org.apache.axis2.**transport.http.**SimpleHTTPServer">
>         <parameter name="port">8080</parameter>
>
> Does this affect performance in any way.
>
> Should we replace with servlet transport as explained here.
> http://axis.apache.org/axis2/**java/core/docs/servlet-**transport.html<http://axis.apache.org/axis2/java/core/docs/servlet-transport.html>
>
> regards,
> sathwik
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.**apache.org<[email protected]>
> For additional commands, e-mail: [email protected]
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.