0 Replies Latest reply on Jul 5, 2007 1:40 PM by Thiago Morello

    Long Time Running Session Beans Issue

    Thiago Morello Newbie


      I have two issues:
      - I have one Stateful SB running tasks for more then two hours, and when it tries to return to a previous Stateful SB that was idle, i get an error, because it was passivated. So i tried change the idleTimeOutSeconds to a greater values and it worked ok.
      - I have the same issue with Stateless SBs.

      What is the right procedure for solving this problem? Is it changing the idleTimeOutSeconds from the CacheConfig? Or is there a better solution that fits for both Stateful and Stateless Session Beans?