tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38713] - java.io.IOException: tmpFile.renameTo(classFile) failed when compiling new JSP (upon redeploy)
Date Fri, 24 Aug 2007 21:47:18 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38713>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38713


Eric.J.Schwarzenbach.C88@alumni.upenn.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|5.5.17                      |5.5.23




------- Additional Comments From Eric.J.Schwarzenbach.C88@alumni.upenn.edu  2007-08-24 14:47
-------
I've seen this sporadically over the years. Most recently with 5.5.23 on Win XP.
It's not readily reproducable at will, as it seems to depend on the timing of
things. My most recent cases were when my computer was responding very
sluggishly due to having a lot of applications running sucking up lots of system
resources (and probably a bit of page thrashing). The race condition during
compiling sounds convincing to me. FWIW, here's a portion of my stacktrace:

java.io.IOException: tmpFile.renameTo(classFile) failed
	at org.apache.jasper.compiler.SmapUtil$SDEInstaller.install(SmapUtil.java:246)
	at org.apache.jasper.compiler.SmapUtil.installSmap(SmapUtil.java:165)
	at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:450)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
	at
org.apache.jasper.servlet.JspServletWrapper.loadTagFile(JspServletWrapper.java:204)
	at
org.apache.jasper.compiler.TagFileProcessor.loadTagFile(TagFileProcessor.java:516)
	at org.apache.jasper.compiler.TagFileProcessor.access$000(TagFileProcessor.java:49)
	at
org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:567)
	at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1442)
	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2164)
	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2214)
	at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2325)
	at org.apache.jasper.compiler.Node$UninterpretedTag.accept(Node.java:1186)
	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2164)
	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2214)
	at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2325)
	at org.apache.jasper.compiler.Node$UninterpretedTag.accept(Node.java:1186)
	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2164)
	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2214)
	at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2325)
	at org.apache.jasper.compiler.Node$UninterpretedTag.accept(Node.java:1186)
	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2164)
	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2214)
	at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2325)
	at org.apache.jasper.compiler.Node$UninterpretedTag.accept(Node.java:1186)
	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2164)
	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2214)
	at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2345)
	at org.apache.jasper.compiler.Node$JspBody.accept(Node.java:1896)
	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2164)
	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2214)
	at
org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:571)
	at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1442)
	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2164)
	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2214)
	at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2225)
	at org.apache.jasper.compiler.Node$JspRoot.accept(Node.java:526)
	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2164)
	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2214)
	at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2220)
	at org.apache.jasper.compiler.Node$Root.accept(Node.java:457)
	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2164)
	at
org.apache.jasper.compiler.TagFileProcessor.loadTagFiles(TagFileProcessor.java:585)
	at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:179)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:296)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:299)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message