Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
How can I integrate a BIRT report in a web application?
system_migrated
I am looking for some basic steps on how to integrate the BIRT engine in a web application.
I have created some sample reports using Actuate BIRT Report Designer professional. This creates *.rptdesign.
How can I invoke and show this report from within my web application? The web application is hosted using weblogic and Oracle. Which jar files do I need to include in my web application project? Can some body point me to a tutorial for doing this?
Thanks much!
Find more posts tagged with
Comments
JasonW
Are you deploying the Viewer or do you want to use the apis? The api aproach is described here:<br />
<a class='bbc_url' href='
http://wiki.eclipse.org/Servlet_Example_(BIRT)_2.1'>Servlet
Example (BIRT) 2.1 - Eclipsepedia</a><br />
Updated source files are at the bottom of the wiki page.<br />
<br />
The Viewer can be deployed as described here:<br />
<a class='bbc_url' href='
http://www.eclipse.org/birt/phoenix/deploy/viewerSetup.php'>Installing
the BIRT Viewer in Tomcat</a><br />
<a class='bbc_url' href='
http://www.eclipse.org/birt/phoenix/deploy/viewerUsage2.2.php'>Using
the BIRT Report Viewer</a><br />
<a class='bbc_url' href='
http://wiki.eclipse.org/BIRT/FAQ/Deployment'>BIRT/FAQ/Deployment
- Eclipsepedia</a><br />
<br />
Jason
Migrateduser
Jason, thanks for the response.<br />
<br />
I am following the API approach. I have used the instructions in <a class='bbc_url' href='
http://wiki.eclipse.org/Servlet_Example_(BIRT)_2.1'>Servlet
Example (BIRT) 2.1 - Eclipsepedia</a> to test the approach.<br />
<br />
The API version that I am using is birt-runtime-2_3_2. the IDE is NetBeans 6.8.<br />
<br />
The issue is that the project does not get deployed even though it compiles. I can get the project to get deployed and bring up an index.jsp page, if the web.xml file does not have the WebReport.java reference. As soon as this reference is added, the project can not be deployed.<br />
<br />
Thank you,<br />
Eldo
JasonW
Do you have the WebReport class in a jar file in the Web-INF/lib? Also do you have all the jars from the runtime/ReportEngine/lib directory in the WEB-INF/lib?
Jason
ecarballo
Make sure the config file BirtConfig.properties is in the app server classpath. This may not be made clear enough in the example documentation. In my case developing in Eclipse with embedded tomcat, I was getting runtime errors because I put the BirtConfig.properties file in WEB-INF/lib when the file instead needed to reside in the tomcat lib folder. Many a casual web developer will not be familiar with class loader classpaths, which is what I believe is meant in the example insofar as where the config file should reside.