code: public void removeDialog(String dialogId) throws SipCacheException {
  		UserTransaction tx = null;
  		try {
  			Properties prop = new Properties();
  			prop.put(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.cache.transaction.DummyContextFactory");
  			tx = (UserTransaction) new InitialContext(prop).lookup("UserTransaction");
  			if(tx != null) {
  				tx.begin();
  			}
  			dialogRootNode.removeChild(dialogId);
  			if(tx != null) {
  				tx.commit();
  			}
  		} catch (Exception e) {
  			if(tx != null) {
  				try { tx.rollback(); } catch(Throwable t) {}
  			}
  			throw new SipCacheException("A problem occured while removing the following dialog " + dialogId + " from JBoss Cache", e);
  		}
  	}
docs: /* (non-Javadoc)
  @see org.mobicents.ha.javax.sip.cache.SipCache#removeDialog(java.lang.String)