if (ServerManagement.isRemote()) return;
   public void testAddRetrieveRemoveMessage() throws Exception   {      JDBCTransactionLog tl = new JDBCTransactionLog(sc.getDataSource(), sc.getTransactionManager());      tl.start();      Message[] messages = createMessages();      for (int i = 0; i < messages.length; i++)      {         Message m = messages[i];         String id = (String)m.getMessageID();         tl.storeMessage(m);         assertEquals(1, tl.getMessageReferenceCount(id));         Message m2 = tl.retrieveMessage(id);         assertNotNull(m2);         checkEquivalent(m, m2);         assertEquals(2, tl.getMessageReferenceCount(id));         boolean removed = tl.removeMessage(id);         assertTrue(removed);         assertEquals(1, tl.getMessageReferenceCount(id));         removed = tl.removeMessage(id);         assertTrue(removed);         assertEquals(0, tl.getMessageReferenceCount(id));         Message m3 = tl.retrieveMessage(id);         assertNull(m3);         assertFalse(tl.removeMessage(id));      }   }