[ http://mifosforge.jira.com/browse/MIFOS-5089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=68095#comment-68095 ]
Michael Vorburger edited comment on MIFOS-5089 at 7/3/11 9:13 AM: ------------------------------------------------------------------ Error message is: {noformat}The report file : file:/.../webapp/birt/report/*.rptdesign does not exist or contains errors.{noformat} This is MIFOS-4767 again... :-( It turns out that the solution I had found there works only under *NIX, not under Windows (due to screw up inside BIRT). This is related to how BIRT (should) find *.rptdesign when they are inside the mifos-reporting-*.jar inside the mifos.war:/WEB-INF/lib - or rather how it's not finding them. Breakpoints in BIRT's ParameterAccessor line 1121 in getRealPathOnWorkingFolder() & line 2637 in processWorkingFolder() & ViewerAttributeBean line 185 illustrate how the BIRT handles this. They seem to have thought of getting report templates from the servlet context, but it only worked under UNIX because there the File.isAbsolute() in ParameterAccessor's isUniversalPath() return true for "/birt/" (BIRT_VIEWER_WORKING_FOLDER) - but not under Windows! was (Author: vorburger): Error message is: {noformat}The report file : file:/.../webapp/birt/report/*.rptdesign does not exist or contains errors.{noformat} This is MIFOS-4767 again... :-( It turns out that the solution I had found there works only under *NIX, not under Windows (due to screw up inside BIRT). > Reports are not working on windows when using new workspace setup and > creating a WAR that is then deployed > ---------------------------------------------------------------------------------------------------------- > > Key: MIFOS-5089 > URL: http://mifosforge.jira.com/browse/MIFOS-5089 > Project: mifos > Issue Type: Bug > Components: Reports Module > Affects Versions: Release 2.2 > Reporter: keithwoodlock > Assignee: Michael Vorburger > Priority: Major > Fix For: Unscheduled > > > The BIRT reports accessed through the application do not work on windows with > the new setup when a WAR is created and dropped into jetty 7.1.3. (it does > work when simply using application straight from eclipse workspace) > The report file : > file:/C:/Users/keith/AppData/Local/Temp/jetty-0.0.0.0-8080-mifos.war-_mifos-any-/webapp//birt//report/CollectionSheetReport.rptdesign > does not exist or contains errors. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Mifos-issues mailing list Mifos-issues@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mifos-issues