Attempting to copy a .HTML file a .WAR file (deployed at the time into a Tomcat web server), and get the following error:
The error is a little confusing to me, for if the file "status.html" is open in "read-only mode", then so what - the file should still be able to be copied, right? So I assumed the "file" the error message refers to is the destination file, e.g., "C:\Program Files\myCompany\AcmeWeb\webapps\Acme-client.war", but I have no applications that have that file open.
Digging a little more, I used the SysInternal.com (owned by Microsoft now) tools ProcessExplorer and command line tool "Handles" and cannot find any reference to either the source or destination file.
Unable to copy C:\project\Acme\status.html: File is open in read-only mode - Native error: 00032
Digging a little more, I used the SysInternal.com (owned by Microsoft now) tools ProcessExplorer and command line tool "Handles" and cannot find any reference to either the source or destination file.
Code:
My Configuration: Windows 7 Pro 32 bit BC v3.3.1 (yes I know it's old, I'll try the newer 3.3.7 version).
Comment