-
1. Re: stateless sessionbean
jayeshpk Mar 8, 2002 3:23 PM (in response to jayeshpk)Hi,
I place the below tags in my jboss.xml. I expect container to create 10 stateless session beans when the server starts up or when the first request was received to create this session bean. I see that only one bean is instantiated.
Please help.
Thanks,
Jayesh
<container-configuration configuration-class="org.jboss.ejb.deployment.StatelessSessionContainerConfiguration">
<container-name>Defaugt Stateless SessionBean</container-name>
<container-invoker>org.jboss.ejb.plugins.jrmp13.server.JRMPContainerInvoker</container-invoker>
<instance-pool>org.jboss.ejb.plugins.StatelessSessionInstancePool</instance-pool>
<instance-cache></instance-cache>
<persistence-manager></persistence-manager>
<transaction-manager>org.jboss.tm.TxManager</transaction-manager>
<container-invoker-conf>
False
</container-invoker-conf>
<container-pool-conf>
100
10
</container-pool-conf>
</container-configuration> -
2. Re: stateless sessionbean
jayeshpk Mar 8, 2002 7:52 PM (in response to jayeshpk)Problem with MinimumSize has been fixed with the latest cvs source. However when I connected the first client, server created more than MaximumSize number of bean instances.
In my client if I call a method of the bean 3 times, it created Maximumsize+3 instances.
In my client if I call a method of the bean once, it created Maximumsize+1 instances.
I expect the container to create at the most 100 (that is Maximumsize) instances.
Thanks,
Jayesh -
3. Re: stateless sessionbean
jayeshpk Mar 8, 2002 8:07 PM (in response to jayeshpk)Ooops. It created 101 instances when I had Maximumsize 10 and MinimumSize 3