IBM Support

Hyperlinked reports do not print as expected

Technical Blog Post


Abstract

Hyperlinked reports do not print as expected

Body

When users send a BIRT report to a printer from a hyperlink (of another report) in Maximo® application, report does not print, as expected.  Instead, users might see "401: SRVE0295E: Error reported: 401".

To fix this issue, navigate to Maximo® installation server and locate the web.xml file. The path looks like this: applications\maximo\maximouiweb\webmodule\WEB-INF\web.xml, open the file in text editor and add the following text to web.xml:

"<filter>
<filter-name>ReportRequestFilter</filter-name>
<code><filter-class>com.ibm.tivoli.maximo.report.birt.servlet.ReportRequestFilter</filter-class></code>
</filter>

<filter-mapping>
<filter-name>ReportRequestFilter</filter-name>
<code><url-pattern>/report/*</url-pattern></code>
</filter-mapping> "

Make sure to rebuild and redeploy maximo®.ear file to finalize this change.

Print reports from a hyperlink again to test this fix.

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

UID

ibm11130655