/** * get carol properties from file * @return Properties carol properties */ private static Properties getCarolProperties() throws Exception { Properties props = null; try { props = loadPropertiesFile("carol", Thread.currentThread().getContextClassLoader()); } catch (Exception e) { TraceCarol.debugCarol("carol.properties file not found: " + e); } return props; }
TraceCarol.debugCarol("map properties found in jndi.properties to CAROL ones"); Properties result = new Properties();
TraceCarol.debugCarol("Carol file used is " + fName + ".properties through URLClassLoader"); result.load(fInputStream); if (TraceCarol.isDebugCarol()) { TraceCarol.debugCarol( "Carol file used is " + fName
TraceCarol.debugCarol("ProtocolCurrent.ProtocolCurrent()"); TraceCarol.debugCarol("Number of rmi:" + icHashtable.size()); TraceCarol.debugCarol("Default:"+ defaultRMI); TraceCarol.debugCarol("ProtocolCurrent.ProtocolCurrent() Exception:" + e);
allProps.remove(CarolDefaultValues.PROTOCOLS_KEY); if (TraceCarol.isDebugCarol()) { TraceCarol.debugCarol("Carol use carol file to activate RMI: " + protocols); protocols = jndiRMIName; if (TraceCarol.isDebugCarol()) { TraceCarol.debugCarol("Carol use jndi file to activate RMI: " + protocols); TraceCarol.debugCarol("Carol use default file to activate RMI " + protocols); TraceCarol.debugCarol("--- Global Carol configuration: ---"); TraceCarol.debugCarol("Multiple RMI is " + multiRMI); TraceCarol.debugCarol(CarolDefaultValues.START_NS_KEY + "=" + startNS); TraceCarol.debugCarol("--- Carol RMI configuration ---"); TraceCarol.debugCarol("Carol RMI " + defaultRMI + " configuration:"); TraceCarol.debugCarol(defaultRMI + " is default"); k = (String) e.next(); if (k.startsWith(rmiDP)) { TraceCarol.debugCarol(k + "=" + allProps.getProperty(k)); TraceCarol.debugCarol("Carol RMI " + rmiName + " configuration:"); k = (String) e.next(); if (k.startsWith(rmiDP)) { TraceCarol.debugCarol(k + "=" + allProps.getProperty(k));