nsProp_1.setProperty("jacorb.log.showThread", "on");
nsProp_1.setProperty("jacorb.log.showSrcInfo", "on");
}
// initiate the NameServer service
nsSetup_1 = new NameServiceSetup (folder1, nsProp_1, 1);
nsSetup_1.setUp();
TestUtils.getLogger().debug("++++ setting NameServer #1 - complete"==null? "null" : "++++ setting NameServer #1 - complete");
}
catch (Exception e)
{
// ignored
}
}
if (nsON_2 == NS_2_ON && nsSetup_2 == null)
{
try
{
TestUtils.getLogger().debug("++++ setting NameServer #2"==null? "null" : "++++ setting NameServer #2");
if (nsProp_2 == null)
{
// initialize NameServer #1 properties
nsProp_2 = new Properties();
nsProp_2.setProperty ("OAAddress","iiop://:" + NS_2_LEP);
nsProp_2.setProperty ("jacorb.naming.print_ior", "on");
nsIOR_2 = File.createTempFile("MyNS2", ".ior");
nsIOR_2.deleteOnExit();
nsProp_2.setProperty ("jacorb.naming.ior_filename", nsIOR_2.toString());
nsProp_2.setProperty ("jacorb.naming.time out", "5000");
nsProp_2.setProperty ("jacorb.test.timeout.server", Long.toString(10000));
nsProp_2.setProperty("jacorb.log.showThread", "on");
nsProp_2.setProperty("jacorb.log.showSrcInfo", "on");
}
// initiate the NameServer service
nsSetup_2 = new NameServiceSetup (folder2, nsProp_2, 2);
nsSetup_2.setUp();
TestUtils.getLogger().debug("++++ setting NameServer #2 - complete"==null? "null" : "++++ setting NameServer #2 - complete");
}
catch (Exception e)
{