aspose file tools*
The moose likes Websphere and the fly likes Increase MDB Session Pool Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Increase MDB Session Pool" Watch "Increase MDB Session Pool" New topic
Author

Increase MDB Session Pool

Praful Thakare
Ranch Hand

Joined: Feb 10, 2001
Posts: 639
Hi,

I have to Increase number of MDB's in Webspher app sever, I tried doing so with
Application servers > Clustered_MyApp_075_01 > Message Listener Service > Listener Ports > MyAppMessageListener

and then check under Tivoli Performance Viewer > Clustered_MyApp_075_01 value of file Enterprise Beans CreateCount

even though i set it to 20, the value of CreateCount never goes beyond 10, where as if i set it below 10 its reflected correctly.

I infer there is some different way of doing this, any help?

-P


All desirable things in life are either illegal, banned, expensive or married to someone else !!!
Praful Thakare
Ranch Hand

Joined: Feb 10, 2001
Posts: 639
oh,no answer yet...is it really that difficult ?
Deepak Pant
Ranch Hand

Joined: Feb 13, 2004
Posts: 443
1. open admin console
2. navigate to Resources->JMS->Activation Specifications
3. Select the Activation Spec for which you want to increase the count.
4. Look for "Maximum concurrent MDB invocations per endpoint" property in the screen.
5. Change its value to whatever you want.
6. Click OK and re-start your application server.

You can also achieve this by writing Jython script if you have lot of activation specs to change.
Praful Thakare
Ranch Hand

Joined: Feb 10, 2001
Posts: 639
Thanks Deepak, but i dont see any list after navigate to Resources->JMS->Activation Specifications, the scope selected is ALL,
though I have bunch of Q's and MDB's UP and running,also another question is, whats up with Listener Ports ? are they not supposed to increase MDB counts?

-P
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi ,

I am still wondering why cant you use inside webspehere-ejb-jar.xml ??




Save India From Corruption - Anna Hazare.
Praful Thakare
Ranch Hand

Joined: Feb 10, 2001
Posts: 639
under which tag,my ejb-jar.xml has following entries, also i would do it in file only if there is no way to do it thru console,its convinent from console than file..

Deepak Pant
Ranch Hand

Joined: Feb 13, 2004
Posts: 443
Under WebSphere 6.1 and 7.0, I have always configured JMS using Activation Specification. I would be very much interested to know if you find any other way.

In WebLogic the entries in deployment descriptors worked for me. But for some reason they never worked under WebSphere.
Praful Thakare
Ranch Hand

Joined: Feb 10, 2001
Posts: 639
okay some more information on my environment

I am using WebSphere MQ messaging provider with websphere V6.1 and as per google, it doesnot support activation specification, so if i try to create new activation specification , the only option is Default messaging provider.

So back to same question with more info, does any one know how to increase MDP pool size using
-WebSphere V6.1
-MDB with Ejb 2.x
-WebSphere MQ messaging provider


-P
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Increase MDB Session Pool