XML Publisher and CommGen will throw XDO errors or not create valid pdf files when Web, App and Process Scheduler Servers are on different machines
Last updated on JANUARY 30, 2017
Applies to:PeopleSoft Enterprise CS Campus Community - Version 9 and later
Information in this document applies to any platform.
This document was previously published as Customer Connection Solution 201065777
When attempting to generate a letter in .pdf format using Campus Community > Communications > Communication Generation, corrupt .pdf files are written, or no file is written at all. Further, if you try to run an xml publisher report it will run if you view it online, but you get the same error as with CommGen if you try to run it to a file. This is an issue on HR/CS 9.0 when the web server, app server, and process scheduler are on 3 separate machines. This runs fine in demo where all 3 are on one machine.
A sample of the errors are below (see notes for full error listing):
During calling method PTPDFMerger.mergePDFs, the XDO engine throws an exception: \\PSTST43\PSLS\fred\CG_167886\1\RptInst\1\J02.pdf (The system cannot find the file specified). (235,3101) (0,0)
During calling method PTPDFMerger.mergePDFs, the XDO engine throws an exception: oracle.apps.xdo.template.pdf.exception.FatalException: The template seems to be in either corrupted one or newer version than PDF1.4. (235,3101) (0,0)
Error generating output file for letter communication.. (14100,734)
Error removing directory \\PSTST43\PSLS\fred\CG_167886: file or one of its subdirectories was not removable: The specified directory could not be removed. (2,828) SCC_COMMGEN.Model.CommGen.OnExecute Name:CleanOutputDirectory PCPC:156807 Statement:2109
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms