geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manu George" <manu.t.geo...@gmail.com>
Subject Re: MDB pool size
Date Fri, 03 Oct 2008 14:17:48 GMT
One thing to keep in mind while setting the instance limit. I just
tried it out in trunk in config.xml

 <module name="org.apache.geronimo.configs/j2ee-server/2.2-SNAPSHOT/car">
<gbean gbeanInfo="org.apache.geronimo.system.properties.SystemProperties"
name="org.apache.geronimo.configs/j2ee-server/2.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/j2ee-server/2.2-SNAPSHOT/car,j2eeType=GBean,name=CustomPropertiesGBean">
<attribute name="systemProperties">Apache/TestingJMS/1/rar.TestingJMS-javax.jms.MessageListener.InstanceLimit=100</attribute>
</gbean>
    </module>

Here notice the name of the Mdb container. It is actually in the
format $moduleName.$shortName-javax.jms.MessageListener where
$moduleName is the name of the resource adapter module the mdb is
using i.e Apache/TestingJMS/1/rar and the shortName in this case is
the value of the resourceadapter-name property in the RA plan i.e.
TestingJMS. So the property can be set as
containerName.propertyName=propertyValue or
Apache/TestingJMS/1/rar.TestingJMS-javax.jms.MessageListener.InstanceLimit=100

Regards
Manu



On Fri, Oct 3, 2008 at 7:17 PM, Manu George <manu.t.george@gmail.com> wrote:
> Hi Vladimir,
>              If the issue still persists, can you open a JIRA and
> upload a sample that illustrates the issue. It will be really helpful
> for us to debug.
>
> Regards
> Manu
>
>
> On Fri, Oct 3, 2008 at 6:35 PM, Manu George <manu.t.george@gmail.com> wrote:
>> Hi Vladimir,
>>               Try raising the instanceLimit also to 50. By default it
>> is 10. The following JIRA gives u the steps
>> https://issues.apache.org/jira/browse/GERONIMO-3783
>>
>> Regards
>> Manu
>>
>> On Thu, Oct 2, 2008 at 3:54 PM, my_forum <my_forum@ukr.net> wrote:
>>>
>>>
>>> djencks wrote:
>>>>
>>>> You also have to configure the MDB pool size.  I don't remember
>>>> whether this is in the MDB configuration in openejb-jar.xml or in the
>>>> openejb MDB container configuration itself.  I think this question has
>>>> been discussed before on the user list.... if not perhaps someone with
>>>> more specific knowledge will provide more info.
>>>>
>>>> david jencks
>>>>
>>>> On Oct 1, 2008, at 5:31 AM, my_forum wrote:
>>>>
>>>>>
>>>>> Guys,
>>>>> Could anyone tell me how I can to increase MDB pool size (the
>>>>> default value
>>>>> is 10 as far as I understand). I tryied to set Pool Min Size = 20
>>>>> and Pool
>>>>> Max Size = 50 while setting up the connection factory but looks like
>>>>> this
>>>>> does not have any effect i.e. the the pool is still equal to 10 (ten
>>>>> messages are processed simultaneously)
>>>>> --
>>>>> View this message in context:
>>>>> http://www.nabble.com/MDB-pool-size-tp19759437s134p19759437.html
>>>>> Sent from the Apache Geronimo - Users mailing list archive at
>>>>> Nabble.com.
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> David,
>>> I send 100 test messages to my queue as usual.
>>> I have tried the following:
>>> 1. Changed Pool Min Size=50 and Pool Max Size=50 in my
>>> QueueConnectionFactoryJMS resource
>>> 2. Added activation properties to my MDB
>>>
>>>    @ActivationConfigProperty(propertyName="maxSessions",
>>> propertyValue="50"),
>>>    @ActivationConfigProperty(propertyName="maxMessagesPerSessions",
>>> propertyValue="50")
>>>
>>> But this also does not have any effect (10 messages are processing
>>> simultaneously instead of 50 as I expect).
>>>
>>> However I can decrease the bandwidth when I set
>>>    @ActivationConfigProperty(propertyName="maxSessions",
>>> propertyValue="5"),
>>>    @ActivationConfigProperty(propertyName="maxMessagesPerSessions",
>>> propertyValue="5")
>>> 5 messages are processing simultaneously instead of 10 now and that's OK
>>>
>>> I thought to use minSessions, minMessagesPerSessions but no such activation
>>> parameters exist.
>>> So I can decerase the bandwidth but can not increase it. Probably someone
>>> undocumented limitation exists...
>>>
>>> Could you please refer me to the 'person with more specific knowledge'?
>>> Thanks,
>>> Vladimir.
>>>
>>>
>>>
>>> --
>>> View this message in context: http://www.nabble.com/MDB-pool-size-tp19759437s134p19776736.html
>>> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>>>
>>>
>>
>

Mime
View raw message