server.start();
logger.info("Started Jetty Server");
if (getStopPort() != null && getStopPort() > 0 && getStopKey() != null) {
Monitor monitor = new Monitor(getStopPort(), getStopKey(),
new Server[]{(Server) server.getProxiedObject()}, !daemon);
monitor.start();
}
// start the scanner thread (if necessary) on the main webapp
configureScanner();
startScanner();