Hello Ittay, the deadlock, probably, occurs in value object creation. So, pay attention to it or post more details/code snippets.
alex Tuesday, July 29, 2003, 8:19:45 AM, Ittay Dror wrote: ID> Hi, ID> The message in the subject happens with the following scenario: ID> 1. A stateless session bean (with CMT) calls a finder of a CMP-CMT ID> entity bean. ID> 2. The session bean iterates over the collection, for each bean there, ID> it calls a method in the bean that creates a value object for the bean ID> and returns it (the method is generated by xdoclet). ID> 3. Another thread calls the same session bean method and is at stage 2 ID> (the call to the session beans initiates from a Struts action object, ID> for two different browsers loading the same page). ID> The exception occures in: ID> * Message: null; CausedByException is: Application deadlock ID> detected: Two or more transactions contention. ID> at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:385) ID> at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195) ID> at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) ID> at org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:483) ID> at org.jboss.ejb.Container.invoke(Container.java:674) ID> at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:353) ID> at org.jboss.ejb.plugins.local.EntityProxy.invoke(EntityProxy.java:38) ID> at $Proxy118.getValue(Unknown Source) ID> The session and entity bean both have 'required' in their transaction ID> type. ID> Thank you for your help, ID> Ittay ID> ------------------------------------------------------- ID> This SF.Net email sponsored by: Free pre-built ASP.NET sites including ID> Data Reports, E-commerce, Portals, and Forums are available now. ID> Download today and enter to win an XBOX or Visual Studio .NET. ID> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 ID> _______________________________________________ ID> JBoss-user mailing list ID> [EMAIL PROTECTED] ID> https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user