Package org.glassfish.embeddable

Examples of org.glassfish.embeddable.Deployer.deploy()


            //deployer.deploy(archive.toURI());
            if (warArchive == null) {
                LOGGER.info("warArchive is null, nothing deployed");
            } else {
                LOGGER.info("About to deploy [" + warArchive.toURI().toString() + "] from path [" + warArchive.toURI().getPath() + "]  to EmbeddedGlassFish instance [" + deployer.toString() + "] with context-root set to [" + this.appDescriptor.getContextPath() + "]");
                String deployedApp = deployer.deploy(warArchive.toURI());
                LOGGER.info("Deployed [" + deployedApp + "] to EmbeddedGlassFish instance [" + deployer.toString() + "] with context-root set to [" + this.appDescriptor.getContextPath() + "]");
            }
        } catch (org.glassfish.embeddable.GlassFishException ex) {
            LOGGER.info("Caught GlassFishException [" + ex.getMessage() + "] trying to start the embedded server instance");
            throw new TestContainerException(ex);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.