[jboss-user] [EJB3] - Re: 'You cannot commit during a managed transaction' issue

Catalin Moga do-not-reply at jboss.com
Thu Apr 21 03:40:39 EDT 2011


Catalin Moga [http://community.jboss.org/people/mcatalin23] created the discussion

"Re: 'You cannot commit during a managed transaction' issue"

To view the discussion, visit: http://community.jboss.org/message/601326#601326

--------------------------------------------------------------
My deployment descriptor looks like this:
        ...
        <session>
            <ejb-name>MyBeanClass</ejb-name>
            <business-remote>....MyBeanInterface</business-remote>
            <local-bean/>
            <ejb-class>....MyBeanClass</ejb-class>
            <session-type>Stateless</session-type>
        </session>
        ...

I will add <transaction-type>Bean</transaction-type>

Should I understand that *Container* is the default value for transaction type?
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/601326#601326]

Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110421/d5a2ffb6/attachment.html 


More information about the jboss-user mailing list