OCR server shows code 4802
search cancel

OCR server shows code 4802

book

Article ID: 380256

calendar_today

Updated On:

Products

Data Loss Prevention Oracle Standard Edition 2

Issue/Introduction

Server overview is showing that the OCR server had an internal error. The error code is 4802.

 

Related log file errors:

File: logs for OCR/ocrserver.log
Date: 10/2/2024 1:33:28 PM
Host: <Server_name>
Source: https-jsse-nio-8555-exec-44
Level: ERROR
Class: com.symantec.dlp.ocr.server.rest.ImageResource
Message: Caught an unexpected error. Throwing internal server error. Failed to perform OCR using native OCR client: OutOfProcessService is not running. Cannot send ocr request

File: logs from email prevent 01/debug/FileReader0.log
Date: 10/2/2024 1:33:28 PM
Class: com.vontu.messaging.chain.ocr.OcrExecutionTask
Method: call
Level: WARNING
Message:  Failed to perform OCR for item 'image002.png'
com.symantec.dlp.ocr.client.exception.OcrServiceInternalErrorException: OcrRequestId: [86896c01-9dbb-4780-b90e-11982f99938a] Request failed. Status code: 500 . Please check server logs for more detail.

Environment

DLP 15.x, 16.x

Cause

Error 4802 is a catch all for any internal error.

Some causes include:

The OCR.properties appears to be misconfigured for the number of system with 8 cores.

Resolution

Check the number of CPU cores on the OCR server.


If there are 8 CPUs then you would do the following:


Update the <install_dir>/Protect/config/OCR.properties file values in the file with the following:


server.tomcat.max-threads = 9


num.ocr.workers = 8


Save and then restart the services. Monitor the results.


See OCR Server settings on this page 

Additional Information

Possible cause for error code 4800:

Unable to load balance DLP16.0+ OCR servers