You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Christoph Kukulies <ku...@kukulies.org> on 2010/12/10 11:38:11 UTC

minSpareThreads maxSpareThreads property

I installed the APR tomcat native library today.  It is giving the 
WARNINGs below.
Can anyone comment?
catalina.out:
10.12.2010 11:08:54 org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.20.
10.12.2010 11:08:54 org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters 
[false], random [true].
10.12.2010 11:08:54 org.apache.catalina.startup.SetAllPropertiesRule begin
WARNUNG: [SetAllPropertiesRule]{Server/Service/Connector} Setting 
property 'minSpareThreads' to '25' did not find a matching property.
10.12.2010 11:08:54 org.apache.catalina.startup.SetAllPropertiesRule begin
WARNUNG: [SetAllPropertiesRule]{Server/Service/Connector} Setting 
property 'maxSpareThreads' to '75' did not find a matching property.
10.12.2010 11:08:54 org.apache.catalina.startup.SetAllPropertiesRule begin
WARNUNG: [SetAllPropertiesRule]{Server/Service/Connector} Setting 
property 'minSpareThreads' to '25' did not find a matching property.
10.12.2010 11:08:54 org.apache.catalina.startup.SetAllPropertiesRule begin
WARNUNG: [SetAllPropertiesRule]{Server/Service/Connector} Setting 
property 'maxSpareThreads' to '75' did not find a matching property.
10.12.2010 11:08:54 org.apache.catalina.startup.SetAllPropertiesRule begin
WARNUNG: [SetAllPropertiesRule]{Server/Service/Connector} Setting 
property 'minSpareThreads' to '25' did not find a matching property.
10.12.2010 11:08:54 org.apache.catalina.startup.SetAllPropertiesRule begin
WARNUNG: [SetAllPropertiesRule]{Server/Service/Connector} Setting 
property 'maxSpareThreads' to '75' did not find a matching property.
10.12.2010 11:08:54 org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
10.12.2010 11:08:54 org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8081
10.12.2010 11:08:54 org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8082
10.12.2010 11:08:54 org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
10.12.2010 11:08:54 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1048 ms
10.12.2010 11:08:54 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
10.12.2010 11:08:54 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.28
10.12.2010 11:08:54 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
10.12.2010 11:08:55 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml

-- 
Christoph P.U. Kukulies


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


Re: minSpareThreads maxSpareThreads property

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Christoph,

On 12/10/2010 5:38 AM, Christoph Kukulies wrote:
> I installed the APR tomcat native library today.  It is giving the
> WARNINGs below.
> Can anyone comment?

I had the same problem when using keepAliveTimeout with TC 6.0.29, which
is definitely a supported setting. I never got an explanation but didn't
follow up on it.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0CgBoACgkQ9CaO5/Lv0PBmmgCfWb6BLGExmSqrUcrlIaQOzDwC
ckAAn1TEGQ9x9vwAxDn4ZaOGVZLh2Hk0
=PuwF
-----END PGP SIGNATURE-----

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


Re: minSpareThreads maxSpareThreads property

Posted by Rainer Jung <ra...@kippdata.de>.
On 10.12.2010 16:06, Christoph Kukulies wrote:
> Am 10.12.2010 14:02, schrieb André Warnier:
>> Christoph,
>>
>> compare this page :
>> http://tomcat.apache.org/tomcat-6.0-doc/config/http.html#Standard_Implementation
>>
>>
>> to this page :
>> http://tomcat.apache.org/tomcat-5.5-doc/config/http.html
>>
>> In other words, there is a strong suspicion that when you installed
>> 6.0, you just copied a previous server.xml from a previous Tomcat
>> version.
>
> I just copied in my three http-proxies, indeed. But the native library
> was the first one that notified me of
> the configuration error.

See also:

http://marc.info/?t=128985307100002&r=1&w=2

and

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

Regards,

Rainer

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


Re: minSpareThreads maxSpareThreads property

Posted by Christoph Kukulies <ku...@kukulies.org>.
Am 10.12.2010 14:02, schrieb André Warnier:
> Christoph,
>
> compare this page :
> http://tomcat.apache.org/tomcat-6.0-doc/config/http.html#Standard_Implementation 
>
>
> to this page :
> http://tomcat.apache.org/tomcat-5.5-doc/config/http.html
>
> In other words, there is a strong suspicion that when you installed 
> 6.0, you just copied a previous server.xml from a previous Tomcat 
> version.

I just copied in my three http-proxies, indeed. But the native library 
was the first one that notified me of
the configuration error.



> You should not do that.  You should start from the 6.0 server.xml, and 
> make the modifications in it that are necessary for your applications, 
> if any.
>
> You scored an own-goal, and you are lucky that the result is only a 
> warning.
>
>
>
>>
>> Mark
>>
>>> catalina.out:
>>> 10.12.2010 11:08:54 org.apache.catalina.core.AprLifecycleListener init
>>> INFO: Loaded APR based Apache Tomcat Native library 1.1.20.
>>> 10.12.2010 11:08:54 org.apache.catalina.core.AprLifecycleListener init
>>> INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters
>>> [false], random [true].
>>> 10.12.2010 11:08:54 org.apache.catalina.startup.SetAllPropertiesRule 
>>> begin
>>> WARNUNG: [SetAllPropertiesRule]{Server/Service/Connector} Setting
>>> property 'minSpareThreads' to '25' did not find a matching property.
>>> 10.12.2010 11:08:54 org.apache.catalina.startup.SetAllPropertiesRule 
>>> begin
>>> WARNUNG: [SetAllPropertiesRule]{Server/Service/Connector} Setting
>>> property 'maxSpareThreads' to '75' did not find a matching property.
>>> 10.12.2010 11:08:54 org.apache.catalina.startup.SetAllPropertiesRule 
>>> begin
>

