Service failed with error "Content is not allowed in trailing section"
search cancel

Service failed with error "Content is not allowed in trailing section"

book

Article ID: 248294

calendar_today

Updated On:

Products

CA Process Automation Base

Issue/Introduction

Service failed to start with below errors in c2o.log file:
------------
2022-08-17 05:44:22,249 ERROR [com.optinuity.c2o.util.SimpleCastorXMLUtil] [ Initialization] Content is not allowed in trailing section.
org.exolab.castor.xml.MarshalException: Content is not allowed in trailing section.{File: [not available]; line: 2; column: 52510}
Caused by: 
org.xml.sax.SAXParseException: Content is not allowed in trailing section.

2022-08-17 05:44:22,339 ERROR [com.optinuity.c2o.util.DomainWriter] [ Initialization] Exception caused in loading the domain object from file system in Domain Writer
com.optinuity.c2o.util.C2OException: Content is not allowed in trailing section.
------------

Environment

Release : 4.3.X

Component : Process Automation

Cause

There are some unnecessary characters exists at the end of domain.xml file.

Resolution

Remove the extra/unnecessary characters in the Domain.xml file and Start the service.

Default path: C:\Program Files\CA\PAM\server\c2o\.config\Domain.xml