This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

pool Size for session beans ?

 
Nikhil Pendharkar
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to define a pool size of stateless session beans instances for an EJB container ?
 
Mahesh Chalil
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this question specific to Websphere?
As far as I am aware of this product, using WSAD you cant set this extension property.
Anyone has different thoughts? Anyother plug-in to do the same???
 
Daryl Le
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, you can set pool size for stateless session bean.
Follow this link for instruction to set it on WAS 4.x
http://publib7b.boulder.ibm.com/wasinfo1/en/info/aes/ae/rejb_ecnt.html
Daryl
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Mahesh Chalil:
Is this question specific to Websphere?
As far as I am aware of this product, using WSAD you cant set this extension property.
Anyone has different thoughts? Anyother plug-in to do the same???

You can set all WebSphere properties in WSAD by enabling the Administration console (use the checkbox on the first page of your Server configuration in WSAD) and invoking the Admin console with http://localhost:9090/admin.
Kyle
 
Daryl Le
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Correction:
Instruction for setting stateless session bean pool size on WAS 4.0 is
http://www-3.ibm.com/software/webservers/appserv/doc/v40/ae/infocenter/was/rn101493.3.RN.html
and WAS 5.0 is
http://publib7b.boulder.ibm.com/wasinfo1/en/info/aes/ae/rejb_ecnt.html
Daryl
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Kyle Brown:

You can set all WebSphere properties in WSAD by enabling the Administration console (use the checkbox on the first page of your Server configuration in WSAD) and invoking the Admin console with http://localhost:9090/admin.
Kyle

Where in the console can I set the pool size?
 
Steve Grant
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear sir,
I want know how the session bean pool size can be set through command line or admin console.
thanks ,
Siddharth K
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wow. I just checked with development on this one. The ONLY way to set the pool size, even in WAS 5.0 is through the command line property com.ibm.websphere.ejbcontainer.poolsize as described here: http://publib.boulder.ibm.com/infocenter/wasinfo/topic/com.ibm.websphere.nd.doc/info/ae/ae/rejb_ecnt.html
So, you can do this through using the -D parameter to set the system property -- you'd have to modify/edit the startServer script to add that parameter in WAS 5.0 standalone -- I believe that you could add it as a JVM parameter in WAS 5.0 ND, though.
Kyle
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic