[jboss-user] [EJB/JBoss] - Yet Another

jova73 do-not-reply at jboss.com
Fri Apr 10 13:09:43 EDT 2009


Hi,
sometimes my J2EE application, which has a stateful session bean, gets the following error trying to access the SFSB:

...
	javax.ejb.EJBException: Application Error: tried to enter Stateful bean with different tx context, contextTx: ...
	at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:262)
	at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
	at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
	at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:322)
	at org.jboss.ejb.Container.invoke(Container.java:674)
	at sun.reflect.GeneratedMethodAccessor54.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.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:100)
...

The problem happens (at a customer site) with the application running on JBoss 3.2.1 connected to a DB2 on iSeries. 
I've searched JBoss forums and the web and found several answers related to concurrent access to the SFSB from different threads, but this is not my case.
What can I check?
Should I make JBoss more verbose, in order to get more info? Which classes of JBoss should I make more verbose?

Thanks in advance,
Andrea


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224934#4224934

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4224934



More information about the jboss-user mailing list