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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Tomcat
Reply 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: 6
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: 294

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 .


Regards, Muhammad Saif Asif Mirza
SCJA(5/6) SCJP(6)
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: the action can't be completed because the file is open in apache tomcat 6.0
 
Similar Threads
Problem in sorting the collections.
m getting follwoing exception : java.lang.IllegalArgumentException
Folder Browser Dialog on a button click
Spring webMVC - org.springframework.web.servlet.DispatcherServlet noHandlerFound
How to redeploy a webapp that already exists