@Override public void startService() throws JasDBException { if(consoleEnabled) { LOG.info("Starting Web console"); server = new Server(portNr); WebAppContext app = new WebAppContext(); app.setContextPath("/"); try { app.setWar(new ClassPathResource("webapp").getURI().toString()); server.setHandler(app); LOG.info("Starting Console service on port: {}", portNr); server.start(); } catch (Exception e) { throw new JasDBException("Unable to start Console UI service", e); } } }