Batch transformation getting I/O exception error while writing pdf files to the ?/output/nnnnnn subdirectory.
search cancel

Batch transformation getting I/O exception error while writing pdf files to the ?/output/nnnnnn subdirectory.

book

Article ID: 30677

calendar_today

Updated On:

Products

OM Spool

Issue/Introduction

When using the OM Spool Batch Transformer the following errors occur: 

java.io.IOException: Could not obtain an output stream from any of the following:

/u/users/xxxxx/xenos/output/000170/XXX00008.pdf

at com.xenos.d2e.io.IoUtility.getOutputStreamFor(IoUtility.java:1942)

 

 

Environment

Spool

Cause

Lack of permission to write to the output directory

Resolution

The userid assigned to the Java Transformer FSS task and the userid assigned to the job executing the Batch Transformer Utility must have the appropriate permissions to read and write files to the directories specified in the X2YY_INPUT, X2YY_OUTPUT and X2YY_REPORTS variables. They both must also have update authority for the Spool target node and the files queued for that node.

Adding variable X2YY_IDIR_777 to the STDENV file allows to have the extra nnnnnn sub-directory to be created with permissions 777.

The only valid value for X2YY_IDIR_777 is YES. This environment variable sets the permission bits for any temporary directory that is created when the I option in the Batch Transformer utility is set to 777. This environment variable can be useful when you initially implement the I option in the job steps of the Batch Transformer utility. However, the temporary directory is not secure. Therefore, we recommend that you do not use this environment variable permanently.