| Free tutorials for Java, Eclipse and Web programming |
The following explains how to use BIRT reports in Tomcat. In general you have to:
Install the BIRT webviewer in Tomcat
Export your BIRT project into a .jar file
Move the .jar file to the birt-install-directory/WEB-INF/lib directory
Move the report design file into the root directory of birt in tomcat
Restart Tomcat
We will use a standalone Tomcat 6.0 which we assume is already installed. See Apache Tomcat Tutorial for details.
You need the "Deployment components of BIRT" http://download.eclipse.org/birt/downloads/ .
Copy the birt.war of this download into the Tomcat webappsfolder.
The Birt example should be available under http://localhost:8080/birt/.If you see something like this, your Tomcat an your Web Viewer should work correct.

To run your own reports you have to copy the .rptdesign file in the root of the birt folder in Tomcat. To make your Java classes available export your project into a jar file.



After that the jar file has to be copied to the Tomcat webapps/birt/WEB-INF/lib/ directory. Restart the Tomcat and navigate to your report.
Your report should be found under http://localhost:8080/birt/frameset?__report=stock_report.rptdesign
