Export fails when report name contains # character with 14.0 Web Viewer
search cancel

Export fails when report name contains # character with 14.0 Web Viewer

book

Article ID: 212341

calendar_today

Updated On:

Products

Output Management Web Viewer

Issue/Introduction

Trying to export a report fails.

 

 

 

Environment

Release : 14.0

Component : Output Management Web Viewer

z/OS - USS

Cause

At first, we thought the report name containing special characters was the cause (and it may have been partially to blame), but now we know that insufficient permissions to the temp directory was more fully responsible for the failures.

Resolution

SO15703 WEB VIEWER: REPORT ACTION EXPORT/SAVE USES INCORRECT NAME

Additional Information

Exports work with EXPORT_FORMAT = "XML"; meaning the problem with EXPORT_FORMAT = "OOXML"; is almost certainly permissions on the temporary directory used to compress the OOXML format file. The temporary directory is set using java.io.tmpdir in the STDENV variables.  Your log can be checked to see what java.io.tmpdir it’s set. It's probably something like: /opt/local/webvwr14/cai/CASoftware/webviewer/tpv/apache-tomcat-9.0.37/temp

The Web Viewer server id must have write access to the temp directory. As both test and workaround use: EXPORT_FORMAT = "XML"; in the ConfigFile.cfg.  Web Viewer must be recycled after making the change. If you check and adjust the permissions on the temporary directory used to compress the OOXML format file (/opt/local/webvwr14/cai/CASoftware/webviewer/tpv/apache-tomcat-9.0.37/temp) so that the Web Viewer server ID has write access, you should be able to go back to using EXPORT_FORMAT = "OOXML"; If you're OK continuing to use EXPORT_FORMAT = "XML"; then of course just continue to run as currently configured.