This content has been marked as final. Show 2 replies
There is no portable way to do this, since access to the transaction manager
is not in the spec.
In jboss it is:
import javax.transaction.TransactionManager; TransactionManager tm = (TransactionManager) new InitialContext().lookup("java:/TransactionManager"); int status = tm.getStatus();
Thanks for your help -- I've been wondering for some time how to do this :)