Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1057
  • Last Modified:

How do i specify maximum pool size for MDB in WAS

I want to create multiple instance of MDB in WAS 6.1. We are trying to use <bean-pool> tag to specify the max-pool-size in ejb-jar.xml file. But we are getting an error mentioned below when I am trying to specify the <bean-pool> tag in ejb-jar.xml file.
Is there any way how can I set the max-pool size for MDB in ejb-jar.xml. Do I need to specify the same in any other IBM deployment descriptor file.
Error:
 
cvc-complex-type.2.4.a: Invalid content was found starting with element 'bean-pool'. One of 
 '{"http://java.sun.com/xml/ns/j2ee":messaging-type, "http://java.sun.com/xml/ns/
 j2ee":transaction-type}' is expected.

Open in new window

ejb-jar.txt
0
manojatinfy
Asked:
manojatinfy
  • 2
1 Solution
 
HonorGodCommented:
Q: Is there any way how can I set the max-pool size for MDB in ejb-jar.xml?
A: No - sorry
0
 
manojatinfyAuthor Commented:
WAS provides for a set of parameters for resources admin console to control the threads to be used and the batch size of messages poassed on to MDBs. We configued these paameters to achive good scalability.
0
 
HonorGodCommented:
Please share the parameters with us
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now