-- 
Christoph P.U. Kukulies


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


Re: minSpareThreads maxSpareThreads property

Posted by André Warnier <aw...@ice-sa.com>.
Mark Thomas wrote:
> On 10/12/2010 10:38, Christoph Kukulies wrote:
>> I installed the APR tomcat native library today.  It is giving the
>> WARNINGs below.
>> Can anyone comment?
> 
> Which part isn't clear?
;-)

Christoph,

compare this page :
http://tomcat.apache.org/tomcat-6.0-doc/config/http.html#Standard_Implementation

to this page :
http://tomcat.apache.org/tomcat-5.5-doc/config/http.html

In other words, there is a strong suspicion that when you installed 6.0, you just copied a 
previous server.xml from a previous Tomcat version.
You should not do that.  You should start from the 6.0 server.xml, and make the 
modifications in it that are necessary for your applications, if any.

You scored an own-goal, and you are lucky that the result is only a warning.



> 
> Mark
> 
>> catalina.out:
>> 10.12.2010 11:08:54 org.apache.catalina.core.AprLifecycleListener init
>> INFO: Loaded APR based Apache Tomcat Native library 1.1.20.
>> 10.12.2010 11:08:54 org.apache.catalina.core.AprLifecycleListener init
>> INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters
>> [false], random [true].
>> 10.12.2010 11:08:54 org.apache.catalina.startup.SetAllPropertiesRule begin
>> WARNUNG: [SetAllPropertiesRule]{Server/Service/Connector} Setting
>> property 'minSpareThreads' to '25' did not find a matching property.
>> 10.12.2010 11:08:54 org.apache.catalina.startup.SetAllPropertiesRule begin
>> WARNUNG: [SetAllPropertiesRule]{Server/Service/Connector} Setting
>> property 'maxSpareThreads' to '75' did not find a matching property.
>> 10.12.2010 11:08:54 org.apache.catalina.startup.SetAllPropertiesRule begin
...

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


Re: minSpareThreads maxSpareThreads property

Posted by Mark Thomas <ma...@apache.org>.
On 10/12/2010 10:38, Christoph Kukulies wrote:
> I installed the APR tomcat native library today.  It is giving the
> WARNINGs below.
> Can anyone comment?

Which part isn't clear?

Mark

> catalina.out:
> 10.12.2010 11:08:54 org.apache.catalina.core.AprLifecycleListener init
> INFO: Loaded APR based Apache Tomcat Native library 1.1.20.
> 10.12.2010 11:08:54 org.apache.catalina.core.AprLifecycleListener init
> INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters
> [false], random [true].
> 10.12.2010 11:08:54 org.apache.catalina.startup.SetAllPropertiesRule begin
> WARNUNG: [SetAllPropertiesRule]{Server/Service/Connector} Setting
> property 'minSpareThreads' to '25' did not find a matching property.
> 10.12.2010 11:08:54 org.apache.catalina.startup.SetAllPropertiesRule begin
> WARNUNG: [SetAllPropertiesRule]{Server/Service/Connector} Setting
> property 'maxSpareThreads' to '75' did not find a matching property.
> 10.12.2010 11:08:54 org.apache.catalina.startup.SetAllPropertiesRule begin
> WARNUNG: [SetAllPropertiesRule]{Server/Service/Connector} Setting
> property 'minSpareThreads' to '25' did not find a matching property.
> 10.12.2010 11:08:54 org.apache.catalina.startup.SetAllPropertiesRule begin
> WARNUNG: [SetAllPropertiesRule]{Server/Service/Connector} Setting
> property 'maxSpareThreads' to '75' did not find a matching property.
> 10.12.2010 11:08:54 org.apache.catalina.startup.SetAllPropertiesRule begin
> WARNUNG: [SetAllPropertiesRule]{Server/Service/Connector} Setting
> property 'minSpareThreads' to '25' did not find a matching property.
> 10.12.2010 11:08:54 org.apache.catalina.startup.SetAllPropertiesRule begin
> WARNUNG: [SetAllPropertiesRule]{Server/Service/Connector} Setting
> property 'maxSpareThreads' to '75' did not find a matching property.
> 10.12.2010 11:08:54 org.apache.coyote.http11.Http11AprProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> 10.12.2010 11:08:54 org.apache.coyote.http11.Http11AprProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8081
> 10.12.2010 11:08:54 org.apache.coyote.http11.Http11AprProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8082
> 10.12.2010 11:08:54 org.apache.coyote.ajp.AjpAprProtocol init
> INFO: Initializing Coyote AJP/1.3 on ajp-8009
> 10.12.2010 11:08:54 org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 1048 ms
> 10.12.2010 11:08:54 org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> 10.12.2010 11:08:54 org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/6.0.28
> 10.12.2010 11:08:54 org.apache.catalina.startup.HostConfig deployDescriptor
> INFO: Deploying configuration descriptor manager.xml
> 10.12.2010 11:08:55 org.apache.catalina.startup.HostConfig deployDescriptor
> INFO: Deploying configuration descriptor host-manager.xml
> 


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