How to stop Guidewire PolicyCenter

Before you stop Guidewire PolicyCenter, you must stop all work queues. Distributed workers run on daemon threads. As the JVM (Java Virtual Machine) exits, it destroys these threads. This can cause issues if the JVM destroys a thread while that thread is processing a work item. For example, suppose that a work queue calls a plugin that makes a blocking call to an external system or otherwise take a long time to return. In that case, if you do not shut down the work queue threads correctly, it is possible to end up with inconsistent data.