Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » "Can not open the report archive" because of "IOException"(The process cannot access the file because it is being used by another process)
"Can not open the report archive" because of "IOException" [message #1796368] Thu, 11 October 2018 17:21
Tom Mising name is currently offline Tom Mising nameFriend
Messages: 29
Registered: July 2009
Junior Member
Hello,

I have a problem with old BIRT versions on WindowsXP. So sorry to say that, but there is really NO option to update those components :(

Using the following versions:
- Java6 u30 (and 45 tested)
- Tomcat6
- Latest XP with Updates (IE8)
- BIRT runtime 2.3.1 (again, I am so sorry to ask)

Normally everything works fine. But sometimes I got the popular error message "Can not open the report archive" in combination with "The process cannot access the file because it is being used by another process".
But there is definitely no other process. Windows Indexing is off and I only have one Java instance running.
The error does not occur every time. Sometimes it works for 20 calls, sometimes we have two errors in row.

My Stacktrace:
org.eclipse.birt.report.service.api.ReportServiceException: null; nested exception is: 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: null; nested exception is: org.eclipse.birt.report.service.api.ReportServiceException: Can not open the report archive. at org.eclipse.birt.report.service.BirtViewerReportService.runReport(BirtViewerReportService.java:164) 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:121) at org.eclipse.birt.report.service.actionhandler.AbstractGetPageActionHandler.__execute(AbstractGetPageActionHandler.java:106) 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.GeneratedMethodAccessor89.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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.GeneratedMethodAccessor88.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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:225) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:112) 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:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:448) at org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:399) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1675) at java.lang.Thread.run(Unknown Source)Caused by: org.eclipse.birt.report.service.api.ReportServiceException: Can not open the report archive. at org.eclipse.birt.report.service.ReportEngineService.runReport(ReportEngineService.java:1175) at org.eclipse.birt.report.service.BirtViewerReportService.runReport(BirtViewerReportService.java:155)... 46 moreCaused 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:198) at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask.java:90) at org.eclipse.birt.report.service.ReportEngineService.runReport(ReportEngineService.java:1164)... 47 moreCaused by: java.io.IOException: The process cannot access the file because it is being used by another process at java.io.WinNTFileSystem.canonicalize0(Native Method) at java.io.Win32FileSystem.canonicalize(Unknown Source) at java.io.File.getCanonicalPath(Unknown Source) at org.eclipse.birt.core.archive.compound.ArchiveFile.(ArchiveFile.java:46) at org.eclipse.birt.core.archive.compound.ArchiveFile.(ArchiveFile.java:36) 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)... 50 more

Most of the times, everything works. But sometimes I got these errors.
I did nothing, did not restart, did not click anywhere else, just open the same report again and it works. Then I click again and it does not work any more.

Is there anybody out there who has an idea on what is going wrong?
If you have any questions, please do not hesitate to ask me.


Best regards,
Tom
Previous Topic:BIRT - Expression for Visibility doesn't work
Next Topic:BIRT table column only has value for the first entry
Goto Forum:
  


Current Time: Fri Jul 19 06:27:15 GMT 2019

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

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

Back to the top