aspose file tools*
The moose likes Tomcat and the fly likes Strange behavior of Tomcat! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Strange behavior of Tomcat! "classFile.delete() failed"" Watch "Strange behavior of Tomcat! "classFile.delete() failed"" New topic
Author

Strange behavior of Tomcat! "classFile.delete() failed"

Annahita Moshiri
Greenhorn

Joined: May 22, 2008
Posts: 9
Hello fellow ranchers,

I have Tomcat 6.0.20 on Windows 7 Pro. Everything worked perfectly and I had no problems developing my Struts application, until some time ago, which I start to get this error from time to time (not always) on different actions in my application:

Before going to the stack trace, I should mention that if I go back in my browser and resubmit the action everything works properly again!! It seems that this error is somehow related to how Tomcat works with the files or allocates the resources but it can't manage to do it properly, because I had changed nothing in my system configuration before this nasty error started to appear.



Any clues?

Thanks in advance.
Annahita Moshiri
Greenhorn

Joined: May 22, 2008
Posts: 9
Now I get this one too!!!

joe gao
Greenhorn

Joined: Oct 28, 2009
Posts: 1
I get the same problem with you!
chris handson
Greenhorn

Joined: Oct 29, 2009
Posts: 1
I have the same problem´╝ü
Rotem Hollllow
Greenhorn

Joined: Feb 23, 2010
Posts: 1
Hey all,

I'm getting the same error and i'm using windows 7 with tomcat 6.0.18.

Did anyone find solution for this problem?
Simon-Ahmed Charette
Greenhorn

Joined: May 17, 2010
Posts: 1
I resolved this issue, as well as other IO errors, by disabling the indexing service on the tomcat folder as well as on the folders where our application stores data.

You can either disable the indexing engine completely or select the area you want to be excluded from indexing with the "indexing options" panel.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Strange behavior of Tomcat! "classFile.delete() failed"