Can someone please post a working example on how I can retrieve and use UserTransaction in a Seam component (JBoss Seam 1.2.1)? I've tried to set the attribute user-transaction-name="java:/UserTransaction" in core:init and retrieve it in my code using InitialContext.lookup, but that generates the following exception during startup:
Caused by: java.lang.IllegalArgumentException: no such setter method: org.jboss.seam.core.Init.userTransactionName
Try Transactions.getUserTransaction()