When I was upgraded from Clearspace 1.10 to 2.0 using the WAR file with a Tomcat 5.5 server on Windows 2003, the Tomcat service will peg the CPU at 100% when the clearspace.war file is dropped into the webapps folder and the Tomcat Windows service is restarted. It appears that the service is hung, but it eventually recovers and then begins to run normally.
Here's the sequence of events as it happened for me:
- Stopped the Tomcat Windows service.
- Backed up jiveHome directory and clearspace database
- Removed the existing clearspace directory and clearspace.war file from the webapps folder.
- Modified the WAR file by using the "EditWAR.jar" tool to modify my jiveHome directory.
- Dropped the new WAR file into the webapps folder.
- Restarted the Tomcat Windows service.
- Confirmed that the clearspace folder under webapps is generated.
At this point, the CPU is pegged at 100% by the Tomcat service (tomcat5.exe). After several minutes, the utilization dropped and I was able to proceed with the upgrade process by pointing the browser to the Clearspace site.
After completing the upgrade, the instructions stated that I needed to restart the application. Since I had the service MMC up and Clearspace is the only app installed in this Tomcat installation, I just restarted the Tomcat service. Again, after restarting the service, the CPU was pegged at 100% for several minutes before it became usable again.
I have confirmed that the application causing Tomcat to peg the server is Clearspace because I have restarted the service several times successfully without the clearspace.war file deployed.
Currently at this point, while the app appears to have been upgraded successfully and configured properly, Clearspace now causes 100% CPU utilization upon any request of the web application, or whenever the application is reloaded from within the Tomcat Web Application Manager.
Does anyone have any ideas what would be causing this? Have I missed some critical configuration piece for my scenario?
Here's a summary of my setup:
- Windows 2003 Server Enterprise SP2
- Sun JVM 1.6.0_01-b06
- Clearspace 2.0 (version downloaded today)
- Apache Tomcat 5.5.26
I'd love to hear the simple and silly thing that I missed which is causing me so much pain.