My Oracle Support Banner

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 OCTOBER 14, 2019

Applies to:

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


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: 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





To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.