orbProperties.putAll(myCustomORBProperties);
if (myCustomORBProperties != null) orbProperties.putAll(myCustomORBProperties);
    private static boolean initializeLoop() {        if (initializeOrbRunOnce)            return true;        try {            //Done            String[] nullArgs = null;            // create and initialize the ORB            if (myOrb == null){                Properties orbProperties = new Properties();                orbProperties.putAll(myCustomORBProperties);                orbProperties.put("org.omg.CORBA.ORBClass", ORB_CLASS);                myOrb = ORB.init(nullArgs, orbProperties);            }            // get reference to rootpoa & activate the POAManager            if (myRootPOA == null) {                myRootPOA = POAHelper.narrow(myOrb.resolve_initial_references("RootPOA"));                myRootPOA.the_POAManager().activate();            }            if (myRootContext == null)                myRootContext = NamingContextExtHelper.narrow(myOrb.resolve_initial_references("NameService"));            //Attempt to create com.traclabs context, if already there, don't            // bother            NameComponent comComponent = new NameComponent("com", "");            NameComponent[] comComponentArray = { comComponent };            myRootContext.bind_new_context(comComponentArray);            NamingContextExt comContext = NamingContextExtHelper                    .narrow(myRootContext.resolve_str("com"));            NameComponent traclabsComponent = new NameComponent("traclabs", "");            NameComponent[] traclabsComponentArray = { traclabsComponent };            comContext.bind_new_context(traclabsComponentArray);        } catch (org.omg.CosNaming.NamingContextPackage.AlreadyBound e) {        } catch (Exception e) {            Logger.getLogger(OrbUtils.class).info(                    "nameserver not found, polling again: " + e);            myOrb = null;            myRootPOA = null;            myRootContext = null;            return false;        }        //Attempt to create biosim context, if already there, don't bother        try {            NamingContextExt comContext = NamingContextExtHelper                    .narrow(myRootContext.resolve_str("com"));            NamingContextExt traclabsContext = NamingContextExtHelper                    .narrow(comContext.resolve_str("traclabs"));            NameComponent biosimComponent = new NameComponent("biosim", "");            NameComponent[] biosimComponentArray = { biosimComponent };            traclabsContext.bind_new_context(biosimComponentArray);        } catch (org.omg.CosNaming.NamingContextPackage.AlreadyBound e) {        } catch (Exception e) {            Logger.getLogger(OrbUtils.class).info(                    "had trouble creating biosim context: " + e);        }        try {            NamingContextExt comContext = NamingContextExtHelper                    .narrow(myRootContext.resolve_str("com"));            NamingContextExt traclabsContext = NamingContextExtHelper                    .narrow(comContext.resolve_str("traclabs"));            myBiosimNamingContext = NamingContextExtHelper                    .narrow(traclabsContext.resolve_str("biosim"));            initializeOrbRunOnce = true;        } catch (Exception e) {            Logger.getLogger(OrbUtils.class).info(                    "had trouble retrieving biosim context: " + e);        }        return true;    }