-
1. Re: Help! how to specify pool size
jonlee Oct 31, 2003 6:29 AM (in response to mtechsrinivas)Check the run-time standardjboss.xml definitions - e.g. JBOSS_HOME/server/defaultconf/standardjboss.xml. This is a global modification.
<container-pool-conf>
20
100
</container-pool-conf>
You will need to apply the changes to the relevant container definition - probably Standard Stateful SessionBean but it depends on your JBoss run-time, such as using a clustered solution.
You can make the changes on a individual deployment level by copying the container definition into your jboss.xml packaged with your EJB deployment. Look at the jboss.xml DTD for 3.2 to determine how the descriptor needs to be created/structured.
You can also append a boolean strictMaximumSize tag.
<container-pool-conf>
20
100
true
</container-pool-conf>
There is quite a bit to learn about this and tuning/throttling using your deployment descriptor is often best left until after you have realised your specification/design. MHO. It also prevents more unnecessary complications while you are still learning the basics of JBoss. -
2. Re: Help! how to specify pool size
jonlee Oct 31, 2003 8:25 PM (in response to mtechsrinivas)Note that your DTD definitions can be foudn in JBOSS_HOME/docs/dtd.
-
3. Re: Help! how to specify pool size
mtechsrinivas Nov 1, 2003 2:48 AM (in response to mtechsrinivas)Thank you jonlee