[jboss-jira] [JBoss JIRA] Updated: (JBAS-3946) remove() called on home of a sfsb in tx must fail

Alexey Loubyansky (JIRA) jira-events at jboss.com
Thu Dec 14 09:30:46 EST 2006


     [ http://jira.jboss.com/jira/browse/JBAS-3946?page=all ]

Alexey Loubyansky updated JBAS-3946:
------------------------------------

    Description: 
EJB2.1 spec
7.6.4 Restrictions for Transactions
"If a session bean instance is participating in a transaction, it is an error for a client to invoke the
remove method on the session object's home or component interface object. The container
must detect such an attempt and throw the javax.ejb.RemoveException to the client.
The container should not mark the client's transaction for rollback, thus allowing the client to
recover."

  was:
Page 86 of the ejb-2_1-fr-spec.pdf:
"An attempt to remove a session
object while the object is in a transaction will cause the container to throw the
javax.ejb.RemoveException to the client."
There is a cts test that fails because of this.


> remove() called on home of a sfsb in tx must fail
> -------------------------------------------------
>
>                 Key: JBAS-3946
>                 URL: http://jira.jboss.com/jira/browse/JBAS-3946
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: EJB2
>    Affects Versions: JBossAS-5.0.0.Beta1
>            Reporter: Alexey Loubyansky
>         Assigned To: Alexey Loubyansky
>             Fix For: JBossAS-5.0.0.Beta2
>
>
> EJB2.1 spec
> 7.6.4 Restrictions for Transactions
> "If a session bean instance is participating in a transaction, it is an error for a client to invoke the
> remove method on the session object's home or component interface object. The container
> must detect such an attempt and throw the javax.ejb.RemoveException to the client.
> The container should not mark the client's transaction for rollback, thus allowing the client to
> recover."

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list