{
try
{
XAExceptionSessionHome xh = (XAExceptionSessionHome) new InitialContext()
.lookup("test/XAExceptionSessionHome");
XAExceptionSession x = xh.create();
try
{
x.testRMERRInOnePCToTransactionRolledbackException();
}
catch (TransactionRolledbackException tre)
{
log.info("Test worked");
return;