IBM Support

Image attachment of a Case is displayed incorrectly when Business Process Framework (BPF) is deployed on WebSphere 8

Troubleshooting


Problem

When opening an image attachment of a BPF Case in the image viewer applet, the expected image is not displayed.

Symptom

Rather than the expected image, the following error image displays, saying that:

"
Unable to open document.
Error: ji.net.dh: Your session has timed out, please close the viewer and log back into the system.
Error: Please make sure this file can be accessed and that it is a supported file type.
"


Cause

The Workplace Image Viewer used in BPF is a Java applet. However, the WebSphere 8 defaults prevent the browser from sending a cookie, including the session cookie, when requesting scripting codes such as Javascripts or Java applets.

Resolving The Problem

1. Log into the WebSphere administrative console.

2. Navigate to Servers->Server Types->WebSphere application servers

3. Click the name of the server your BPF runs on. Be default, the name is "server1".

4. Click "Session management" under the Container Settings section.


5. Click the "Enable Cookie" link.


6. Un-check the option of "Set session cookie to HTTPOnly to help prevent cross-site scripting attacks".


7. Click the OK button and then Save the changes.

8. Restart WebSphere server.

[{"Product":{"code":"SSNVLC","label":"FileNet Business Process Framework"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"4.1.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSNVLC","label":"FileNet Business Process Framework"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":" ","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"4.1.0","Edition":"All Editions","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 June 2018

UID

swg21591627