aspose file tools*
The moose likes Tomcat and the fly likes the action can't be completed because the file is open in apache tomcat 6.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "the action can Watch "the action can New topic
Author

the action can't be completed because the file is open in apache tomcat 6.0

Leo Aug
Greenhorn

Joined: Sep 02, 2012
Posts: 7
HI


I have stopped tomcat application from tomcat manager. And tried to delete extracted folder.

Sometimes it gets deleted and sometime it gives below error point to specific file.

"the action can't be completed because the file is open in apache tomcat 6.0."


I am using ant script to stop application and delete the folder.

So how to get this issue solved
Saif Asif
Ranch Hand

Joined: Aug 11, 2011
Posts: 440

Greetings Venki King ,

It may be possible the application may have created a thread that was left running in the background and tomcat was unable to successfully stop it ( it sometimes happens ) . But I cannot be sure since I am not aware of your web application. Look at the logs when you stop the application to see whether the application has stopped completely or is there any thread still left that is being executed on tomcat .


Muhammad Saif Asif Mirza
OCJA(5/6) OCJP(6) OCJWCD(6)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: the action can't be completed because the file is open in apache tomcat 6.0