You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Michele Mazzucco <Mi...@ncl.ac.uk> on 2007/08/10 11:22:30 UTC
Re: Tomcat 5.5.23 and Axis2 1.3-RC2 configuration
Try to use the NIO based transport receiver / sender and if possible
switch to tomcat 6.* and enable the NIO connector (or the APR -- which
is available also for tomcat 5.5.23).
Michele
On Fri, 2007-08-10 at 11:15 +0200, PXr Malmqvist wrote:
> Hello!
>
> I have a service deployed on Axis2 1.3-RC2 and Tomcat 5.5.23.
> I start with default configurations for both Tomcat and Axis2 and I
> want to change configuration for the http connection to my service to
> avoid exception at heavy load.
>
> The Tomcats server.xml file includes:
>
> <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
> <Connector
> port="8080" maxHttpHeaderSize="8192"
> maxThreads="150" minSpareThreads="25"
> maxSpareThreads="75"
> enableLookups="false" redirectPort="8443"
> acceptCount="100"
> connectionTimeout="20000" disableUploadTimeout="true"
> maxKeepAliveRequests="1" />
>
> where I have added maxKeepAliveRequests="1" and it really improved my
> service.
>
>
>
> The axis2.xml includes:
>
>
> <!-- ================================================= -->
> <!-- Transport Ins -->
> <!-- ================================================= -->
> <transportReceiver name="http"
>
> class="org.apache.axis2.transport.http.SimpleHTTPServer">
> <parameter name="port">8080</parameter>
>
> .
>
> .
> </transportReceiver>
>
> but I dont se any affection on my system when I change any parameter
> for the transportReceiver. (requestCoreThreadPoolSize, ...)
>
> So do anyone knows how it works? Isn't the transportReciver used at
> all in this case?
>
>
>
> Please, help!
>
> /Pr
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ______________________________________________________________________
> FREE pop-up blocking with the new MSN Toolbar MSN Toolbar Get it now!
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For
> additional commands, e-mail: axis-user-help@ws.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org