On 25/01/2013, at 6:09 AM, Christopher Schultz <ch...@christopherschultz.net> 
wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> André,
> 
> On 1/24/13 12:14 PM, André Warnier wrote:
>> Now, considering this, there are a number of possibilities : - the
>> documentation is totally wrong - there is a bug in Tomcat - your
>> Tomcat server is not using this server.xml - or, it being rather
>> unlikely that processing 0 requests is what a normal user would
>> want, the Tomcat developers have coded this so that an obviously
>> nonsensical value of 0 would result in the default (of 200) being
>> applied.
> 
> That last one is not true: the code will happily accept maxThreads=0
> but then will throw an exception when the connector tries to actually
> start its Executor.
> 
> I suspect Hermes is editing some unrelated server.xml file: his
> observations seem totally in-line with that hypothesis.
> 
> Hermes, try modifying your server.xml file to be syntactically
> incorrect. For example, put a "<!--" into the middle of the file and
> try to start Tomcat. If it still starts, you are editing the wrong file.

And if using a Linux OS, you can use "lsof" to identify what file descriptors 
the tomcat JVM has opened, this is handy for tracking down issues with 
misplaced  conf files.

Cheers, Ben

> 
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
> 
> iEYEAREIAAYFAlEBhv8ACgkQ9CaO5/Lv0PDUWgCfWY/BUyhl4rQkZUC19SNB2P72
> sckAn2dZwfEd7uVZz6eg0HuPmuZC81j6
> =YVBj
> -----END PGP SIGNATURE-----
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org

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

Reply via email to