Discussion:
Configuration required for stateless session bean
(too old to reply)
Nitin Deore
2004-12-20 11:15:16 UTC
Permalink
Hi,
I am exposing my web services through stateless session beans.
These services may have users varying from 5-600.
Can anyone guide me getting configuration and the memory required for running these number of stateless session beans on the weblogic server 8.1 sp2?

Thanks in advance.

Regards,
Nitin
Jorge Irey
2004-12-20 15:09:46 UTC
Permalink
Hi
You sould setup the weblogic-ejb.xml as follows:

<stateless-session-descriptor>
<pool>
<max-beans-in-free-pool>600</max-beans-in-free-pool>
<initial-beans-in-free-pool>5</initial-beans-in-free-pool>
</pool>

The memory space relies on EJB's logic
Try it.

Jin
Nitin Deore
2004-12-21 04:33:14 UTC
Permalink
Thanks Jin.
This sets the number of stateless session bean instances at any point of time.
But my question is how would I know the memory/configuration required for perticular number of stateless session bean instances?

Nitin
Jorge Irey
2004-12-21 15:25:33 UTC
Permalink
Hi
This is a great question but it's related to performance & tunning topics.

There is no silver bullet for answer this.

For default, you could use as minimun of 512 MB of Java heap and try it to tune the memory ...

In my experience, I use 1 GB with JRockit and things goes fine.

Jin

Loading...