public void startRecursive() throws LifecycleException { // nothing to start recursive, the servlets will be started by load-on-startup start(); }
public void startRecursive() throws LifecycleException { // nothing to start recursive, the servlets will be started by load-on-startup start(); }
public void startRecursive() throws LifecycleException { // nothing to start recursive, the servlets will be started by load-on-startup start(); }
public void startRecursive() throws LifecycleException { // nothing to start recursively, the servlets will be started by // load-on-startup start(); }
public void startRecursive() throws LifecycleException { // nothing to start recursive, the servlets will be started by load-on-startup start(); }
public void startRecursive() throws LifecycleException { // nothing to start recursive, the servlets will be started by load-on-startup start(); }
public void startRecursive() throws LifecycleException { // nothing to start recursive, the servlets will be started by load-on-startup start(); }
@Deprecated public void startRecursive() throws LifecycleException { // nothing to start recursive, the servlets will be started by load-on-startup start(); }
@Deprecated public void startRecursive() throws LifecycleException { // nothing to start recursive, the servlets will be started by load-on-startup start(); }
public void start() throws LifecycleException { super.start(); addValve(new EJBWebServiceValve()); }
public synchronized void start() throws LifecycleException { if (pipelineInitialized) { try { Valve valve = getFirst(); valve.invoke(null, null); //Install the DefaultSubjectValve after the authentication valve so the default subject is supplied //only if no real subject is authenticated. Valve defaultSubjectValve = new DefaultSubjectValve(defaultSubject); addValve(defaultSubjectValve); } catch (IOException e) { if (e.getCause() instanceof LifecycleException) { throw (LifecycleException) e.getCause(); } throw new LifecycleException(e); } catch (ServletException e) { throw new LifecycleException(e); } } else super.start(); }
start(); } catch (LifecycleException e) { log.error(sm.getString("standardContext.startingContext"), e);
context.start(); } catch (LifecycleException e) { throw MESSAGES.startContextPhaseFailed(e);
/** * Reload this web application, if reloading is supported. * <p> * <b>IMPLEMENTATION NOTE</b>: This method is designed to deal with * reloads required by changes to classes in the underlying repositories * of our class loader. It does not handle changes to the web application * deployment descriptor. If that has occurred, you should stop this * Context and create (and start) a new Context instance instead. * * @exception IllegalStateException if the <code>reloadable</code> * property is set to <code>false</code>. */ public synchronized void reload() { // Validate our current component state if (!started) return; // Stop accepting requests temporarily setPaused(true); try { stop(); } catch (LifecycleException e) { CatalinaLogger.CORE_LOGGER.errorStoppingContext(getName(), e); } try { start(); } catch (LifecycleException e) { CatalinaLogger.CORE_LOGGER.errorStartingContext(getName(), e); } setPaused(false); }
private static StandardContext startWebApp(Host host, WSEndpointDeploymentUnit unit) throws Exception { StandardContext context = new StandardContext(); try { JBossWebMetaData jbwebMD = unit.getAttachment(WSAttachmentKeys.JBOSSWEB_METADATA_KEY); context.setPath(jbwebMD.getContextRoot()); context.addLifecycleListener(new ContextConfig()); ServerConfigService config = (ServerConfigService)unit.getServiceRegistry().getService(WSServices.CONFIG_SERVICE).getService(); File docBase = new File(config.getValue().getServerTempDir(), jbwebMD.getContextRoot()); if (!docBase.exists()) { docBase.mkdirs(); } context.setDocBase(docBase.getPath()); final Loader loader = new WebCtxLoader(unit.getAttachment(WSAttachmentKeys.CLASSLOADER_KEY)); loader.setContainer(host); context.setLoader(loader); context.setInstanceManager(new LocalInstanceManager()); addServlets(jbwebMD, context); host.addChild(context); context.create(); } catch (Exception e) { throw MESSAGES.createContextPhaseFailed(e); } try { context.start(); } catch (LifecycleException e) { throw MESSAGES.startContextPhaseFailed(e); } return context; }
start(); } catch (LifecycleException e) { log.error(
start(); } catch (LifecycleException e) { log.error(
start(); } catch (LifecycleException e) { log.error(
start(); } catch (LifecycleException e) { log.error(