private void startServer() { try { tomcat.enableNaming(); tomcat.setPort(config.getHttpPort()); tomcat.start(); isDeployed = true; } catch (LifecycleException exc) { exc.printStackTrace(); throw new RuntimeException(exc); } }
private void startServer() { try { tomcat.enableNaming(); tomcat.setPort(config.getHttpPort()); tomcat.start(); isDeployed = true; } catch (LifecycleException exc) { exc.printStackTrace(); throw new RuntimeException(exc); } }