Hi Manu,
Please tell me what is the default pool size of Geronimo for stateless and
statefull session bean.
Earlier reply will be appreciated.
greetings,
Puneet
puneetjain wrote:
>
> Hi Manu,
>
> Thanks a lot for your help. I desperately needed for that.
>
> Greetings,
> Puneet
>
>
>
> manucet wrote:
>>
>> Hi Puneet,
>> Currently in Geronimo you only have a single container each
>> for Stateless and Stateful
>> Session beans and in openejb(EJB provider in geronimo) the pool size
>> is set per container. So you can set only a pool size for all
>> stateless beans and another for all stateful beans. For this you need
>> to modify config.xml. Change the entry for module
>> org.apache.geronimo.configs/openejb/2.2-SNAPSHOT/car as given below.
>> The config.xml can be found in <GERONIMO_HOME>/var/config directory.
>> Please note that the config.xml should be changed when the server is
>> not running.
>>
>>
>> <module name="org.apache.geronimo.configs/openejb/2.2-SNAPSHOT/car">
>> <gbean name="EJBNetworkService">
>> <attribute name="port">${OpenEJBPort +
>> PortOffset}</attribute>
>> <attribute name="host">${ServerHostname}</attribute>
>> </gbean>
>> <gbean name="DefaultStatelessContainer">
>> <attribute name="properties">PoolSize=200</attribute>
>> </gbean>
>> <gbean name="DefaultStatefulContainer">
>> <attribute name="properties">PoolSize=2000</attribute>
>> </gbean>
>> </module>
>>
>> The above will result in all stateless beans having a pool size of 200
>> and all stateful beans having a pool size of 2000
>>
>> Regards
>> Manu
>> On Tue, Mar 18, 2008 at 11:17 PM, puneetjain <[EMAIL PROTECTED]>
>> wrote:
>>>
>>>
>>>
>>> puneetjain wrote:
>>> >
>>> > Hi,
>>> >
>>> > I am new to Geronimo Application Server.
>>> > I have written a sample application which contains one Session Bean
>>> in it.
>>> > I need to configure the session bean pool size in geronimo. Will
>>> anyone
>>> > help me to configure the session bean pool size in geronimo
>>> application
>>> > server. I am deploying my ear file without deployment plan.
>>> >
>>> > Environment:
>>> > ========
>>> > Geronimo version 2.0.2
>>> > EJB version: 3.0
>>> >
>>> > Any reply will be appreciate.
>>> >
>>> > Thanks,
>>> > Puneet
>>> >
>>> >
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/How-to-configure-Session-Bean-Pool-Size-tp16123206s134p16126775.html
>>> Sent from the Apache Geronimo - Users mailing list archive at
>>> Nabble.com.
>>>
>>>
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/How-to-configure-Session-Bean-Pool-Size-tp16123206s134p16130642.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.