Tomcat.exe is consuming 75% of CPU. Is anyone having any idea why it happens and how can that be decreased?
I am using Tomcat5.5 & J2SDK v 1.4.2_12
I recommend to look at the Tomcat log files, especially file called catalina.out. In my case that file was expanding fast with error messages saying "no permissions to read folder /var/lib/mysql". My application includes a watch service that monitors folder /var/lib/mysql. By allowing the application to read this folder the CPU usage came down drastically. High CPU usage appeared after a system update that can change permissions to access folders and files. Thus the reason for high CPU usage can be external to the web application and also external to Tomcat container.