Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » BIRT 3.7.2 run time problem(Schedule Birt 3.7.2 reports on Windows 2008 with Maximo 7.5 not work)
icon5.gif  BIRT 3.7.2 run time problem [message #1697150] Mon, 01 June 2015 23:53
Eric Zuo is currently offline Eric ZuoFriend
Messages: 14
Registered: October 2014
Junior Member
Hi All,
I worked with runtime-2_3_2 for scheduled reports on Windows 2008, Now I need to upgrade it. I downloaded birt-runtime-3_7_2.zip, installed jdk1.7.0_65 i596. In the reportengine/, I copied plugins/ folder from Maximo, and I setup the \ReportEngine\plugins\org.eclipse.birt.report.viewer_3.7.1.v20110905\birt\WEB-INF\classes, and then configured the mxreportdatasources.properties.

The original genReport.bat uses For Loop to load the jar files in ReportEngine\lib folder, it does not work for me, I repeatedly used SET PATH to get all the jar files plus oraclethin.jar in class path:
SET BIRTCLASSPATH=%BIRT_HOME%/ReportEngine/plugins/..../WEB-INF/classes;
SET BIRTCLASSPATH=%BIRTCLASSPATH%;D:\L\...dom.svg_1.6.0.v201011041432.jar
SET BIRTCLASSPATH=%BIRTCLASSPATH%;D:\L\....1.6.0.v201011041432.jar
....

My bat file is in D:\BIRT\schedule\birt-runtime-3_7_2\ReportEngine\cmd,
To shorten the path length, I copied the D:\BIRT\schedule\birt-runtime-3_7_2\ReportEngine\lib to D:\L (tried both).

I got errors, It created empty PDF report. the first error lines are as following.

Jun 01, 2015 4:37:00 PM org.eclipse.birt.report.engine.api.ReportRunner readConfigurationFile
SEVERE: file: D:\BIRT\schedule\birt-runtime-3_7_2\ReportEngine\cmd not exists!
Jun 01, 2015 4:37:04 PM org.eclipse.birt.report.engine.script.internal.ScriptExecutor addException
WARNING: There are errors evaluating script "importPackage(Packages.com.ibm.tivoli.maximo.report.scr
ipt);

mxReportScriptContext = MXReportScriptContext.initialize(reportContext);":
ReferenceError: "MXReportScriptContext" is not defined. (/report/method[@name="initialize"]#3)
org.eclipse.birt.report.engine.api.EngineException: There are errors evaluating script "importPackag
e(Packages.com.ibm.tivoli.maximo.report.script);

mxReportScriptContext = MXReportScriptContext.initialize(reportContext);":
ReferenceError: "MXReportScriptContext" is not defined. (/report/method[@name="initialize"]#3)
at org.eclipse.birt.report.engine.script.internal.ScriptExecutor.addException(ScriptExecutor
.java:244)
at org.eclipse.birt.report.engine.script.internal.ReportScriptExecutor.handleInitialize(Repo
rtScriptExecutor.java:93)
at org.eclipse.birt.report.engine.api.impl.EngineTask.loadDesign(EngineTask.java:1847)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:98)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)
at org.eclipse.birt.report.engine.api.ReportRunner.runAndRenderReport(ReportRunner.java:223)

at org.eclipse.birt.report.engine.api.ReportRunner.execute(ReportRunner.java:163)
at org.eclipse.birt.report.engine.api.ReportRunner.main(ReportRunner.java:122)
Caused by: org.eclipse.birt.core.exception.CoreException: There are errors evaluating script "import
Package(Packages.com.ibm.tivoli.maximo.report.script); ........

Please help,
Thanks

Eric
Previous Topic:Showing Validation Message in BIRT Reports
Next Topic:Use own formatter for values on y-axis
Goto Forum:
  


Current Time: Fri Mar 29 00:07:57 GMT 2024

Powered by FUDForum. Page generated in 0.03035 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top