1). Workaround.
--------------
A manual cleanup of the RESOURCEUPDATECK table can be done to allow Orchestrator to start up. The following query can be used:
DELETE FROM RESOURCEUPDATECK
WHERE orderid IN (SELECT A.orderid
FROM ORDER_DETAILS A,
OMS_ROUTER_TBL B
WHERE A.status IN ('CANCELLED', 'COMPLETE')
AND A.orderId = B.orderId
AND B.nodeid = 'Member1')
The periodic checkpoints cleanup should be disabled while setting to false the following:
<route id="ORCHTimeBasedCleanup" autoStartup="false">
in file webapps/WEB-INF/classes/spring/scorch-listeners-context.xml
2). Fixes.
---------
AF-4769 - Cleanup SQL not optimized. is fixed in FOM-2.1.1-HF1.
Checkpoints are cleaned up asynchronously and more frequently (configurable period), which avoids the aggregation of uncleaned entries.
JIRA AF-4808 - Corrupted checkpoint and Null Body JMS Messages causes the Engine Not to restart is fixed in FOM-2.1.1-HF1. Now Orchestrator supports uncleaned checkpoints, ignores and logs them upon start up.