I'm following a tutorial that tries to demonstrate stateful bean activation and passivation. I want to configure JBoss with a container for my bean that limits the number of beans available in the cache. I've set up a new container in my jboss.xml file to try and do this. However, when I deploy my bean, I get a DeploymentException, which says that the system only expects on <container-configurations> tag. Does anyone have any ideas why it complains? As far as I'm away, I've followed the instructions in the documentation. My jboss.xml file is below. Thanks for any help. Andrew. <?xml version="1.0"?> <jboss> <secure>false</secure> <container-configurations /> <resource-managers /> <enterprise-beans> <session> <ejb-name>Count</ejb-name> <jndi-name>count/CountHome</jndi-name> <configuration-name>LRU Configuration</configuration-name> </session> </enterprise-beans> <container-configurations> <container-configuration> <container-name>LRU Configuration</container-name> <instance-cache>org.jboss.ejb.plugins.EntitySessionInstanceCache</instance-cache> <container-cache-conf> <cache-policy>org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy</cache-policy> <cache-policy-conf> <min-capacity>2</min-capacity> <max-capacity>2</max-capacity> <overager-period>300</overager-period> <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> </container-configuration> </container-configurations> </jboss> ____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user