if(input == null)
input=Thread.currentThread().getContextClassLoader().getResourceAsStream(input_file);
if(old_format) {
Configurator config=new Configurator();
String cfg=inputAsString(input);
Vector<ProtocolConfiguration> tmp=config.parseConfigurations(cfg);
System.out.println(dump(tmp));
// conf=XmlConfigurator.getInstanceOldFormat(input);
// output=conf.getProtocolStackString(true);
// output=replace(output, "org.jgroups.protocols.", "");