EPS Agent step went to Suspend status
Hi,
We have a custom process for an approval workflow in our application. The process uses an agent to retrieve the approval statuses from OTMM and indicate whether or not to send reminder emails. The agent is triggered in a loop (Delay -> Agent -> Validation -> Email - only if reminder email needs to be sent, otherwise it goes directly to Delay again -> back to Delay).
Last week, when we stopped the services on our application for backups, below error is reported in otaps log multiple times, and following that, there is a warning indicating that the agent step is not executed because the status is set to 8 (Suspend).
ERROR 123920 2016-01-15 02:43:27,907 [JmsResourceAdapter-worker- - 7] com.opentext.ecm.bpm.agent.AgentEngine - execute of work item 'WIz145284380393902a36030-487b-4baa-ae66-2bf1b37df19f' at synchronous agent 'class com.paramenate.marvel.coverrelease.CheckReviewedAgent' failed (PIz14522676681406a786520-246d-4e52-82ed-163dfd8e6ac5):
javax.ejb.EJBTransactionRolledbackException: The transaction has been marked rollback only because the bean encountered a non-application exception :java.lang.LinkageError : loader (instance of org/apache/openejb/util/classloader/URLClassLoaderFirst): attempted duplicate class definition for name: "org/codehaus/xfire/aegis/type/java5/XMLTypeCreator"
WARN 428481 2016-01-15 02:48:32,468 [JmsResourceAdapter-worker- - 16] com.opentext.ecm.bpm.queue.ProcessEngineMessageConsumer - Don't execute agent at step 'agent1' for work item 'WIz145284411105212dadd9b-937b-4c99-9faf-7f674a91eaef'. Because work item status is '8'.
We reviewed the OTMM logs, and noticed that the errors stopped after OTMM services are up. But we don't understand why the status on this work item is set to Suspend.
We start EPS services first and then OTMM services. Is this the correct order to start the services?
Also, how can we avoid the work items being suspended in future? Any help you can provide is highly appreciated.
Thanks in advance,
Sitaram
Categories
- All Categories
- Cloud Editions
- 1 Thrust Services
- cat as link
- 1 Core SaaS Application development
- 10 Developer Announcements
- 15 General Questions
- 33.4K TeamSite
- 141 Application Governance & Archiving
- 15.2K Designing Analytics Reports
- 1K DevShare Downloads
- Core SaaS Applications
- nested parent
- 4.3K Developing Analytics Applications
- 8.8K Documentum Developer Forum
- Media Management developer
- 159 Transactional Content Processing (TCP)
- 1.7K Web Experience Management
- 55 Tempo Social
- 1 XM Fax