Stopping Batches from Timing Out During Page Processing

Applies to: All versions of Ephesoft Transact

If batches are timing out during page processing, you may need to increase the default timeout. By default, if Recostar, Imagemagick, Ghostscript, or Tesseract take more than 30 minutes to process a batch instance, the batch will timeout and you may receive an error.

Increase Timeout

Perform the following steps to increase the default timeout:

  1. Stop Ephesoft Transact.
  2. Open the application.properties file, located at [Ephesoft_Directory]\Application\WEB-INF\classes\META-INF\.
  3. Locate the following lines (near the bottom of the file):
# Wait time for Ghostscript command in minutes 
gs.command.wait.time=30

# Wait time for ImageMagick command in minutes 
imageMagik.command.wait.time=30

# Wait time for RecoStar command in minutes 
recostar.command.wait.time=30

# Wait time for Tesseract command in minutes 
tesseract.command.wait.time=30

application.properties

Figure 1. application.properties File

  1. Set the command.wait.time for your applicable OCR engine(s) to the amount in minutes Transact should continue page processing prior to timing out.
  2. Save the file.
  3. Start Ephesoft Transact.