296297298299300301302303304305306
System.out.println("************* STOPPING " + w.getServiceName() + " ***********************"); System.out.println(); try { w.stop(); if (w.isRunning()) System.out.println("Service " + w.getServiceName() + " NOT stopped"); else System.out.println("Service " + w.getServiceName() + " stopped"); }