Bug 50003

Summary: AbstractEndpoint.setMinSpareThreads calls executor.setCorePoolSize with incorrect parameter
Product: Tomcat 7 Reporter: Sylvain Laurent <slaurent>
Component: ConnectorsAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 7.0.2   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: proposed patch for tc7

Description Sylvain Laurent 2010-09-26 08:03:51 UTC
It's calling setCorePoolSize(maxThreads) instead of setCorePoolSize(minSpareThreads)
Comment 1 Sylvain Laurent 2010-09-26 08:08:27 UTC
Created attachment 26075 [details]
proposed patch for tc7

proposed patch for tc7.

The problem does not apply to tc6 because the AbstractEndpoint class does not exist in tc6
Comment 2 Mark Thomas 2010-10-07 10:26:31 UTC
This was spotted and fixed as part of work on another issue. The fix will be in 7.0.4 onwards.