已经测试通过
birt 部署 tomcat 配置
1、安装和配置
a、下载地址:http://download.eclipse.org/birt/downloads/
需要下载报表设计器(ecliphcs)和 Runtime(用于部署tomcat)
b、tomcat部署
http://www.eclipse.org/birt/phoenix/deploy/viewerSetup.php
A、用tomcat需要安装commons logging library add this library to WebViewerExample/WEB-INF/lib or to Tomcat's lib directory.
B、
Install the Viewer
Deploy the BIRT Viewer application. Follow these steps:
- Download the zip file with the BIRT report engine runtime. The file is named birt-runtime-version#.zip.
- Unzip the file in a staging area.
- Look under the birt-runtime- directory and locate the "Web Viewer Example" directory.
- Copy the Web Viewer Example directory to the webapps directory of your Tomcat installation. For ease of reference, rename the directory to "birt-viewer".
- Stop, then restart Tomcat.
- Display the Tomcat manager application to check that the viewer is deployed: http://localhost:8080/manager/html.
- Verify that birt-viewer is listed as an application, then click on the birt-viewer link.
- A page confirming that the BIRT viewer has been installed should be displayed. Click on the link labeled "View Example" to confirm that your installation is working properly.
- The BIRT Viewer requires that cookies be enabled.
If you choose to put the Viewer into some other location, you'll need to use a context entry within the server.xml file to indicate the deployment location. See Tomcat documentation for details.
C、最好用java环境的tomcat,用windows环境的tomcat会发现outofmemory
java版tomcat需要配置 JAVA_HOME D:/Program Files/Java/jdk1.6.0_03
c、把在报表分析器生成的文件放到tomcat birt-viewer 目录下,然后更改example的链接就可以查看了
d、报表设计器的使用,可以参看help,上面有非常详细的文档