Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Leo Aug
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 440
Eclipse IDE Hibernate Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic