Yes I also encounter this problem with Tomcat 5.0.28 on a Wintel box.
However it did not occur with 5.0.18. Neither does it occur on MacOS.

Looks like something was broken recently, because it's working with 5.0.18
on another Wintel box which I have not upgraded.

I believe Tomcat is unable to delete the war file for some reason, so the
file remains locked.

Maybe this is a global problem on Wintel boxes because I also noticed that
in my servlet, deleting a file that I just created to temporarily save an
upload, also fails randomly.

Could this be related to permissions ?

>> I am using ant to create war file. Then i undeploy previous version and
>> try
>> to deploy new version. But when i try to do this it says
>> 
>> 
>> FAIL - War file "strutstest.war" already exists on server
>> 
>> 
>> Inside /webapp - previous uploaded war file is still present. I can
>> not
>> delete just like that as it says sharing violation.
>> 
>> So i need to stop Tomcat, delete /webapp/{my prev war file}. Then
>> start
>> the Tomcat again and deploy the new file.
>> 
>> Is there any other soln ? so that w/o restarting my tomcat can i just
>> deploy new version ?
>> 
>> regards
>> 

-------------------------------
Eric VERGNAUD - JLynx Software
Cutting-edge technologies and
services for software companies
web: http://www.jlynx.com
-------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to