I have a stateful session bean. Now if I go to the JSP and press many times quickly on the "send" button, it gives me the following error message:
javax.ejb.EJBException: Application Error: tried to enter Stateful bean with different tx context, contextTx: TransactionImpl:XidImpl [FormatId=257, GlobalId=Erez//175, BranchQual=], methodTx: TransactionImpl:XidImpl [FormatId=257, GlobalId=Erez//176, BranchQual=] at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:232) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)