Home
Analytics
Can not open the report archive.
ambujk
Hi All,
we are using
Tomct 6,
Jdk 1.5
Birt 2.3.
We are able to run the reports (simultaneoulsy at a time in single page using iframes) fine but the problem is whenever we start the tomcat and login into the application in one of the reports we are getting the following error but when we refresh the browser the reports are working fine.
org.eclipse.birt.report.service.api.ReportServiceException: Can not open the report archive.
Show Exception Stack Trace
Hide Exception Stack Trace
Stack Trace:
org.eclipse.birt.report.service.api.ReportServiceException: Can not open the report archive.
at org.eclipse.birt.report.service.ReportEngineService.throwDummyException(ReportEngineService.java:1096)
at org.eclipse.birt.report.service.ReportEngineService.runReport(ReportEngineService.java:1316)
at org.eclipse.birt.report.service.BirtViewerReportService.runReport(BirtViewerReportService.java:158)
at org.eclipse.birt.report.service.actionhandler.BirtRunReportActionHandler.__execute(BirtRunReportActionHandler.java:81)
at org.eclipse.birt.report.service.actionhandler.BirtGetPageActionHandler.__checkDocumentExists(BirtGetPageActionHandler.java:58)
at org.eclipse.birt.report.service.actionhandler.AbstractGetPageActionHandler.prepareParameters(AbstractGetPageActionHandler.java:119)
at org.eclipse.birt.report.service.actionhandler.AbstractGetPageActionHandler.__execute(AbstractGetPageActionHandler.java:104)
at org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(AbstractBaseActionHandler.java:90)
at org.eclipse.birt.report
Find more posts tagged with
Comments
mwilliams
Hi ambuj,
Can you show the entire error stack?
ambujk
org.eclipse.birt.report.service.api.ReportServiceException: Can not open the report archive.
at org.eclipse.birt.report.service.ReportEngineService.throwDummyException(ReportEngineService.java:1096)
at org.eclipse.birt.report.service.ReportEngineService.runReport(ReportEngineService.java:1316)
at org.eclipse.birt.report.service.BirtViewerReportService.runReport(BirtViewerReportService.java:158)
at org.eclipse.birt.report.service.actionhandler.BirtRunReportActionHandler.__execute(BirtRunReportActionHandler.java:81)
at org.eclipse.birt.report.service.actionhandler.BirtGetPageActionHandler.__checkDocumentExists(BirtGetPageActionHandler.java:58)
at org.eclipse.birt.report.service.actionhandler.AbstractGetPageActionHandler.prepareParameters(AbstractGetPageActionHandler.java:119)
at org.eclipse.birt.report.service.actionhandler.AbstractGetPageActionHandler.__execute(AbstractGetPageActionHandler.java:104)
at org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(AbstractBaseActionHandler.java:90)
at org.eclipse.birt.report.soapengine.processor.AbstractBaseDocumentProcessor.__executeAction(AbstractBaseDocumentProcessor.java:47)
at org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.executeAction(AbstractBaseComponentProcessor.java:143)
at org.eclipse.birt.report.soapengine.processor.BirtDocumentProcessor.handleGetPage(BirtDocumentProcessor.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.process(AbstractBaseComponentProcessor.java:112)
at org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingImpl.getUpdatedObjects(BirtSoapBindingImpl.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doPost(BirtSoapMessageDispatcherServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.eclipse.birt.report.engine.api.EngineException: Can not open the report archive.
at org.eclipse.birt.report.engine.api.impl.RunTask.openReportDocument(RunTask.java:172)
at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTask.java:211)
at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask.java:85)
at org.eclipse.birt.report.service.ReportEngineService.runReport(ReportEngineService.java:1307)
... 48 more
Caused by: java.io.FileNotFoundException: E:\Tomcat 6.0\webapps\aim_eclipse\documents\BIRTDOC515713F84E37FA8A147DF8F1B95501A8\20110127_111538_100\webapps\aim_eclipse\birt_reports\listofaccounts_mini.rptdocument (The system cannot find the path specified)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.(RandomAccessFile.java:212)
at java.io.RandomAccessFile.(RandomAccessFile.java:98)
at org.eclipse.birt.core.archive.compound.v3.Ext2FileSystem.createFileSystem(Ext2FileSystem.java:177)
at org.eclipse.birt.core.archive.compound.v3.Ext2FileSystem.(Ext2FileSystem.java:101)
at org.eclipse.birt.core.archive.compound.ArchiveFileV3.(ArchiveFileV3.java:43)
at org.eclipse.birt.core.archive.compound.ArchiveFileV3.(ArchiveFileV3.java:36)
at org.eclipse.birt.core.archive.compound.ArchiveFile.(ArchiveFile.java:72)
at org.eclipse.birt.core.archive.compound.ArchiveFile.(ArchiveFile.java:47)
at org.eclipse.birt.core.archive.compound.ArchiveWriter.(ArchiveWriter.java:34)
at org.eclipse.birt.core.archive.FileArchiveWriter.(FileArchiveWriter.java:27)
at org.eclipse.birt.report.engine.api.impl.RunTask.openArchive(RunTask.java:147)
at org.eclipse.birt.report.engine.api.impl.RunTask.openReportDocument(RunTask.java:158)
... 51 more
mwilliams
ambuj,
Have you taken a look at the bugs to see if there was anything else posted for something like this? Your report designs are just in your resource file, right?
http://www.birt-exchange.org/org/resources/bug-reporting/
bungrudi
any lights on this issue?
I'm also experiencing the same issue, and by looking at the stack trace I assume it has something to do with Ext2 ?
In here it happens on one box which run RHEL 4 and Ext2 filesystem.
It does not happen on 3 other box which run CentOS 5+Ext3 and Windows XPs.
mwilliams
Are you also using BIRT 2.3? If so, have you tried with a more recent version of BIRT? Maybe this was a known issue that has been taken care of. Let me know.
bungrudi
<blockquote class='ipsBlockquote' data-author="'mwilliams'" data-cid="75178" data-time="1301415345" data-date="29 March 2011 - 09:15 AM"><p>
Are you also using BIRT 2.3? If so, have you tried with a more recent version of BIRT? Maybe this was a known issue that has been taken care of. Let me know.<br /></p></blockquote>
<br />
We are using 2.6.<br />
We managed to fix the problem by clearing {VIEWER_HOME}/documents folder, which I assume is a place where BIRT store temporary files.<br />
<br />
However, we are now in alert mode and cannot sleep peacefully since we don't know the cause, and afraid that it will happen again soon.