Return-Path: X-Original-To: apmail-axis-java-user-archive@www.apache.org Delivered-To: apmail-axis-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3220ED263 for ; Mon, 10 Sep 2012 07:02:55 +0000 (UTC) Received: (qmail 63874 invoked by uid 500); 10 Sep 2012 07:02:53 -0000 Delivered-To: apmail-axis-java-user-archive@axis.apache.org Received: (qmail 63556 invoked by uid 500); 10 Sep 2012 07:02:52 -0000 Mailing-List: contact java-user-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@axis.apache.org Delivered-To: mailing list java-user@axis.apache.org Received: (qmail 63541 invoked by uid 99); 10 Sep 2012 07:02:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2012 07:02:51 +0000 X-ASF-Spam-Status: No, hits=1.8 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kshanth2101@gmail.com designates 209.85.212.173 as permitted sender) Received: from [209.85.212.173] (HELO mail-wi0-f173.google.com) (209.85.212.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2012 07:02:45 +0000 Received: by wibhm6 with SMTP id hm6so1466685wib.14 for ; Mon, 10 Sep 2012 00:02:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=0mX6fC7VNOXei3Bxj10pHeQVtCYw0IgMk+ziqN3Grdc=; b=TEwBimkqYQMNXA56hijOaaba96bK4cUtM1aU1j+8B96VeymlMqXECCFo1SnlN0dFe0 cqz/uvyfkwGLDtQC0hnYoyGd16A+T9aTXYQDDoeJkoK2DS5rpJI8ekwN14l0EVtR52ww +wU/U8C0A7Mtae12UPW1aGJe6HQUtw5C9V6VIxgGo1/FndByrlOZaXNMm0JgiprIjRyc hgZoid39jrae6C+IOZLp9REgHzARSONOQ55D+Uo81G6lv7FFVMuNGnYssM3+L7wZcHrw mRTjtVli4ZvB/rvefsTCIzwcWmlb4EVqiWOfC5rEYpeUw9IYQIkL+PK7qZWC2Dq0Ag3t YcBw== Received: by 10.217.1.79 with SMTP id m57mr7104299wes.121.1347260545230; Mon, 10 Sep 2012 00:02:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.134.72 with HTTP; Mon, 10 Sep 2012 00:02:05 -0700 (PDT) In-Reply-To: <503C65E8.3010605@intalio.com> References: <503C65E8.3010605@intalio.com> From: Kishanthan Thangarajah Date: Mon, 10 Sep 2012 12:32:05 +0530 Message-ID: Subject: Re: Axis2 transportReceiver config for deployment in tomcat To: java-user@axis.apache.org, sathwik@intalio.com Content-Type: multipart/alternative; boundary=20cf302077dc37e64e04c9538a4e --20cf302077dc37e64e04c9538a4e Content-Type: text/plain; charset=ISO-8859-1 On Tue, Aug 28, 2012 at 12:02 PM, Sathwik Bantwal Premakumar < bantwalpremakumar@intalio.com> 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. 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: > class="org.apache.axis2.**transport.http.**SimpleHTTPServer"> > 8080 > > 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 > > regards, > sathwik > > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: java-user-unsubscribe@axis.**apache.org > For additional commands, e-mail: java-user-help@axis.apache.org > > --20cf302077dc37e64e04c9538a4e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Tue, Aug 28, 2012 at 12:02 PM, Sathwi= k Bantwal Premakumar <bantwalpremakumar@intalio.com> wrote:
Hi,

When axis2 is deployed within a tomcat container what should be the configu= ration for transportReceiver.

When using the= servlet=A0transport (in webapp mode), you have to use the=A0AxisServletLis= tener as the transportReciever.

<transportReceiver name=3D"http"
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0class=3D"org.apache.ax= is2.transport.http.AxisServletListener"/>

= Also by default, axis2 assumes that it only=A0receives http requests. If yo= u want to have "https" also, then you have to define that=A0separ= ately (refer configuring axis2.xml section in [1]).=A0

Thanks,
Kishanthan.
=A0

Currently we have:
<transportReceiver name=3D"http"
class=3D"org.apache.axis2.transport.http.SimpleHTTPServe= r">
=A0 =A0 =A0 =A0 <parameter name=3D"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/se= rvlet-transport.html

regards,
sathwik

-------------------------------------------------------------= --------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org For additional commands, e-mail: java-user-help@axis.apache.org


--20cf302077dc37e64e04c9538a4e--