[jboss-jira] [JBoss JIRA] (AS7-5368) Lookup of UserTransaction should not be allowed in CMT beans
Eduardo Martins (JIRA)
jira-events at lists.jboss.org
Thu Dec 20 07:22:08 EST 2012
[ https://issues.jboss.org/browse/AS7-5368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eduardo Martins reassigned AS7-5368:
------------------------------------
Assignee: Eduardo Martins (was: jaikiran pai)
> Lookup of UserTransaction should not be allowed in CMT beans
> ------------------------------------------------------------
>
> Key: AS7-5368
> URL: https://issues.jboss.org/browse/AS7-5368
> Project: Application Server 7
> Issue Type: Bug
> Components: EJB
> Affects Versions: 7.2.0.Alpha1
> Reporter: Cheng Fang
> Assignee: Eduardo Martins
>
> EJB spec 8.3.4 Enterprise Beans Using Container-Managed Transaction Demarcation:
> The enterprise bean’s business methods, message listener methods, business method interceptor meth- ods, lifecycle callback interceptor methods, or timeout callback methods must not attempt to obtain or use the javax.transaction.UserTransaction interface.
> Currently lookup("java:comp/UserTransaction") returns an instance of org.jboss.tm.usertx.client.ServerVMClientUserTransaction.
> Similar to AS7-5331
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list