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