Hi did you check in the log your container 'foo' is used for TestBean? can you share a project showing this behavior? Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau
2014/1/6 Stuart Easterling <[email protected]>: > Hi, I am new to Tomee / OpenEJB. > > I am trying to create a pool of 100 stateless local session beans. I have > the following in tomee.xml: > > <Container id="foo" type="STATELESS"> > minSize = 100 > maxSize = 100 > </Container> > > In ejb-jar.xml: > > <enterprise-beans> > <session> > <ejb-name>TestBean</ejb-name> > <local-bean/> > <ejb-class>com.foo.test.TestFooBean</ejb-class> > <session-type>Stateless</session-type> > <transaction-type>Bean</transaction-type> > </session> > </enterprise-beans> > > It appears that all 100 beans are properly instantiated. > > However, when I attempt to access them, only three bean instances are being > provided by the container, even when the invoking code must wait to gain > access to an instance. > > I have looked through and searched the documentation but haven't been able > to resolve the problem. Any insights would be greatly appreciated ! > > Best, > Stuart
