Re: MDB pool size

2008-10-03 Thread Manu George
One thing to keep in mind while setting the instance limit. I just
tried it out in trunk in config.xml

 

Apache/TestingJMS/1/rar.TestingJMS-javax.jms.MessageListener.InstanceLimit=100



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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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.
>>>
>>>
>>
>


Re: MDB pool size

2008-10-03 Thread Manu George
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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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.
>>
>>
>


Re: MDB pool size

2008-10-03 Thread Manu George
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 <[EMAIL PROTECTED]> 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.
>
>


Re: MDB pool size

2008-10-02 Thread my_forum


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.



Re: MDB pool size

2008-10-01 Thread David Jencks
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.






MDB pool size

2008-10-01 Thread my_forum

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.