This week's giveaway is in the Java/Jakarta EE forum.
We're giving away four copies of Java EE 8 High Performance and have Romain Manni-Bucau on-line!
Enrico Tamellin
Posts: 23
posted 9 years ago
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'll post all the setting about the ThreadPool you can find in the file axis2.xml!
The file is in "\apache-tomcat-6.0.18\webapps\axis2\WEB-INF\conf\axis2.xml"

- <transportReceiver name="http" class="org.apache.axis2.transport.http.SimpleHTTPServer">
<parameter name="port">8080</parameter>
- <!--
Here is the complete list of supported parameters (see example settings further below):
port: the port to listen on (default 6060)
hostname: if non-null, url prefix used in reply-to endpoint references (default null)
originServer: value of http Server header in outgoing messages (default "Simple-Server/1.1")
requestTimeout: value in millis of time that requests can wait for data (default 20000)
requestTcpNoDelay: true to maximize performance and minimize latency (default true)
false to minimize bandwidth consumption by combining segments
requestCoreThreadPoolSize: number of threads available for request processing (unless queue fills up) (default 25)
requestMaxThreadPoolSize: number of threads available for request processing if queue fills up (default 150)
note that default queue never fills up: see HttpFactory
threadKeepAliveTime: time to keep threads in excess of core size alive while inactive (default 180)
note that no such threads can exist with default unbounded request queue
threadKeepAliveTimeUnit: TimeUnit of value in threadKeepAliveTime (default SECONDS) (default SECONDS)

- <!-- <parameter name="hostname"></parameter>
- <!-- <parameter name="originServer">My-Server/1.1</parameter>
- <!-- <parameter name="requestTimeout">10000</parameter>
- <!-- <parameter name="requestTcpNoDelay">false</parameter>
- <!-- <parameter name="requestCoreThreadPoolSize">50</parameter>
- <!-- <parameter name="RequestMaxThreadPoolSize">100</parameter>
- <!-- <parameter name="threadKeepAliveTime">240000</parameter>
- <!-- <parameter name="threadKeepAliveTimeUnit">MILLISECONDS</parameter>

The knights of nee want a shrubbery. And a tiny ad:
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!