6 Replies Latest reply on May 11, 2012 6:34 AM by Ram J

    Timeout for passivation of stateful beans

    Ondra Chaloupka Master



      I'm looking for possibility to define timeout for passivation stateful beans. Something similar what was possible in former version of JBoss by annotation @CacheConfig. I would like set timeout after which the server starts passivate beans and define maximal size of cache.

      I have found new EJB 3.1 annotation @StatefulTimeout but it defines time to destroy the bean. I tried to search in cli to but I haven't found out how it could be set.

      Is there some possibility of setting cache behaviour for passivation in AS7?


      Thank you