Lately I have been getting this error a lot (about 20% of the time) when a JSP page first gets compiled in tomcat 5.5 or JBoss 4.0.4:
java.io.IOException: tmpFile.renameTo(classFile) failed
What happens is I end up with a file named E.G. grade_jsp$grade_jspHelper.classtmp and the page will continue failing until I go into the work directory of JBoss or Tomcat and manually delete all the .class and .classtmp files.
Is there any reason for this? The only error I see in the logs is the one above, and generally the system will be able to compile the pages the second time. This is extremely annoying and seems like it has only been happening for about a month now.
This is with IDEA 5.1.2 build 4267.