Thread.dumpStack();
Properties p = new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.cache.transaction.DummyContextFactory");
Context ctx = new InitialContext(p);
ctx.unbind("java:/TransactionManager");
ctx.unbind("UserTransaction");
}
catch (NamingException e)
{
log.error("unbinding of DummyTransactionManager failed", e);