[jboss-user] [EJB 3.0] - How to size EJB3 continer for EJB3 stateless session beans (

andyredhead do-not-reply at jboss.com
Fri Jan 4 10:04:42 EST 2008


I'd like to know if anyone has any guidelines or techniques for sizing the instance pool for EJB3 stateless session beans in JBoss 4.2.1?

We are going live with an EJB3 based application and I'd like to know if I've got the EJB3 container configured sensibly...

In  ejb3-interceptors-aop.xml I've got the references to:

  |       <annotation expr="!class(@org.jboss.annotation.ejb.PoolClass)">
  |          @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class, maxSize=300, timeout=10000)
  |       </annotation>

Which means I've multiplied the default by 100!

How can I tell if this is too big or too small?

Are there any other parameters I should be changing to run the EJB3 container under heavy load on poweful servers?

We will be running on jdk1.5_13, solaris 10, sun T2k servers (if that makes any difference).



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117081#4117081

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4117081

More information about the jboss-user mailing list