Where to place Properties file for multiple MAXIMO reports [message #904011] |
Mon, 27 August 2012 15:05 |
Brian McMahon Messages: 8 Registered: July 2012 Location: University of Delaware |
Junior Member |
|
|
Hi:
I am running Birt viewer 3.7.2 on TomCat 7.0.29.
I think that my problem is that I do non know where to place a properties file that is being used by multiple reports via a library.
Particularly, When I try to run a Maximo 7.5 Out of the Box Birt report through the Birt Report Viewer, I receive problems that I interpret as not being able to access the Maximo Database.
A BIRT exception occurred. See next exception for more information.
Error evaluating Javascript expression. Script engine error: ReferenceError: "maximoDataSet" is not defined. (/report/data-sets/script-data-set[@id="5"]/method[@name="fetch"]#1)
Script source: /report/data-sets/script-data-set[@id="5"]/method[@name="fetch"], line: 0, text:
__bm_FETCH(). (Element ID:1)
Error.ScriptEvaluationError ( 1 time(s) )
detail : org.eclipse.birt.report.engine.api.EngineException: There are errors evaluating script "if (!maximoDataSet.fetch())return (false);
The connection is specified in the mxreportdatasources.properties file.
I have changed the parameters in the birt web.xml file:
BIRT_VIEWER_SCRIPTLIB_DIR=C:\\Maximo75Reports\\reports\\birt\\scriptlibrary
BIRT_RESOURCE_PATH =C:\\Maximo75Reports\\reports\\birt\\libraries
BIRT_VIEWER_WORKING_FOLDER=C:\\Maximo75Reports\\reports\\birt\\reports
The reports do work, so I must be placing things in the wrong place.
Any help would be appreciated.
Thanks
|
|
|
Powered by
FUDForum. Page generated in 0.01833 seconds