I am trying to deploy an web app to a new server we just set up. I generate a war file from Eclipse and place it in the web apps dir. A directory for the war appears when I restart Tomcat but the following message is logged and the war is not deployed.
HostConfig[localhost]: Expanding web application archive OBISWEB2.war HostConfig[localhost] Exception while expanding web application archive OBISWEB2.war java.io.FileNotFoundException: C:\Program Files\Apache Software Foundation\Tomcat 4.1\webapps\OBISWEB2.war (The process cannot access the file because it is being used by another process) at java.util.zip.ZipFile.open(Native Method)
The message seems clear, ".. being used by another process", but I can not believe this is the case. I use the same procedure on four other machines with no problem.
I seem to remember seeing the same message when a java command has a type in a jar file name, ex. java -jar typo.jar shoud have been java -jar Typo.jar but I don't see how it fits in this case.
Any help or pointers or even wild guesses would be appreciated.