Skip to main content



      Home
Home » Archived » BIRT » BIRT Report Viewer - tmpFile.renameTo(classFile) failed
BIRT Report Viewer - tmpFile.renameTo(classFile) failed [message #1023944] Mon, 25 March 2013 10:12 Go to next message
Eclipse UserFriend
I am randomly getting the following error when running a report using BIRT 3.7.2. It happens maybe 1 out every 10 tries.

Has anybody seen this before? It almost seems like a file is being accessed that already open, and a race condition may possibly be happening.


HTTP ERROR 500
Problem accessing /MyViewer/run. Reason:
Exception in JSP: /webcontent/birt/pages/layout/ReportDialogFragment.jsp:28

25: <%
26: if ( fragment != null )
27: {
28: fragment.callBack( request, response );
29: }
30: %>
31: </TD>


Stacktrace:
Caused by:
org.apache.jasper.JasperException: Exception in JSP: /webcontent/birt/pages/layout/ReportDialogFragment.jsp:28

25: <%
26: if ( fragment != null )
27: {
28: fragment.callBack( request, response );
29: }
30: %>
31: </TD>



Caused by: java.io.IOException: tmpFile.renameTo(classFile) failed
at org.apache.jasper.compiler.SmapUtil$SDEInstaller.install(SmapUtil.java:245)
at org.apache.jasper.compiler.SmapUtil.installSmap(SmapUtil.java:164)
at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:429)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
... 119 more
Re: BIRT Report Viewer - tmpFile.renameTo(classFile) failed [message #1029501 is a reply to message #1023944] Fri, 29 March 2013 15:53 Go to previous messageGo to next message
Eclipse UserFriend
Is this only when deployed? Are you using Tomcat? If so, here's a bug report that shows that this bug should be fixed in Tomcat 5.5.25, if you're using an earlier version:

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

[Updated on: Fri, 29 March 2013 15:54] by Moderator

Re: BIRT Report Viewer - tmpFile.renameTo(classFile) failed [message #1030898 is a reply to message #1029501] Sun, 31 March 2013 19:36 Go to previous messageGo to next message
Eclipse UserFriend
No, this is using Jetty. We are running BIRT reports inside our Eclipse RCP application (all 3.7.2 components).
Re: BIRT Report Viewer - tmpFile.renameTo(classFile) failed [message #1032120 is a reply to message #1030898] Tue, 02 April 2013 11:37 Go to previous messageGo to next message
Eclipse UserFriend
Can you try downloading a fresh copy of BIRT and maybe also try a newer version to see if the problem persists? If it does, please log a bug.
Re: BIRT Report Viewer - tmpFile.renameTo(classFile) failed [message #1391109 is a reply to message #1032120] Mon, 30 June 2014 09:07 Go to previous messageGo to next message
Eclipse UserFriend
I am having the same problem. Is this issue is resolved. Is there any temporary solution ?
Re: BIRT Report Viewer - tmpFile.renameTo(classFile) failed [message #1391128 is a reply to message #1391109] Mon, 30 June 2014 09:37 Go to previous messageGo to next message
Eclipse UserFriend
We are still having this problem on a regular basis. Unfortunately, we are also stuck at 3.7.2 for foreseeable future. Upgrading to a newer version is not an option at this time (if that would even make a difference).

If anybody has a temporary solution, I would love to hear it. The problem seems to be with the Jasper JSP compiler stepping on itself, but I have no idea what scenario is triggering that.
Re: BIRT Report Viewer - tmpFile.renameTo(classFile) failed [message #1391157 is a reply to message #1391128] Mon, 30 June 2014 10:21 Go to previous messageGo to next message
Eclipse UserFriend
Ankita, What version are you using?

Mark, Did you ever file a bug to see if the engineering team knows what might be the cause? Also, did you ever try downloading a new copy of BIRT. I would think this issue would have come up much more often if it were a normal problem. Maybe not.
Re: BIRT Report Viewer - tmpFile.renameTo(classFile) failed [message #1391245 is a reply to message #1391157] Mon, 30 June 2014 12:37 Go to previous messageGo to next message
Eclipse UserFriend
Michael, I was refraining from logging a bug until I had tested with a newer version of BIRT. However, we have a rather massive RCP application that will require multiple Eclipse projects to be uplifted concurrently. So I cannot easily upgrade BIRT to 4.x without going through the ordeal of upgrading everything else to 4.x as well. We don't currently have a time table for this.
Re: BIRT Report Viewer - tmpFile.renameTo(classFile) failed [message #1391593 is a reply to message #1391245] Tue, 01 July 2014 01:52 Go to previous message
Eclipse UserFriend
Did you ever look at the bug report I posted above? It seems to be the same issue and at closer look, it's just talking about the jasper component even though it lists the product as tomcat. It could be related, though I'm not sure that it'll help.
Previous Topic:How to connect the points between series
Next Topic:waitforexecution.jsp is missing from the birtviewer toolkit
Goto Forum:
  


Current Time: Wed Jul 23 00:39:49 EDT 2025

Powered by FUDForum. Page generated in 0.05398 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top