[jboss-jira] [JBoss JIRA] (AS7-5368) Lookup of UserTransaction should not be allowed in CMT beans
Cheng Fang (JIRA)
jira-events at lists.jboss.org
Tue Aug 14 13:35:14 EDT 2012
Cheng Fang created AS7-5368:
-------------------------------
Summary: 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: jaikiran pai
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: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list