-
1. Re: Thread Pool questions
gaohoward Jun 25, 2009 11:36 AM (in response to andy.miller)Inside the AS container, a MDB's connection to JBM is handled by JCA layer, which has its own pooling of connections.
JBM_clientMaxPool is not about connection pool, it's about thread pool size at the remoting client side.
I don't see what do you refer to the TCP connection pool, can you clarify it? thanks -
2. Re: Thread Pool questions
andy.miller Jun 25, 2009 11:45 AM (in response to andy.miller)"gaohoward" wrote:
Inside the AS container, a MDB's connection to JBM is handled by JCA layer, which has its own pooling of connections.
JBM_clientMaxPool is not about connection pool, it's about thread pool size at the remoting client side.
I don't see what do you refer to the TCP connection pool, can you clarify it? thanks
Well, the JBM_clientMaxPool is a thread pool for TCP connections, so that is what I was referring to, and you confirmed it.
I was under the impression that there was a thread pool for JBM underneath the JCA pool, and that the clientMaxPool setting in the documentation is how you configure that. -
3. Re: Thread Pool questions
andy.miller Jun 26, 2009 12:20 PM (in response to andy.miller)"andy.miller@jboss.com" wrote:
"gaohoward" wrote:
Inside the AS container, a MDB's connection to JBM is handled by JCA layer, which has its own pooling of connections.
JBM_clientMaxPool is not about connection pool, it's about thread pool size at the remoting client side.
I don't see what do you refer to the TCP connection pool, can you clarify it? thanks
Well, the JBM_clientMaxPool is a thread pool for TCP connections, so that is what I was referring to, and you confirmed it.
I was under the impression that there was a thread pool for JBM underneath the JCA pool, and that the clientMaxPool setting in the documentation is how you configure that.
I meant maxPoolSize in the documentation. -
4. Re: Thread Pool questions
gaohoward Jun 26, 2009 12:46 PM (in response to andy.miller)The maxPoolSize is the max number of server threads that process requests. It's a remoting configuration parameter.
-
5. Re: Thread Pool questions
andy.miller Jun 27, 2009 9:31 PM (in response to andy.miller)"gaohoward" wrote:
The maxPoolSize is the max number of server threads that process requests. It's a remoting configuration parameter.
It appears to be something set in jms-ds.xml and nothing to do with remoting correct?
Or in the case where the client is remote, you set it in the remoting configuration as well? -
6. Re: Thread Pool questions
gaohoward Jun 29, 2009 2:33 AM (in response to andy.miller)Hi,
I don't know if jms-ds.xml has such a parameter, you can ask the JCA forum about it. JBoss remoting does has such a parameter, you can read about it in the jboss remoting's doc. The remoting configuration file is set at the JBM server side only. -
7. Re: Thread Pool questions
andy.miller Jun 29, 2009 2:36 PM (in response to andy.miller)"gaohoward" wrote:
Hi,
I don't know if jms-ds.xml has such a parameter, you can ask the JCA forum about it. JBoss remoting does has such a parameter, you can read about it in the jboss remoting's doc. The remoting configuration file is set at the JBM server side only.
I know there is a JCA thread pool, as I already talked to them, and that's not what I'm after.
I find maxPoolSize in jms-ds.xml in the current releases of AS, so I also know about that.
So, what I'm trying to make sure I understand is what parameter does what? The remoting configuration seems an unlikely place to be setting a thread pool for an in JVM invocation.
For example, in EJB 3 land, there is a thread pool for remote clients that make EJB calls, but that is bypassed when the call comes from within the same JVM.
I would expect the same behavior from messaging, where the remoting configuration would be only for remote clients, and there would be different behavior for the in JVM calls. -
8. Re: Thread Pool questions
gaohoward Jun 29, 2009 11:00 PM (in response to andy.miller)I know in JBoss Remoting there is difference in handling VM local and remote calls. But I don't know about the details. You can ask the remoting forum or the remoting doc. In JBM doc, you can also find some of the key remoting parameters too.
Howard -
9. Re: Thread Pool questions
andy.miller Jul 1, 2009 9:02 AM (in response to andy.miller)"gaohoward" wrote:
I know in JBoss Remoting there is difference in handling VM local and remote calls. But I don't know about the details. You can ask the remoting forum or the remoting doc. In JBM doc, you can also find some of the key remoting parameters too.
Howard
Since my case is in JVM I really don't see how remoting has anything to do with it, and right in the jms-ds.xml file is the maxPoolSize parameter.
Right now, my assumption is the maxPoolSize paramter in jms-ds.xml is controlling the server thread pool for in JVM calls, but it would be nice to know that without digging through the source. -
10. Re: Thread Pool questions
gaohoward Jul 1, 2009 10:03 AM (in response to andy.miller)Hi,
About the maxPoolSize, i think it's the max size of JCA connection pool, I found this wiki that may help to understand this param.
http://www.jboss.org/community/wiki/ConfigJCACommon