void start() throws Exception { assert hostName() != null; started = false; connector = connectorFactory.apply(hostName()); final Service service = connector.getService(); final Engine engine = TomcatUtil.engine(service, hostName()); final String engineName = engine.getName(); if (activeEngines.contains(engineName)) { throw new TomcatServiceException("duplicate engine name: " + engineName); } server = service.getServer(); if (!TOMCAT_START_STATES.contains(server.getState())) { logger.info("Starting an embedded Tomcat: {}", toString(server)); server.start(); started = true; } else { throw new TomcatServiceException("Cannot manage already running server: " + engineName); } activeEngines.add(engineName); this.engineName = engineName; }
/** * Start the server. * * @throws LifecycleException Start error */ public void start() throws LifecycleException { getServer(); server.start(); }
/** * Start the server. * * @throws LifecycleException Start error */ public void start() throws LifecycleException { getServer(); server.start(); }
/** * Start the server. * * @throws LifecycleException */ public void start() throws LifecycleException { getServer(); getConnector(); server.start(); }
/** * Start the server. * * @throws LifecycleException */ public void start() throws LifecycleException { getServer(); getConnector(); server.start(); }
/** * Start the server. * * @throws LifecycleException */ public void start() throws LifecycleException { getServer(); getConnector(); server.start(); }
/** * Start the server. * * @throws LifecycleException */ public void start() throws LifecycleException { getServer(); getConnector(); server.start(); }
/** * Start the server. * * @throws LifecycleException */ public void start() throws LifecycleException { getServer(); getConnector(); server.start(); }
/** * Start the server. * * @throws LifecycleException */ public void start() throws LifecycleException { getServer(); getConnector(); server.start(); }
getServer().start(); } catch (LifecycleException e) { log.error("Catalina.start: ", e);
getServer().start(); } catch (LifecycleException e) { log.error("Catalina.start: ", e);
getServer().start(); } catch (LifecycleException e) { log.error("Catalina.start: ", e);
getServer().start(); } catch (LifecycleException e) { log.error("Catalina.start: ", e);
getServer().start(); } catch (LifecycleException e) { log.error("Catalina.start: ", e);
getServer().start(); } catch (LifecycleException e) { log.fatal(sm.getString("catalina.serverStartFail"), e);
getServer().start(); } catch (LifecycleException e) { log.fatal(sm.getString("catalina.serverStartFail"), e);
getServer().start(); } catch (LifecycleException e) { log.fatal(sm.getString("catalina.serverStartFail"), e);