File locking on Windows is different than file locking on Unix in that on Windows a file can be locked on read. If you are redeploying a second version of an already deployed web application, you may see something like the following web application:
working on a Windows 2000 to 2008 migration, the application uses Tomcat 4.1 running on Windows 2000 server . We are upgrading to Windows 2008 server. Will Tomcat 4.1 work with Windows 2008/IS 7? Has anybody installed Tomcat 4.1 on a Windows 2008 box?
To find out how much RAM is allocated already to your Tomcat instance, if you have Tomcat installed as a Windows service, you can run Regedit and look at:
HKEY_LOCAL_MACHINE SOFTWARE Apache Software Foundation Procrun 2,0
Under that key will be all the tomcat service instances you have installed on that machine. If you expand an instance tree you will see another key named Parameters. Expand this and you will see a number of named values:
An approach to help correct this would be:
The JDK 5.0 provides extensive monitoring and management support through the Java Monitoring and Management Console (JConsole) tool. JConsole uses the built-in instrumentation of the Java virtual machine to provide information on performance and resource consumption of applications running on the Java platform using Java Management Extension (JMX) technology.
To enable JConsole for the Tomcat process on Windows:
1. Click on the "java" tab in the Tomcat monitor
2. Add to the java options line.