2 Replies Latest reply on Jan 28, 2012 4:59 PM by jovincen

    Foreground conversation timing out

    jovincen

      Hi all,


      For some reason on my website the foreground conversation times out. The pages I am testing are primarily driven by a4j.


      I create an initial long running conversation to edit one of my entries.


      I then create a second long running conversation to edit a second entry. I then poll this conversation repeatedly until the 2 minute timeout. I break on the code (that acts on a org.jboss.seam.conversationTimeout event) an expect the first conversation id to be referenced when it is actually the second.


      (I don't know it it is related to the following post: http://seamframework.org/Community/SessionTimeoutDuringFileUpload).


      Is there some kind of function call I can make to determine which conversation Seam believes is the foreground conversation? Perhaps there is some call I can make in the code to tell seam which one it is?


      Cheers,
      Jon

        • 1. Re: Foreground conversation timing out
          vata2999

          Hi,


          There is a built-in Seam component for conversation which u can take control of conversion but i think it has nothing to do with timeout




          @In Conversation conversation;



          PS : your session timeout must be greater than your conversation timeout

          • 2. Re: Foreground conversation timing out
            jovincen

            Hi,


            My session timeout is 5 minutes and my conversation timeout is 2 minutes.


            If I raise the two long running conversations in parallel and leave them idle for 2 minutes, I then continue one of them. The one I continue with call's a timeout event for itself but continues to work! The other conversation simply stops responding (doesn't even call @Remove) destruction.


            This is very weird behavior...


            Cheers,