ServerManagement.spawn(7);
log.info("Waiting for server 7 to start ...");
   public void testSimpleSpawn() throws Exception   {      try      {         ServerManagement.spawn(7);         ServerManagement.start("all", 7);         Integer index = (Integer)ServerManagement.            getAttribute(7, new ObjectName("jboss.messaging:service=ServerPeer"), "serverPeerID");         assertEquals(7, index.intValue());         InitialContext ic = new InitialContext(ServerManagement.getJNDIEnvironment(7));         ic.bind("/xxx", "yyy");         assertEquals("yyy", ic.lookup("/xxx"));      }      finally      {         ServerManagement.kill(7);      }   }