I have a Windows Server 2008 64 bit machine with 16GB of RAM and 8 cores (AMD Opteron 2.0GHZ). The problem I'm having is Tomcat takes over an hour to unpack and run a .war file. Are there any Tomcat settings (6 or 7) OR Windows Registry/Regular settings to speed things up? The processor is only using 13% when unpacking and only 130,000K of Memory. I can deploy the same .war file on a much less powerful (dual core processor 2GB of RAM) and it will be ready to go in about 5 minutes. I suspect the issue is Windows and not Tomcat, since I use the same default install of Tomcat and it will deploy quickly on a different machine. However, the specific client's machine that I'm deploying on is very slow (two machines, development and a production server that are both slow).
Turns out this issue was related to the Virus scanning on the machine. Tomcat is limited to a single core when unpacking the .war file, but the scrubbing was making that process take a long time. Upon a more in-depth look at the full deployment of 45 minutes, I saw that the processor did get to higher percentages after the application was fully unpacked and it was actually started. Server admin set the Tomcat directory as an exclusion. This is fine for my application because we do not have user uploaded content within the Tomcat directory. Although, there could be other security implications depending on who is giving you the war file, so if you are experiencing this issue and want to exclude the Tomcat directory, make sure to evaluate the security implications.