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 2010/10/07 10:22:56 UTC

DO NOT REPLY [Bug 50054] New: When the AJP connector is used, minSpareThreads cannot be used.

https://issues.apache.org/bugzilla/show_bug.cgi?id=50054

           Summary: When the AJP connector is used, minSpareThreads cannot
                    be used.
           Product: Tomcat 7
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connectors
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: kfujino@apache.org


I found following warnning messages. 

==
Oct 7, 2010 2:25:27 PM org.apache.catalina.startup.SetAllPropertiesRule begin
WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property
'minSpareThreads' to '31' did not find a matching property.
==

The AJP connector's configs are the following. 
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443"
minSpareThreads="100"/>

When I used the Http connector, minSpareThreads was able to be used. 

org.apache.coyote.ajp.AjpProtocol doesn't set the minSpareThreads to
org.apache.tomcat.util.net.JIoEndpoint.

I made a patch.
This patch was made based on AbstractHttp11Protocol. 

Best regards.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 50054] When the AJP connector is used, minSpareThreads cannot be used.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50054

--- Comment #3 from STG <cs...@gmail.com> 2010-10-07 19:20:07 EDT ---
(In reply to comment #2)
> Fixed in trunk and will be in 7.0.4 onwards.

i downloaded tomcat 7.0.4 lately and I still experiencing this issue. 


can someone advise me how to patch and test in my tomcat...

Oct 7, 2010 3:38:23 PM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false],
random [true].
Oct 7, 2010 3:38:23 PM org.apache.catalina.startup.SetAllPropertiesRule begin
WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property
'minSpareThreads' to '25' did not find a matching property.
Oct 7, 2010 3:38:23 PM org.apache.catalina.startup.SetAllPropertiesRule begin
WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property
'maxSpareThreads' to '75' did not find a matching property.
Oct 7, 2010 3:38:23 PM org.apache.catalina.startup.SetAllPropertiesRule begin
WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property
'maxSpareThreads' to '75' did not find a matching property.
Oct 7, 2010 3:38:23 PM org.apache.catalina.startup.SetAllPropertiesRule begin
WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property
'debug' to '0' did not find a matching property.
Oct 7, 2010 3:38:23 PM org.apache.coyote.http11.Http11AprProtocol init

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Re: DO NOT REPLY [Bug 50054] New: When the AJP connector is used, minSpareThreads cannot be used.

Posted by Rudhra Rajeshwari <ru...@gmail.com>.

DO NOT REPLY [Bug 50054] When the AJP connector is used, minSpareThreads cannot be used.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50054

--- Comment #4 from Mark Thomas <ma...@apache.org> 2010-10-08 04:48:24 EDT ---
(In reply to comment #3)
> (In reply to comment #2)
> > Fixed in trunk and will be in 7.0.4 onwards.
> 
> i downloaded tomcat 7.0.4 lately and I still experiencing this issue.

Unlikely. Tomcat 7.0.4 has not yet been tagged let alone made available for
download.

> can someone advise me how to patch and test in my tomcat...

That would be a question for the users mailing list.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 50054] When the AJP connector is used, minSpareThreads cannot be used.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50054

Keiichi Fujino <kf...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Keiichi Fujino <kf...@apache.org> 2010-10-07 05:24:47 EDT ---
Fixed in trunk and will be in 7.0.4 onwards.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 50054] When the AJP connector is used, minSpareThreads cannot be used.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50054

--- Comment #1 from Keiichi Fujino <kf...@apache.org> 2010-10-07 04:24:56 EDT ---
Created an attachment (id=26132)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26132)
I made a patch.

This patch was made based on AbstractHttp11Protocol.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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