Pages

Monday, October 24, 2011

BIRT Report takes a long time to run

Problem(Abstract)

How to ensure a BIRT report runs a lot faster?

Cause

Boolean is enabled in one of the BIRT .jar files.

Resolving the problem

Please follow the following steps to solution:
1. Locate the file com.ibm.tivoli.maximo.report.birt.viewer_1.0.0.jar
in:
applications\maximo\maximouiweb\webmodule\WEB-INF\birt\platform\plugins

2. Make a backup of the file to a directory outside the Maximo
installation.

3. Open the jar (for example with Winzip) and navigate to
web\webcontent\birt\pages\dialog. Extract the file
PrintReportServerDialogFragment.jsp.

4. Open PrintReportServerDialogFragment.jsp in a text editor.

5. Locate the line near the top that reads:
boolean enable = ParameterAccessor.isSupportedPrintOnServer;

Replace that line with the following:
//boolean enable = ParameterAccessor.isSupportedPrintOnServer;
boolean enable = false;

6. Save the changes and replace the PrintReportServerDialogFragment.jsp
in the jar with the updated file.

7. Rebuild and redeploy the Maximo EAR.

Note:

By adding "boolean enable = false" you disable the server side printing.
This server side functionality is not supported by IBM Maximo .
In some servers it takes 5 to 10 minutes for the server to search all printers.
This will disable that search and can speed up the running of the reports.

IBM Support 

No comments:

Post a Comment