From: <Mar...@cs...> - 2003-04-16 17:25:25
|
Thanks a million Annegret. What's happening is that I've a few stateless session beans that sometimes pause. When this happens and they then unpause a transaction rollback error is thrown.. I'll have to scope the problem a little more thoroughly.. Thanks, Mark. -----Original Message----- From: jbo...@li... [mailto:jbo...@li...] On Behalf Of Sternagel Annegret (MPI/ADB) Sent: 16 April 2003 07:38 To: 'jbo...@li...' Subject: RE: [JBoss-user] Session bean timeouts in 2.4.1 The standard configuration is located in jboss\conf\default\standardjboss.xml. You can change the values there or you can override the values by putting them in jboss.xml of your jar-file <container-configuration> <container-name>Standard Stateful SessionBean</container-name> ... <container-cache-conf> <cache-policy>org.jboss.ejb.plugins.LRUStatefulContextCachePolicy</cache -policy> <cache-policy-conf> <min-capacity>50</min-capacity> <max-capacity>1000</max-capacity> <remover-period>1800</remover-period> <!-- timeout for remove --> <max-bean-life>1800</max-bean-life> <overager-period>300</overager-period> <!-- timeout for passivation --> <max-bean-age>600</max-bean-age> <resizer-period>400</resizer-period> <max-cache-miss-period>60</max-cache-miss-period> <min-cache-miss-period>1</min-cache-miss-period> <cache-load-factor>0.75</cache-load-factor> </cache-policy-conf> </container-cache-conf> ... Annegret -----Original Message----- From: Mar...@cs... [mailto:Mar...@cs...] Sent: Dienstag, 15. April 2003 17:26 To: jbo...@li... Subject: [JBoss-user] Session bean timeouts in 2.4.1 Hi folks, How do I set the timeout for session beans in 2.4.1? Thanks, Mark. |