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",