try
{
ProtocolData[] protocols=orig.getProtocolStack();
ProtocolData transport=protocols[0];
ProtocolParameter singletonParam = new ProtocolParameter(Global.SINGLETON_NAME, singletonName);
transport.override(new ProtocolParameter[]{ singletonParam});
result = orig;
}
catch (UnsupportedOperationException uoe)
{
// JGroups version hasn't implemented ProtocolStackConfigurator.getProtocolStack()