Package org.springframework.osgi.web.deployer

Examples of org.springframework.osgi.web.deployer.OsgiWarDeploymentException


        contexts.removeHandler(wac);
      }
      log.info("Context [" + contextPath + "] undeployed successfully from server " + getServerInfo());
    }
    catch (Exception ex) {
      throw new OsgiWarDeploymentException("Cannot undeploy " + messageEnding, ex);
    }
    finally {
      current.setContextClassLoader(old);

      // clean up unpacked folder
View Full Code Here


    try {
      removeContext(catalinaContext);
      log.info("Context [" + contextPath + "] undeployed successfully from server " + getServerInfo());
    }
    catch (Exception ex) {
      throw new OsgiWarDeploymentException("Cannot undeploy " + messageEnding, ex);
    }
    // try to clean up anyway
    finally {
      if (log.isDebugEnabled())
        log.debug("Cleaning unpacked folder " + docBase);
View Full Code Here

    try {
      deployment = createDeployment(bundle, contextPath);
    }
    catch (Exception ex) {
      throw new OsgiWarDeploymentException("Cannot create war deployment for " + commonMessage, ex);
    }

    if (log.isDebugEnabled())
      log.debug("About to deploy " + commonMessage);

    try {
      startDeployment(deployment);
      log.info("Successfully deployed " + commonMessage);
    }
    catch (Exception ex) {
      throw new OsgiWarDeploymentException("Cannot create war deployment for " + commonMessage, ex);
    }

    return deployment;
  }
View Full Code Here

TOP

Related Classes of org.springframework.osgi.web.deployer.OsgiWarDeploymentException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.