[ http://jira.andromda.org/browse/EJB-42?page=all ] Vance Karimi closed EJB-42: ---------------------------
Resolution: Fixed Patch applied. NOTE: Manageable entity session beans cannot determine transaction type (support can be added in EJB3ManageableEntityFacade if you need this for manageable entity session beans), therefore they remain container managed transaction demarcation by default. Likewise for DAO session beans. Thanks Sverker > Bean managed transactions doesn't work > -------------------------------------- > > Key: EJB-42 > URL: http://jira.andromda.org/browse/EJB-42 > Project: EJB Cartridge > Type: Bug > Reporter: Sverker Abrahamsson > Assignee: Vance Karimi > Attachments: ejb-jar.xml.vsl.patch > > When creating a session bean with bean managed transactions the following > exception is thrown at deploy: > "java.lang.IllegalStateException: Container BillingServiceBean: it is illegal > to inject UserTransaction into a CMT bean" > This is because the ejb-xml template always set transaction management to > container. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.andromda.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642