views:

373

answers:

2

I'm trying to setup Birt running under Jetty. I can get the "congratulations" report to run:

http://10.10.11.1:8080/reports/frameset?%5F%5Freport=test.rptdesign&sample=my+parameter

However, I am not able to get any other reports to run. I have the BIRT viewer running from the "reports" context. Trying to run one of the sample reports (placed in the same directory as the birt.war file).

Here is what I've tried: http://10.10.11.1:8080/reports/frameset?%5F%5Freport=SalesInvoice.rptdesign SalesInvoice.rptdesign is placed in the same directory as the birt.war file

http://10.10.11.1:8080/reports/frameset?%5F%5Freport=/templates/SalesInvoice.rptdesign Where templates is a sub-directory of the context for birt. This results in:

  • There is no report design object available.

Any idea what I'm doing wrong?

A: 

Not familiar with Birt, but could it be that your custom template file needs to be made executable?

yankee2905
A: 

I have just encountered the same problem and I solved it by changing

<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.22" id="1">

to

<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.17" id="1">

I think it is because your Birt Viewer can not render report file for previous versions, but if you don't use the features of newer version, then you can render your report by changing the report version manually.

Other solution is downloading newer version of Birt Viewer that is compatible with your current Birt Report Designer.

Mohammad Dashti