1 Reply Latest reply on Jun 20, 2003 10:29 PM by Adrian Brock

    Entering stateful bean with different tx contexts!

    lunluc Newbie

      Hi all,
      I'm porting an application from Weblogic7 to JBoss3.2.1 and I get the following.

      2003-06-20 17:59:37,987 ERROR [org.jboss.ejb.plugins.LogInterceptor] EJBException:

      javax.ejb.EJBException: Application Error: tried to enter Stateful bean with different tx context, contextTx: TransactionImpl:XidImpl [FormatId=257, GlobalId=vtsag//227, BranchQual=], methodTx: null

      at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:230)

      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)

      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:273)

      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104)

      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)

      at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)

      at org.jboss.ejb.StatefulSessionContainer.internalInvoke(StatefulSessionContainer.java:410)

      at org.jboss.ejb.Container.invoke(Container.java:674)

      at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:324)

      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)

      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)

      at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101)

      at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:83)

      at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)

      at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45)

      at org.jboss.proxy.ejb.StatefulSessionInterceptor.invoke(StatefulSessionInterceptor.java:104)

      at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)

      at $Proxy173.setSessionisingParameters(Unknown Source)

      at com.my.SpecialMDBean.persistSessions(SpecialMDBean.java:330)

      Any ideas?

      b