birt 配置

已經測試通過

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,上面有非常詳細的文檔

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章