locator = new InvokerLocator(s);
locator = new InvokerLocator(s + "&socketTimeout=0");
   private void initializeRemoting() throws Exception   {      String s = (String)mbeanServer.invoke(connector, "getInvokerLocator",                                            new Object[0], new String[0]);      locator = new InvokerLocator(s);      log.debug("LocatorURI: " + getLocatorURI());      // add the JMS subsystem      mbeanServer.invoke(connector, "addInvocationHandler",                         new Object[] {"JMS", new JMSServerInvocationHandler()},                         new String[] {"java.lang.String",                                       "org.jboss.remoting.ServerInvocationHandler"});      // TODO what happens if there is a JMS subsystem already registered? Normally, nothing bad,      // TODO since it delegates to a static dispatcher, but make sure      // TODO if this is ServerPeer is stopped, the InvocationHandler will be left hanging         }