IBM Support

BIRT Report takes a long time to run (Only AIX )

Troubleshooting


Problem

Method how to make a BIRT report run a lot faster in an AIX environment

Cause

A BIRT default printer setting is incorrect for AIX environments only.

Environment

AIX only

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.

Please be advised this has been fixed beginning with the 7.5.0.3 release.

[{"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Component":"BIRT","Platform":[{"code":"PF002","label":"AIX"}],"Version":"7.5","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SSLKTY","label":"Maximo Asset Management for IT"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"BIRT","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"7.1;7.1.1;7.5","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SSKTXT","label":"Tivoli Change and Configuration Management Database"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":" ","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"},{"code":"PF027","label":"Solaris"},{"code":"PF010","label":"HP-UX"},{"code":"","label":"Windows 2000"},{"code":"","label":"Windows XP"}],"Version":"7.1;7.1.1;7.5","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SS6HJK","label":"Tivoli Service Request Manager"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":" ","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"","label":"Windows 2003 server"}],"Version":"7.1;7.5","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
17 June 2018

UID

swg21512013