Upgrading Tomcat –
There are a couple of methods to upgrade Tomcat
is to use The Apache Installer
is to download and unzip and run the services.bat remove|install Tomcat6
Because of the App that we are working with, we can only use Tomcat 6.
Care should be taken by the installer to address proper notification, testing and there could be variations to doing this process.
There can be many reasons and just to keep up-to-date is not always the best reason to do so. However, reading the Apache Tomcat Change Log and the fact that there have been many releases since the version that I am going to show below which address memory, cpu and other components when running on the server.
we can find some compelling reasons as to why we are going to upgrade:
50306: New StuckThreadDetectionValve to detect requests that take a long time to process, which might indicate that their processing threads are stuck. Based on a patch provided by TomLu. (kkolinko)
Add denyStatus attribute to RequestFilterValve (RemoteAddrValve, RemoteHostValve valves). It allows to use different HTTP response code when rejecting denied request. E.g. 404 instead of 403. (kkolinko)
52850: Extend memory leak prevention and detection code to work with IBM as well as Oracle JVMs. Based on a patch provided by Rohit Kelapure. (kkolinko)