ESD starting error: Unexpected EOF error

(Doc ID 1607699.1)

Last updated on SEPTEMBER 22, 2017

Applies to:

Siebel Email Marketing Server - Version 8.2.2 SIA[22320] and later
Information in this document applies to any platform.

Symptoms

We have some problems when restarting ESD.
If we restart ESD while generating mailings we will got following errors in log file.

ERROR SmtpEngine Unable to recover mailing in /opt/esd/state_dir/mailings/00000858
com.siebel.sem.smtp.MailingCreationException: Problem while trying to regenerate the input: Unexpected EOF

And after that not all batches were delivered.
After investigating this issue we discovered that after stoping ESD delivered.txt file placed in /opt/esd/state_dir/mailings/00000858 folder not correctly ended.
And to proceed mailing we need to remove last incorrect string in this file.
Is way to stop ESD correctly while proceeding mailings?

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