To clean up state for activities that have been removed but not yet garbage collection, use the following rhino-console command or related MBean operation.
initiateactivitycleanup [ra entity name] Description Initiate activity GC
To initiate garbage collection for the
$ ./rhino-console initiateactivitycleanup sipra Initiated activity GC for insis-ptc-1a
Initiate activity cleanup
public void initiateCleanup(String raEntityName) throws UnrecognizedResourceAdaptorEntityException, ManagementException;
This operation initiates the garbage collection process on the activity state of the specified resource adaptor entity in the current namespace.
If no resource adaptor entity name is specified, ie. the
Activity state GC runs asynchronously after the operation has been initiated, but typically completes within a few seconds.