|Deploying to BIRT 4.2 Viewer Web App [message #1040051]
||Sat, 13 April 2013 01:06
| Ben Foster
Registered: April 2013
I am new to BIRT and I am having a hair-pulling time of it getting the report to execute in the BIRT Viewer running on Tomcat.|
To begin, I have performed the following tasks:
installed BIRT 4.2.1 to Tomcat 6.32 running on an iSeries machine
developed the design file using Eclipse, Version: Juno Service Release 1 Build id: 20120920-0800.
deployed the design file to Tomcat's webapps\BIRT421\reportDesignFiles directory which has been configured using the web.xml file via:
placed the .jar-file containing the project's DAO and VO class files into Tomcat's
WEB-INF directory or,(never and)
WEB-INF/lib directory or,
depending on the execution at the time, while trying to get this to work.
The trouble is, when I deploy the design-file and the project's class files in its jar to the BIRT Viewer app in Tomcat, no matter what is tried in terms of the location of the .jar-file or variation of importPackage syntax I have seen out there on the web, I always get this error:
TypeError: [JavaPackage DocumentRequestListDAO] is not a function, it is object.
[font=Courier]<?xml version="1.0" encoding="UTF-8"?>
<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.23" id="1">
<property name="createdBy">Eclipse BIRT Designer Version 4.2.1.v201209101448 Build <4.2.1.v20120912-1721></property>
var documentRequestListDAO = new Packages.DocumentRequestListDAO;
var dcsdcpReportFieldsVO = new Packages.DCSDCPReportFieldsVO;
var paramArray = new Packages.java.util.ArrayList();
paramArray.add( params["PARAM_UNIQUEID01"] );
paramArray.add( params["PARAM_UNIQUEID02"] );
paramArray.add( params["PARAM_UNIQUEID03"] );
paramArray.add( params["PARAM_UNIQUEID04"] );
var listOfRecords = new Packages.java.util.ArrayList;
listOfRecords = documentRequestListDAO.getListOfDCSDCPReportFieldsVO()
var size = documentRequestListDAO.getSize();
Can someone please tell me what I am doing wrong? And can someone please point me to relevant documentation for BIRT 4.2.1. Just about everything I see 'out there' relates to BIRT 2.n or 3.n.
Thanks in advance,
Powered by FUDForum
. Page generated in 0.02855 seconds