-
1. Re: EJB pool size configuration in JBOSS 7.1.0 (Thunder)
purplehaze007 Jun 25, 2014 6:45 AM (in response to purplehaze007)BUMP... Anyone ?
-
2. Re: EJB pool size configuration in JBOSS 7.1.0 (Thunder)
wdfink Jun 25, 2014 8:24 AM (in response to purplehaze007)Hello Rahul,
welcome to the forums.
As this is a community forum where all people are volunteers you can not expect an answer within such short time.
To answer your question, the pool size is meant per bean type, so you will have a maximum of 500 instances for each EJB.
The pool is filled legacy so if there is a bean with less parallel use there are less instances build and pooled.
-
3. Re: EJB pool size configuration in JBOSS 7.1.0 (Thunder)
purplehaze007 Jun 26, 2014 4:21 AM (in response to wdfink)Hi Wolf-Dieter Fink,
Thank you for the welcome and a gazillion tons for your response! I had been breaking my head over this since last 2 weeks - hence the urgency.
Will certainly be a little more patient next time. Just a small follow-up query - for understanding purpose; is there any benefit/loss in performance if many pools are created with same max-limit ? -
4. Re: EJB pool size configuration in JBOSS 7.1.0 (Thunder)
wdfink Jun 26, 2014 2:37 PM (in response to purplehaze007)I'm not aware of as you need to have the same number of pooled instances in both cases.
-
5. Re: EJB pool size configuration in JBOSS 7.1.0 (Thunder)
purplehaze007 Jul 3, 2014 8:53 AM (in response to wdfink)Ok...thank you.
For testing/verification; I tried the initial setting mentioned in my 1st post; set the max size to 15 and deployed my application. For verifying/monitoring i used the jvisualVM Mbeans and found something weirdly interesting...For bean in the application; it definitely says that poolMaxSize is 15 and poolCurrentSize is 3 or 4; (after few operations on application).
However - attribute poolAvailableCount is 106. (it is described as 'no. of avaiable(i.e not-in-use) instances in the pool'. This count keeps increasing significantly after any operation i carry out (which uses the bean). This is true for all beans - however the value is varying. How is this possible ? Is the attribute supposed to mean something else ? Have attached an image below.