Hi,

I have an installation using Tomcat 4.1.18, Apache 2.0.43 and mod_jk 2.0.43
running on Redhat 8, all installed from rpms as executables (no building
from source).

Everything works fine for a while until I get the following error in
catalina.out

19-Mar-2003 10:00:20 org.apache.tomcat.util.log.CommonLogHandler log
INFO: All threads are busy, waiting. Please increase maxThreads or check the
servlet sttus75 75

I can get this error just by playing with the Tomcat examples for long
enough (presumably after 75 activities).  It's a bit like each thread is not
being released after it's used.  I have a comparable installation which runs
without problems but it's using Tomcat 4.1.12 with Apache 1.3.22.

Server.xml is pretty much as installed by default (I've commented out the
8080 connector) so it's using the Coyote connector:

    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
               port="8009" minProcessors="5" maxProcessors="75"
               enableLookups="true" redirectPort="8443"
               acceptCount="10" debug="0" connectionTimeout="0"
               useURIValidationHack="false"

protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>

If I change the timeout to 20000, catalina.out reports that the timeout has
been reached.

workers.properties is as installed by default except that I've corrected the
java_home path.

mod_jk.conf is as follows

JkWorkersFile /etc/httpd/conf/workers.properties
JkLogFile     /var/log/httpd/mod_jk.log
JkLogLevel error


#
# Root context mounts for Tomcat
#
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13

#########################################################
# Auto configuration for the /examples context starts.
#########################################################

#
# The following line makes apache aware of the location of the /examples
context
#
Alias /examples "/var/tomcat4/webapps/examples"
<Directory "/var/tomcat4/webapps/examples">
    Options Indexes FollowSymLinks
</Directory>

#
# The following line mounts all JSP files and the /servlet/ uri to tomcat
#
JkMount /examples/servlet/* ajp13
JkMount /examples/*.jsp ajp13

#
# The following line prohibits users from directly access WEB-INF
#
<Location "/examples/WEB-INF/">
    AllowOverride None
    deny from all
</Location>

#######################################################
# Auto configuration for the /examples context ends.
#######################################################



Any help much appreciated - I'm sure I've probably missed something obvious
but all the restarts are getting very annoying!

Marion


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to