Enterprise Capture is not Importing Emails with PDF Attachments and Error "Failed to convert <PDF> using GhostScript. Exit code: 1"

(Doc ID 2350823.1)

Last updated on JANUARY 26, 2018

Applies to:

Oracle WebCenter Enterprise Capture - Version 11.1.1.9.0 and later
Information in this document applies to any platform.

Symptoms

WebCenter Enterprise Capture (WEC) Email Import Processor is sometimes failing to process emails containing PDF attachments.  Import Processor uses a custom script (Ghost Script) to convert the PDF attachments to tiff.

The Capture logs show the following error reported form Ghost Script

[2017-11-28T08:40:08.221-06:00] [capture_server1] [WARNING] [] [oracle.odc.importprocessor.ImportJobSchedulerSessionBean] [tid: [ACTIVE].ExecuteThread: '25' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: <ECID>] [APP: capture] Error extracting attachments[[
oracle.odc.exception.CaptureException: Error extracting attachments

Caused by: oracle.odc.exception.CaptureException: javax.script.ScriptException: sun.org.mozilla.javascript.internal.JavaScriptException: Failed to convert <PATH>AppData\Local\Temp\CaptureImport\1306334\<FILENAME>.PDF using GhostScript. Exit code: 1 (<Unknown source>#129) in <Unknown source> at line number 129

 

Changes

 

Cause

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