Hi All
I have setup a test environment with the following
Windows Vista home Premium SP2
PHP 5.2.0
Apache Http Server 2.0.59
Java 1.6.0_20
Java Bridge
Apache Tomcat/6.0.28
BIRT Runtime 2.6.0
I downloaded the JavaBridge/BIRT runtime from the following link:
http://www.birt-exchange.org/org/devshare/deploying-birt-reports/743-calling-birt-from-php/
I ran the test links and everything worked fine.
I inserted the php code to call the testreport supplied (TopNPercent.rptdesign) with the JAVABRIDGE/BIRT download and everything worked fine. It was setup to view in HTML.
I created my own report using Report Design Tool and previewed that to make sure it all worked then copied the .rptdesign file to the web server folder(where I had ran the testreport from). When I ran that I got a BIRT engine failure.
I ran the same report to preview in pdf instead of HTML and it worked fine(it also worked for DOC and XLS).
I went back to the Report design tool and starting with the testreport deleted its content and replaced it with the contents of my report. When I moved this report across to the web server folder it worked.
After some investigation I have found that adding data sources and data sets is fine. Adding static text is fine but as soon as I add a table then the error occurs.
Any help greatly appreciated
Thanks
Ken