We've been kicking the tires of the latest build in our cvs tree which
includes Tomcat 5.0.28. It appears to be working without any problems.
As we are not going to backport these changes to 1.2.1, I'm not sure
what to recommend to you as a way to proceed, however. The update I did
to Tomcat was part of a larger update which included updating all the
third party libraries, the Ant buildfile and the startup scripts.
I can give you some general pointers on what updating Tomcat on 1.2.1
would have to include:
- Preserve the tomcat41 directory name (i.e., if you want to drop in a
replacement tomcat-5.0.28, you need to keep the name as tomcat41).
- The fedora startup script needs to modified so that the line which
calls org.apache.catalina.startup.Bootstrap includes
"-Djava.endorsed.dirs=" (the value of which should be <path to
- The old tomcat webapps/, common/lib/, and conf/ dirs should be
carried over as much as possible.
What I'm not sure about is the possibility of library mismatches. As I
explained before, part of my Tomcat upgrade included updating all the
3rd party libraries Fedora uses.
On 09/28/04 19:01, Robert F. Chavez is rumored to have said:
> We seem to have narrowed the problem down a bit further. It seems that Tomcat
> 4.1, the version packaged with Fedora, uses a deprecated version of
> HTTPConnector which has several known issues, one of which has to do with thread
> Basically, our Fedora implementation maxes out at 75 threads several times a day
> (under heavy usage) and then crashes. Tomcat fails to clean up threads and so
> the threads build up over time until they reach the maximum thread count set in
> the server.xml file.
> Ideally we would like to use an more up-to-date version of Tomcat with Fedora,
> but I'm not sure what implications this would have on the Fedora subsystem.
> This is turning into a critical issue as we are unable to keep our Fedora
> repository up for more than a few hours at a time.
> Any suggestions would be greatly appreciated.
> Quoting "Robert F. Chavez" <robert.chavez@...>:
>>We are having some max thread problems with the verison of TomCat that is
>>packaged with Fedora (Fedora 1.2.1 is packaged with Tomcatt 4.1.x). If we
>>diagnosed the problem correctly, it looks like there's a problem with the
>>connector, it may not be recycling threads correctly.
>>I was wondering if it's possible to update the Fedora TomCat 4.1 to TomCat
>> Or if anyone has had a similar experience. Any ideas?