1 Reply Latest reply on Apr 9, 2003 7:58 AM by sohaib

    [HELP] Application Error: tried to enter Stateful bean with

      Hi all,
      I need help to resolve to following problem:

      javax.ejb.EJBException: Application Error: tried to enter Stateful bean with different transaction context, contextTx: TransactionImpl:XidImpl [FormatId=257, GlobalId=Legolas//2, BranchQual=], methodTx: TransactionImpl:XidImpl [FormatId=257, GlobalId=Legolas//3, BranchQual=]
      at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:228)
      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:107)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:178)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:60)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:204)
      at org.jboss.ejb.StatefulSessionContainer.invoke(StatefulSessionContainer.java:380)
      at org.jboss.ejb.Container.invoke(Container.java:712)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:98)
      at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:102)
      at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:77)
      at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:80)
      at org.jboss.proxy.ejb.StatefulSessionInterceptor.invoke(StatefulSessionInterceptor.java:117)
      at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)
      at $Proxy63.handleEvent(Unknown Source)
      at com.eim.application.intranet.control.web.ClientControllerWebImpl.processRequest(ClientControllerWebImpl.java:295)
      at com.eim.application.intranet.view.third.action.wizard.create.TreatStep1Action.execute(TreatStep1Action.java:67)
      at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:446)
      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:266)
      at com.eim.application.intranet.control.struts.CustomRequestProcessor.process(CustomRequestProcessor.java:50)
      ...


      What can be the reason of such error ?

      Thanks a lot in advance :)

      Alban.

        • 1. Re: [HELP] Application Error: tried to enter Stateful bean w
          sohaib

          Hi,
          This exception normally comes when there are concurrent accesses to your stateful session bean. Weblogic Server provided internal implementation to handle it and so it is not an issue on weblogic. In this case server has to queue the request which JBoss couldn't. I am also looking for its solution, so if u have done with this exception, please let me know.
          Thanks.