[
http://mifosforge.jira.com/browse/MIFOS-4767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=65532#comment-65532
]
Michael Vorburger commented on MIFOS-4767:
------------------------------------------
I've analyzed this today, and understood that this is something I missed in
earlier verification - it never worked - when in a WAR. The *.rptdesign were
found in the workspace because there it's all file-based. In a packaged WAR,
the *.rptdesign are now inside the mifos-reporting-*.jar inside the
mifos.war:/WEB-INF/lib - and BIRT didn't dig that, it tried looking for them
where it thought they should be in the unpackaged WAR.
I've done some debugging in the BIRT source code, and learnt that it would
actually be able to load the *.rptdesign properly via ServletContext, finding
them inside the mifos-reporting-*.jar inside the mifos.war:/WEB-INF/lib, if the
BIRT_VIEWER_WORKING_FOLDER is an absolute path, so /birt/ instead of just
'birt' like I had previously set it (see
http://mifosforge.jira.com/browse/MIFOS-4429?focusedCommentId=63663&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-63663)
With that chaged, this seems to work! I'll do some more verifications, and
then commit & close this.
> BIRT: The report file : file:/.../*.rptdesign does not exist or contains
> errors.
> ---------------------------------------------------------------------------------
>
> Key: MIFOS-4767
> URL: http://mifosforge.jira.com/browse/MIFOS-4767
> Project: mifos
> Issue Type: Dev Task
> Reporter: Michael Vorburger
> Assignee: Michael Vorburger
> Priority: Critical
> Fix For: Release G
>
>
> Errors like this occur when a report is run (not on start-up) when the
> current mifos.war is deployed into a Jetty (e.g. v7.2.0) :
> {noformat}org.eclipse.birt.report.exception.ViewerException: The report file
> :
> file:/tmp/jetty-0.0.0.0-8080-mifos.war-_mifos-any-/webapp/birt/report/ProgressReport.rptdesign
> does not exist or contains errors.{noformat}
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues