I have this problem occuring out of nowhere. wherein the order-process.xml doesn't get picked up and an exception: NoSuchProcessDefinitionException is thrown. When i add the order-process.xml content through HMC (Dynamic Process Definition) the error is not encountered.
From the forum and one of colleagues i understood that when the server is restarted when the order-process is still running, this error comes. my question is: how to avoid this error i.e. if i dont want to have a dynamic process definition and want that the process should be picked up from the physical file, how can that be achieved and how to ensure that no process is running before restarting hybris server.