4 Replies Latest reply on Nov 17, 2011 5:53 AM by Stephan Pabinger

    Detached entity passed to persist after timeout, but which one?

    Christophe CARVALHO Newbie



      In my seam application i encountered the following issue :


      In a stateful sesion bean i create a persist method which use an EntityHome bean to persist an entity , if i call this method in the first 15 minutes after displaying the xhtml page everything works correctly, but if i wait more than 15 minutes the method result in a "detached entity passed to persist" error.


      I have increased the session and the conversation timeout to 30 minutes.


      Can someone explain me how to configure the timeout which make my entities being detached after 15 minutes.





      Here is my environnement :


      - JBoss AS 4.3

      - Seam 2.2.0 GA