[jboss-user] [EJB 3.0 Users] - Re: configure thread passivation

PeterJ do-not-reply at jboss.com
Thu Sep 3 19:34:19 EDT 2009


You can add this entry to your META-INF/jboss.xml config file. The max-bean-age is in seconds (example sets it to 10 minutes):

<container-cache-conf>
  |   <cache-policy>org.jboss.ejb.plugins.LRUStatefulContextCachePolicy</cache-policy>
  |   <cache-policy-conf>
  |     <max-bean-age>600</max-bean-age>
  |     . . .
  |   </cache-policy-conf>
  | </container-cache-conf>

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253446#4253446

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253446



More information about the jboss-user mailing list