Thanks for the sample: https://issues.apache.org/jira/browse/TOMEE-1125

Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



2014-02-14 14:22 GMT+01:00 Olivier Paquet <[email protected]>:
> stateful-test-issue.zip
> <http://openejb.979440.n4.nabble.com/file/n4667817/stateful-test-issue.zip>
> Hi,
>
> Finally I found out what is causing this strange behaviour:
>
> In our stateful bean we lookup a UserTransaction.
>
> If I begin this  usertransaction
> <http://docs.oracle.com/javaee/6/api/javax/transaction/UserTransaction.html>
> , before calling the @Remove method the stateful bean is not remove
> correctly and I receive a timeout.
>
> While I d'ont begin the usertransaction the stateful bean will be removed
> correctly.
>
> I can send you my demo war archive so that you can re-produce this issue.
>
> Regards, stateful-test-0.0.1-SNAPSHOT.war
> <http://openejb.979440.n4.nabble.com/file/n4667817/stateful-test-0.0.1-SNAPSHOT.war>
>
> I attached a war archive that you can deploy in a tomee. And a maven project
> which also contains a JUnit test and the code I used to reproduce the issue.
> Just wait 30 seconds, then the EJB will time out.
>
> For further question please don't hesitate to contact me because this issue
> is blocking our performance.
>
>
> Regards,
>
> Olivier Paquet
>
>
>
> --
> View this message in context: 
> http://openejb.979440.n4.nabble.com/Stateful-EJB-not-removed-after-Remove-annontation-tp4667763p4667817.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to