Hi,
I am a newbie to BIRT and before going ahead with creating reports in BIRT, I wanted to see the feasibility and ease of deploying BIRT alongside our existing application. So in order to test this I integrated the WebViewerExample with our application, below are the steps taken by me.
1) Unzipped the BIRT runtime 2_6_1.
2) Copied following files/directories to existing web application
a)logs
b)report
c)scriptlib
d)webcontent
e)test.rptdesign
f)index.jsp
g)CancelTask.jsp
From the WEB-INF I copied the following files/directories
a)lib
b)platform
c)tlds
d)viewer.properties
And from web.xml i picked and merged following properties
<context-param>
<param-name>BIRT_VIEWER_LOCALE</param-name>
<param-value>en-US</param-value>
</context-param>
<context-param>
<param-name>WORKING_FOLDER_ACCESS_ONLY</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>BIRT_VIEWER_LOG_DIR</param-name>
<param-value>/home/nextag/error_logs/</param-value>
</context-param>
<context-param>
<param-name>BIRT_VIEWER_LOG_LEVEL</param-name>
<param-value>FINEST</param-value>
</context-param>
<context-param>
<param-name>BIRT_VIEWER_CONFIG_FILE</param-name>
<param-value>WEB-INF/viewer.properties</param-value>
</context-param>
<filter>
<filter-name>ViewerFilter</filter-name>
<filter-class>org.eclipse.birt.report.filter.ViewerFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>ViewerFilter</filter-name>
<servlet-name>ViewerServlet</servlet-name>
</filter-mapping>
<listener>
<listener-class>org.eclipse.birt.report.listener.ViewerServletContextListener</listener-class>
</listener>
<servlet-mapping>
<servlet-name>ViewerServlet</servlet-name>
<url-pattern>/frameset</url-pattern>
</servlet-mapping>
<taglib>
<taglib-uri>/birt.tld</taglib-uri>
<taglib-location>/WEB-INF/tlds/birt.tld</taglib-location>
</taglib>
Apart from these no further changes were made.
After deploying and bringing up the application, I tried to navigate to index.jsp, which was successful.
Then I tried to navigate to
http://v-b11.nextagqa.com/serv/main/frameset?__report=test.rptdesign&sample=my+parameter&__format=html&__overwrite=true&__locale=en_US&__svg=false&__designer=false&__pageoverflow=0&__masterpage=true