Examples of VMOption


Examples of org.ops4j.pax.exam.options.extra.VMOption

    @Configuration
    public Option[] config() {
        return new Option[]{
            karafDistributionConfiguration().frameworkUrl(
                maven().groupId("org.apache.karaf").artifactId("apache-karaf").type("zip")
                    .versionAsInProject()), new VMOption("-Xmx1024m"), new VMOption("-XX:MaxPermSize=56m") };
    }
View Full Code Here

Examples of org.ops4j.pax.exam.options.extra.VMOption

    /**
     * Returns an easy option to activate and configure remote debugging for the Karaf container.
     */
    public static Option debugConfiguration(String port, boolean hold) {
        return new VMOption(format("-Xrunjdwp:transport=dt_socket,server=y,suspend=%s,address=%s", hold ? "y" : "n",
                port));
    }
View Full Code Here

Examples of org.ops4j.pax.exam.options.extra.VMOption

    @Configuration
    public Option[] additionalConfiguration() throws Exception {
        return combine(baseConfiguration(),
            editConfigurationFileExtend(FeaturesCfg.BOOT, ",openengsb-ports-jms,openengsb-connector-example"),
            new VMOption("-Dorg.openengsb.jms.noencrypt=false"),
            new VMOption("-Dorg.openengsb.security.noverify=false"));
    }
View Full Code Here

Examples of org.ops4j.pax.exam.options.extra.VMOption

    @Configuration
    public Option[] additionalConfiguration() throws Exception {
        return combine(baseConfiguration(),
            editConfigurationFileExtend(FeaturesCfg.BOOT, ",openengsb-ports-jms,openengsb-connector-example"),
            new VMOption("-Dorg.openengsb.jms.noencrypt=true"),
            new VMOption("-Dorg.openengsb.security.noverify=true"));
    }
View Full Code Here

Examples of org.ops4j.pax.exam.options.extra.VMOption

        LOGGER.warn("running itests with the following port-config");
        LOGGER.warn(portNames.toString());
        LogLevel realLogLevel = transformLogLevel(loglevel);
        Option[] mainOptions =
            new Option[]{
                new VMOption("-Xmx2048m"),
                new VMOption("-XX:MaxPermSize=256m"),
                karafDistributionConfiguration().frameworkUrl(
                    maven().groupId("org.openengsb.framework").artifactId("openengsb-framework").type("zip")
                        .versionAsInProject()),
                logLevel(realLogLevel),
                editConfigurationFilePut(WebCfg.HTTP_PORT, (String) portNames.get("jetty.http.port")),
View Full Code Here

Examples of org.ops4j.pax.exam.options.extra.VMOption

  @Configuration
  public Option[] config() {
    return new Option[] { new DefaultCompositeOption(fabricDistributionConfiguration()),
        //new VMOption("-agentlib:jdwp=transport=dt_socket,address=5005,server=y,suspend=y"),
        new VMOption("-D" + SystemProperties.ZOOKEEPER_PASSWORD + "=systempassword") };
  }
View Full Code Here

Examples of org.ops4j.pax.exam.options.extra.VMOption

     * @param hold
     *            should the VM wait for the debugger?
     * @return option
     */
    public static Option debugConfiguration(String port, boolean hold) {
        return new VMOption(format("-Xrunjdwp:transport=dt_socket,server=y,suspend=%s,address=%s",
            hold ? "y" : "n", port));
    }
View Full Code Here

Examples of org.ops4j.pax.exam.options.extra.VMOption

     *            virtual machine option
     *
     * @return virtual machine option
     */
    public static VMOption vmOption(final String vmOption) {
        return new VMOption(vmOption);
    }
View Full Code Here

Examples of org.ops4j.pax.exam.options.extra.VMOption

    @Configuration
    public Option[] config() {
        return new Option[]{
                RegressionConfiguration.regressionDefaults(),
                    new VMOption("-Xmx1024m"),
                    new VMOption("-XX:MaxPermSize=56m") };
    }
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.