IBM Support

Previewing Microsoft Office documents in IBM Content Navigator (ICN) returns CIWEB1059: The document cannot be converted into a viewable format error.

Troubleshooting


Problem

Previewing MS Office documents in ICN fails with the error above.

Symptom

The following error is returned on the screen:


The following error excerpt is seen in SystemOut.log:

CIWEB Error: com.ibm.ecm.beans.viewer.DocServicesSessionBean$ICNStreamingDocServices._loadDocument java.io.IOException: The file access permissions do not allow the specified action.
at java.io.File.createTempFile0(File.java:1729)
at java.io.File.createTempFile(File.java:1813)
at com.ibm.ecm.util.FileUtil.createTempDirectory(FileUtil.java:166)
.
.

Cause

ICN creates a subdirectory under Linux/UNIX: /tmp or Windows:\temp for temporary file storage. The user who starts the IBM WebSphere Application Server (WAS) service does not have full permissions on the tmp/temp directory.

Resolving The Problem

The default Java Virtual Machine (JVM) temporary directory can be overridden by adding the Java system property java.io.tmpdir at the JVM level in IBM WAS Admin Console.

1. Navigate to Application servers > server1 > Process definition > Java Virtual Machine.
2. In the Generic JVM arguments text box, check if there is a setting for the Java temporary directory (-Djava.io.tmpdir=/path/to/tmp)
If not, add the argument by pointing to an appropriate path.

E.g.

3. Make sure to grant full permissions; read, write and execute (777) to the user who starts the IBM WAS Service on that temporary directory. This user must have full permissions on the temporary directory.

[{"Product":{"code":"SSEUEX","label":"IBM Content Navigator"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Not Applicable","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"2.0.3.8;2.0.3.7;2.0.3.6;2.0.3.5;2.0.3.4;2.0.3","Edition":"","Line of Business":{"code":"LOB18","label":"Miscellaneous LOB"}},{"Product":{"code":"SSEUEX","label":"IBM Content Navigator"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB18","label":"Miscellaneous LOB"}}]

Document Information

Modified date:
17 June 2018

UID

swg21992118