public void stopProcessInstance(String instanceId) throws RemoteException{
logInst("stopProcessInstance", new Object[]{instanceId});
try{
ProcessInstance instance = getInstance(instanceId);
instance.stop();
}catch(Exception e){
e.printStackTrace();
throw new RemoteException("ProcessManagerError:"+e.getMessage(), e);
}
}