Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » BIRT Report Viewer - tmpFile.renameTo(classFile) failed
BIRT Report Viewer - tmpFile.renameTo(classFile) failed [message #1023944] Mon, 25 March 2013 14:12 Go to next message
Mark Proe is currently offline Mark ProeFriend
Messages: 29
Registered: July 2009
Junior Member
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 19:53 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1684
Registered: July 2009
Senior Member

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


Michael

Add interactivity, scheduling, sharing, live Excel export, and JS integration to your BIRT app with the new, free BIRT server, BIRT iHub F-Type.

[Updated on: Fri, 29 March 2013 19:54]

Report message to a moderator

Re: BIRT Report Viewer - tmpFile.renameTo(classFile) failed [message #1030898 is a reply to message #1029501] Sun, 31 March 2013 23:36 Go to previous messageGo to next message
Mark Proe is currently offline Mark ProeFriend
Messages: 29
Registered: July 2009
Junior Member
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 15:37 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1684
Registered: July 2009
Senior Member

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.

Michael

Add interactivity, scheduling, sharing, live Excel export, and JS integration to your BIRT app with the new, free BIRT server, BIRT iHub F-Type.
Re: BIRT Report Viewer - tmpFile.renameTo(classFile) failed [message #1391109 is a reply to message #1032120] Mon, 30 June 2014 13:07 Go to previous messageGo to next message
ankita muley is currently offline ankita muleyFriend
Messages: 5
Registered: June 2014
Junior Member
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 13:37 Go to previous messageGo to next message
Mark Proe is currently offline Mark ProeFriend
Messages: 29
Registered: July 2009
Junior Member
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 14:21 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1684
Registered: July 2009
Senior Member

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.


Michael

Add interactivity, scheduling, sharing, live Excel export, and JS integration to your BIRT app with the new, free BIRT server, BIRT iHub F-Type.
Re: BIRT Report Viewer - tmpFile.renameTo(classFile) failed [message #1391245 is a reply to message #1391157] Mon, 30 June 2014 16:37 Go to previous messageGo to next message
Mark Proe is currently offline Mark ProeFriend
Messages: 29
Registered: July 2009
Junior Member
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 05:52 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1684
Registered: July 2009
Senior Member

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.

Michael

Add interactivity, scheduling, sharing, live Excel export, and JS integration to your BIRT app with the new, free BIRT server, BIRT iHub F-Type.
Previous Topic:How to connect the points between series
Next Topic:waitforexecution.jsp is missing from the birtviewer toolkit
Goto Forum:
  


Current Time: Fri Dec 19 09:30:03 GMT 2014

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

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