The following items have errors:
Table (id = 23):
+ A BIRT exception occurred. See next exception for more information.
Invalid javascript expression: dataSetRow["columnname"] (Element ID:23)
and in Logger:
WARNING: can not load the class from file:/C:/Programme/../AppServer/jboss-5.1.0.GA/bin/ReportDataPrepare.jar
java.io.FileNotFoundException: C:\Programme\..\AppServer\jboss-5.1.0.GA\bin\ReportDataPrepare.jar
Here the fetch script:
@Override
public boolean fetch(IDataSetInstance dataSet, IUpdatableDataSetRow row)
throws ScriptException {
try {
data = textread.createData();
} catch (IOException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
_rowCount = data.size();
try {
if (_rowIndex < _rowCount) {
String str = String.valueOf(_rowIndex);
// Column name festlegen und werte stringweise ziehen
setColumnInRow(row, COLUMNNAME, data.get(str));
// go to next row
_rowIndex++;
return true;
}
} catch (ScriptException e) {
e.printStackTrace();
}
return super.fetch(dataSet, row);
}
I know that if i want to succeed this way, i have to set the path to the jar-files. Like :
EngineConfig config = new EngineConfig(); config.setProperty(EngineConstants.WEBAPP_CLASSPATH_KEY, "c:\temp\eh.jar;c:\java\meh.jar");In this case where i deploy an EAR to start the appserver. I dont know how to get the direct path to the EventHandler Jar file.
Any ideas?
My aim is to create reports out of the data created by our application. so I actually have no database. So I wantd to create different EventHandler-Classses and Template Files for different use cases. So it is easy to create new Report Generation Workflows.
This data are information about the running processes. I am new at BIRT and tried to develop an easy option for getting any kind of reports, only by having a *.rptdesing file and the runtime enviroment. May be I can push the data otherwise into the report? or should I use BIRT otherwise like a Servlet ? My Major Issue is a solution to set a path to the jar files...






MultiQuote






