dev@glassfish.java.net

Re: [v3] Is anyone using thread-pools?

From: Kedar Mhaswade <Kedar.Mhaswade_at_Sun.COM>
Date: Wed, 13 Aug 2008 17:46:00 -0700

Jan.Luehe_at_Sun.COM wrote:
> Kedar Mhaswade wrote:
>
>>
>>
>> Ken Cavanaugh wrote:
>>
>>> Kedar Mhaswade wrote:
>>>
>>>> I see the following snippet in domain.xml:
>>>>
>>>> <thread-pools> <thread-pool
>>>> thread-pool-id="thread-pool-1" min-thread-pool-size="0"
>>>> max-thread-pool-size="200" i
>>>> dle-thread-timeout-in-seconds="120" num-work-queues="1"/>
>>>> </thread-pools>
>>>>
>>>> Is anything in v3 runtime using this snippet?
>>>>
>>>> I am planning on removing this from Prelude's web-bundle default
>>>> domain.xml.
>>>
>
>
> Just to confirm: This will be restored post prelude, right?
> (If so, why remove it now and restore it later?)
>
> The new Grizzly <network-config> is going to deprecate the use of
> <connection-pool> in favor of <thread-pool>, so we'll definitely require
> this element post prelude.

OK. Thanks for letting me know. I am almost certain that even if we use
it then, we will have to change the way it looks, isn't it?

Anyway, I will not remove it from domain.xml.

 From the common use standpoint, if multiple modules are going to use it,
this probably is going to be a shared config, right?

What are the reasons to have a shared thread-pool for the modular server?

-Kedar
>
>
> Jan
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>