To deploy Birt to JBoss, follow these steps:
1, Download the ZIP file of the birtruntime environment. The file name is birt-runtime-version).zip. version # indicates the specific version number.
2, Decompress the ZIP file, find a folder named webviewerexample in the decompressed folder, and copy the folder to your JBoss deployment directory, such as E: /develop/JBoss-4.2.1.GA/Server/default/deploy,
3, Rename it Birt .. War note: the name does not matter, but the extension must use. War.
4, Copy itext1.3.jar to the/webviewerexample/WEB-INF/platform/plugins/COM. lowagie. itext/lib. Directory, if your birt runtime version is 2.1.2 or later, this step can be omitted.
5, Copy itextasian. jar to/webviewerexample/WEB-INF/platform/plugins/COM. lowagie. itext/lib. directory, if your birt runtime version is 2.1.2 or later, this step can be omitted.
6, Finally, copy the database driver file to the/WEB-INF/platform/plugins/org. Eclipse. Birt. Report. Data. ODA. JDBC/drivers. folder of the deployment file.
7, Birt running method http: // localhost: 8080/Birt-viewer/run? _ Report = report/salesinvoice. rptdesign or http: // localhost: 8080/Birt-viewer/frameset? _ Report = report/salesinvoice. rptdesign