2 Replies Latest reply on May 13, 2008 1:48 PM by tomas kral

    Ending nested conversations ends object in parent conversation

    tomas kral Newbie

      Any ideas why by ending nested conversation is removed object that belongs to parent conversation (seam 1.1.6)?


      Scenario:
      1. start conversation
        create SFSB actionFind


      2. start nested conversation
      3. some stuff


      4. end nested conversation
        SFSB actionFind is destroyed (although it belongs to parent conversation)


      I have looked in debug.seam and actionFind was listed in parent conversation, so I dont understand why is destroyed.


      I get then exception because I refer to the actionFind:


      Caused by: javax.ejb.EJBNoSuchObjectException: Could not find Stateful bean: 5c4o52u-rj0mz-fg67ofam-1-fg68b7qm-jm
              at org.jboss.ejb3.cache.simple.SimpleStatefulCache.get(SimpleStatefulCache.java:268)
              at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:61)
              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
              at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
              at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:102)
      ...