MBeanServerConnection server = getServer();
Long before = (Long) server.getAttribute(OBJECT_NAME, "TransactionCount");
try
{
bean.testBadUserTx();
fail("Should throw an exception");
}
catch (Throwable expected)
{
log.debug("Got exception", expected);