You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/02/23 13:49:16 UTC

DO NOT REPLY [Bug 27156] New: - minSpareThreads / maxSpareThreads do not work with AJP connector

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27156>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27156

minSpareThreads / maxSpareThreads do not work with AJP connector

           Summary: minSpareThreads / maxSpareThreads do not work with AJP
                    connector
           Product: Tomcat 5
           Version: 5.0.18
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Connector:AJP
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: ruediger.pluem@vodafone.com


Hi,

I noticed that the minSpareThreads / maxSpareThreads settings do not work with
the AJP connector. To be more precise settings these values in the connector
element has no effect at all. Instead the default values for minSpareThreads /
maxSpareThreads are used for the ThreadPool. I had a look at the sources and
noticed that the appropriate setters are missing in
org.apache.jk.common.ChannelSocket. As I do not have that in depth knowledge of
the code I am not sure if it was simply forgotten to implement or if having the
possibiliy to change these settings via the configuration creates other
problems. But as the default values are used in the current situation I do not
think so.
So I created a small patch for this, which works fine for me. I will attach it
to this report.

Best regards

Rüdiger Plüm

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org