1 Reply Latest reply on Nov 28, 2007 6:11 AM by Pete Muir

    Accessing UserTransaction in Seam 1.2.1

    Erik Hellman Newbie

      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

      Any suggestions?