public void stopServer() { stopServer(null); }
public void stopServer() { stopServer(null); }
public void stopServer() { stopServer(null); }
public void stopServer() { stopServer(null); }
public void stopServer() { stopServer(null); }
public void stopServer() { stopServer(null); }
public void stopServer() { stopServer(null); }
public void stopServer() { stopServer(null); }
public void stopServer() { stopServer(null); }
@Asynchronous public void shutdown(final int exitCode) { if (exitCode >= 0) { executor.schedule(() -> TomcatHelper.getServer().getCatalina().stopServer(), 5, TimeUnit.SECONDS); } } }
/** * The instance main program. * * @param args Command line arguments */ public void process(String args[]) { setAwait(true); setCatalinaHome(); setCatalinaBase(); try { if (arguments(args)) { if (starting) { load(args); start(); } else if (stopping) { stopServer(); } } } catch (Exception e) { log.log(Level.WARNING, LogFacade.ERROR_PROCESSING_COMMAND_LINE_EXCEPTION, e); } }
/** * The instance main program. * * @param args Command line arguments */ public void process(String args[]) { setAwait(true); setCatalinaHome(); setCatalinaBase(); try { if (arguments(args)) { if (starting) { load(args); start(); } else if (stopping) { stopServer(); } } } catch (Exception e) { e.printStackTrace(System.out); } }