String key = ((SubProcRequester)req).requestingActivity();
try {
ActivityLocal act = lookupActivityLocal (key);
if (act.typedState () != RunningState.ABANDONING
&& act.typedState() != ClosedCompletedState.ABANDONED) {
act.terminate ();
}
} catch (InvalidKeyException e) {
logger.warn (toString() + " cannot notify requesting activity "
+ key + " : " + e.getMessage ());
} catch (InvalidControlOperationException e) {