VERIFIED SOLUTION i

Resolve execution of Non-Accumulated fails with error "Unable to compose document" in EngageOne

Issue

Execution of Non-Accumulated fails with error "Unable to compose document: com.pb.dca.DocumentCompositionException: Console application error message: Production Job failed". N-A Batch execution returns non-zero exit code.

Cause

This is very generic error message. Exact root cause can be known from Application Server logs. to know exact reason of this failure, Application Server log should
be searched for Caused by. This should indicate the exact root cause of the problem. For example "Caused by : com.pb.dca.DocumentCompositionException: Console application error message: XML input data file is invalid" shows the NA-batch failed due to invalid XML file.

 

Resolution

UPDATED: July 6, 2017
Detailed error message can be known  from Application server logs. Follow the error message to understand the root cause and resolve it further. For example
"Caused by : com.pb.dca.DocumentCompositionException: Console application error message: XML input data file is invalid" can be resolved
after correcting the XML file and re-executing NA-Batch.

In case Application Server logs does not provide much information, send Application Server log to Client Support.