What is the best way to throttle MDB consumers?
There is @Pool (eg: JBoss 5.1.x):
| @Pool(value = PoolDefaults.POOL_IMPLEMENTATION_STRICTMAX, maxSize = n)
|
And, "maxSession":
| @ActivationConfigProperty(propertyName = "maxSession", propertyValue = "n")
|
How are these two settings related? Which setting is more portable (if any)?
(Incidentally, in JBoss 5.1.x, neither of these settings appear to limit the number of concurrent consumers for an MDB).
Also, is there any way to throttle the MDB consumers automatically based on CPU or IO activity and available resources?
What are the best practices here?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238051#4238051
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238051
May or may not work for others, but I was just able to work around this issue by turning off EAR classloading isolation (Jboss 5.1.0 JDK6). After setting the following property to false, the quartz resource adapter can now load my ejb and that ejb's dependencies are properly injected. There are obviously other classloading implications, but if it's an option...
in jboss/server/all/deployers/ear-deployer-jboss.beans.xml:
<bean name="EARClassLoaderDeployer" class="org.jboss.deployment.EarClassLoaderDeployer">
| <property name="isolated">false</property>
| </bean>
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238049#4238049
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238049
I am trying to deploy an ear with an MDB into the deploy-hasingleton directory. Seems to be deploying my bean before jms is deployed. Shouldn't jboss deploy all xml's first?
Has anyone else run into this problem before? How do I get a singleton MDB to deploy? I am read the jboss docs a few times and seem like I should be able to shove my ear in the deploy-hasingleton directory and it will work. I cannot find anything about config changes that I need to make so that things are deployed in the correct order.
Any ideas? Thanks in advance
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238029#4238029
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238029
Hi,
I'm getting very frustrated looking for the minimum hardware requirements for JBossAS 5.
The installation guide says:
For the latest information on supported Operating System / JVM combinations and supported Database platforms, please refer to http://www.jboss.com. - but I can't find these requirements anywhere.
The best that I can find is in the installation guide:
2.1. Pre-Requisites
You must have adequate disk space to install JDK and JBoss Application Server while also allowing enough space for your applications. Before installing JBoss Application Server you must have a working installation of Java.
Can someone help me find these requirements? I have to justify what kind of server to buy, and without documentation it will be difficult.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238027#4238027
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238027