try { UserTransaction transaction = (UserTransaction) initialContext.lookup("java:/comp/UserTransaction"); transaction.begin();
.. do work with a stateless session bean ..
if error throw new SystemException();
transaction.commit(); }
catch (SystemException e) { ... }
But this throws a NestedTransactionException.
I am running this in JBoss with Jetty.
S.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]