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
 Assigned to: Vance Karimi 


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

Reply via email to