Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How do i specify maximum pool size for MDB in WAS

Posted on 2009-07-14
3
Medium Priority
?
1,053 Views
Last Modified: 2013-12-11
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
Comment
Question by:manojatinfy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 41

Expert Comment

by:HonorGod
ID: 24871718
Q: Is there any way how can I set the max-pool size for MDB in ejb-jar.xml?
A: No - sorry
0
 

Accepted Solution

by:
manojatinfy earned 0 total points
ID: 25053340
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
 
LVL 41

Expert Comment

by:HonorGod
ID: 25096938
Please share the parameters with us
0

Featured Post

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

-Xmx and -Xms are the two JVM options often used to tune JVM heap size.   Here are some common mistakes made when using them:   Assume BigApp is a java class file for the below examples. 1.         Missing m, M, g or G at the end …
Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question