Hi,
I am using 6.0.24 with a java 1.6 on an old redhat linux system. I am
using httpd in combination with tomcat. All is working as expected but
I had a question about something I noticed in my logs.
In my server.xml I have set up one Executor and two Connectors (one for
port 8080 "http"and one for port 8009 "ajp13"). Below is the relavent
portion of my server.xml:
<!-- thread pool for handling requests to tomcat -->
<Executor name="TomcatThreadPool" namePrefix="TCThreadPool-"
maxThreads="50" minSpareThreads="5"/>
<!-- direct connection from the outside port 8080 -->
<Connector port="8080" protocol="HTTP/1.1" redirectPort="8443"
enableLookups="false" connectionTimeout="60000"
executor="TomcatThreadPool" disableUploadTimeout="true" />
<!-- connection from the inside port 8009 to httpd -->
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443"
enableLookups="false" connectionTimeout="60000"
executor="TomcatThreadPool" disableUploadTimeout="true" />
My question is: when i access tomcat via port 8080 I see in my logs
that the thread that handles my request is called TCThreadPool-N as
expected, however if I use port 80, though httpd, I see the name of the
thread that handles my request is named TP-Processor-M. Does this imply
that my one Executor is not handling requests from both Connectors? If
not why not? As a follow up, is it possible to configure whatever pool
the TP-Processor threads come from?
Thanks!
Tim
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org