Package org.jacorb.test.harness

Examples of org.jacorb.test.harness.ServerSetup$ProcessShutdown


            Properties cp = CommonSetup.loadSSLProps("jsse_client_props", "jsse_client_ks");

            orbProps.putAll(cp);
        }

        setup1 = new ServerSetup(null, CustomBasicServerImpl.class.getName(), orbProps );
        setup1.setUp();
        server1IOR = setup1.getServerIOR();

        setup2 = new ServerSetup(null, CustomBasicServerImpl.class.getName(), orbProps );
        setup2.setUp();
        server2IOR = setup2.getServerIOR();
    }
View Full Code Here


        if (serverOn_1 == SVR_1_ON && serverSetup_1 == null)
        {
            try
            {
                   TestUtils.getLogger().debug("++++ setting up NSFailoverTestServer 1"==null? "null" : "++++ setting up NSFailoverTestServer 1");
                    serverSetup_1 = new ServerSetup (
                                        "org.jacorb.test.orb.orbreinvoke.NSFailoverTestServer",
                                        "",
                                        new String []
                                            {
                                                 "-Djacorb.log.showThread=" + "on",
                                                 "-Djacorb.log.showSrcInfo=" + "on",

                                                 "-ORBListenEndpoints", SERVER_1_LEP,
                                                 "-DORBInitRef.NameService=" + "file://" + nsIOR_1.toString(),
                                                 "-Djacorb.test.timeout.server=" + Long.toString(10000)
                                            },
                                        null);

                    serverSetup_1.setUp();
                    TestUtils.getLogger().debug("++++ setting up server 1 - complete"==null? "null" : "++++ setting up server 1 - complete");
                }
                catch (Exception e)
                {
                    // ignore
                }
        }
        if (serverOn_2 == SVR_2_ON && serverSetup_2 == null)
        {
            try
            {
                TestUtils.getLogger().debug("++++ setting up NSFailoverTestServer 2"==null? "null" : "++++ setting up NSFailoverTestServer 2");
                serverSetup_2 = new ServerSetup (
                                        "org.jacorb.test.orb.orbreinvoke.NSFailoverTestServer",
                                        "",
                                        new String []
                                            {
                                                 "-Djacorb.log.showThread=" + "on",
View Full Code Here

    public void setupMyServers(boolean serverOn_1, boolean serverOn_2) throws Exception
    {
        if (serverOn_1 == SVR_1_ON && serverSetup_1 == null)
        {
                    TestUtils.getLogger().debug("++++ setting up server 1"==null? "null" : "++++ setting up server 1");
                    serverSetup_1 = new ServerSetup (
                                        "org.jacorb.test.orb.orbreinvoke.ImRFailoverTestServer",
                                        "",
                                        new String []
                                            {
                                                 "-Djacorb.log.showThread=" + "on",
                                                 "-Djacorb.log.showSrcInfo=" + "on",

                                                 "-ORBListenEndpoints", SERVER_1_LEP,
                                                 "-DORBInitRef.ImplementationRepository=" + "file://" + imrIOR_1.toString(),
                                                 "-Djacorb.implname=" + IMPLNAME,
                                                 "-Djacorb.use_imr=" + "true",
                                                 "-Djacorb.connection.server.reuse_address=true",
                                                 "-Djacorb.use_tao_imr=" + "false",
                                                 "-Djacorb.test.timeout.server=" + Long.toString(10000)
                                            },
                                        null);

                    serverSetup_1.setUp();
                    TestUtils.getLogger().debug("++++ setting up server 1 - complete"==null? "null" : "++++ setting up server 1 - complete");
        }
        if (serverOn_2 == SVR_2_ON && serverSetup_2 == null)
        {
                TestUtils.getLogger().debug("++++ setting up server 2"==null? "null" : "++++ setting up server 2");
                serverSetup_2 = new ServerSetup (
                                        "org.jacorb.test.orb.orbreinvoke.ImRFailoverTestServer",
                                        "",
                                        new String []
                                            {
                                                 "-Djacorb.log.showThread=" + "on",
View Full Code Here

    {
        Assume.assumeFalse(TestUtils.isSSLEnabled);
        // Hardcoded ior file in code *and* XML to /tmp/.... so exclude Windows systems.
        Assume.assumeFalse(System.getProperty("os.name").toLowerCase().contains("win"));

        serverSetUp = new ServerSetup ("org.jacorb.test.bugs.bug968.ReproServiceMainSpring",
                "ReproServiceMainSpring", null);

        Properties props = System.getProperties();
        props.put( "org.omg.CORBA.ORBClass", "org.jacorb.orb.ORB" );
        props.put( "org.omg.CORBA.ORBSingletonClass", "org.jacorb.orb.ORBSingleton" );
View Full Code Here

         Properties serverprops = new java.util.Properties();
         serverprops.setProperty( "ORBInitRef.balancer", "corbaloc::localhost:" + port + "/GSLBService");

         serverprops.setProperty ("jacorb.test.timeout.server", Long.toString(15000));

         serverSetUp = new ServerSetup ("org.jacorb.test.bugs.bugjac670.GreetingServiceServer",
                                        "GreetingServiceImpl",
                                        serverprops);

         serverSetUp.setUp();
    }
View Full Code Here

    {
        Properties serverprops = new Properties();
        serverprops.setProperty ("ORBInitRef.NameService", nsSetup.getServerIOR());
        serverprops.setProperty ("jacorb.test.timeout.server", Long.toString(15000));

        serverSetup = new ServerSetup (
            "org.jacorb.test.bugs.bugjac685.BugJac685TestServer",
            "",
            serverprops);

        serverSetup.setUp();
View Full Code Here

        Properties serverprops = new java.util.Properties();
        serverprops.setProperty( "org.omg.PortableInterceptor.ORBInitializerClass."
                                 + ServerPIInitializer.class.getName(), "" );


        serverSetUp = new ServerSetup (null,
                                       "org.jacorb.test.orb.policies.ComplexTimingServerImpl",
                                       serverprops);

        serverSetUp.setUp();
View Full Code Here

TOP

Related Classes of org.jacorb.test.harness.ServerSetup$ProcessShutdown

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.