drainDestination(cf, queue);
   public void setUp() throws Exception   {      super.setUp();      ServerManagement.start("all");      initialContext = new InitialContext(ServerManagement.getJNDIEnvironment());      cf = (JBossConnectionFactory)initialContext.lookup("/ConnectionFactory");                  //if (!ServerManagement.isRemote()) tm = TxManager.getInstance();            ServerManagement.undeployQueue("Queue");      ServerManagement.deployQueue("Queue");      queue = (Destination)initialContext.lookup("/queue/Queue");       drainDestination(cf, queue);            //if (!ServerManagement.isRemote()) tm = TxManager.getInstance();   }