I only see a way to set the maximum pool size.
I think you modify var/config/config.xml. Find the element for openejb which probably looks something like this:

<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>
    </module>

and add another gbean element inside the module element like this:

    <gbean name="DefaultStatelessContainer">
        <attribute name="properties">PoolSize=50</attribute>
    </gbean>

I don't see a way to set the minimum pool size. Is it actually useful? To be sure I recommend asking on the openejb mailing list.

Hope this helps
david jencks


On Mar 27, 2008, at 11:52 PM, puneetjain wrote:


Hi David,

Sorry for your inconvenience, but I got a mail from nabble that my post is
still pending, thatswhy I resent the message.

And sorry about the specified server. Actually we are in the process of evaluating the Application Server for our project. Mistakenly I wrote JBoss
in place of Geronimo.

Please tell me how can I configure the Stateless Session Bean Instance Pool
Size of Geronimo with the following configuration:
Minimum Size: 10
Maximum Size: 50
The instance pool should be prepopulated with the minimum number of
instance at the startup of the server.

Any reply will be appreciated.

Thanks,
Puneet



djencks wrote:

Please ask your question only once.  if anyone is able to answer it
they will as time allows.  Generally reposting annoys everyone and
makes it much less likely that you will receive a response.  For
instance, I am not now trying to answer your question.

Also, it would be desirable if you could decide which application
server you are interested in.  You should ask the jboss community for
help on jboss.

thanks
david jencks

On Mar 27, 2008, at 8:29 AM, puneetjain wrote:


Hi,

I am new with Geronimo and EJB3. I have written a Stateless Session
Bean and
want to deploy on JBoss Application Server.

I want to configure the Instance Pool Size of JBoss with the following
configuration:
Minimum Size: 10
Maximum Size: 50
The instance pool should be populated with the minimum number of
instance at
the startup of the server.
How can I configure the initiation of Instance pooling at startup
of server?

Environment:
========
Geronimo with tomcat distribution 2.0.2
EJB 3
OS: Redhat Enterprise Linux 4

Any reply will be appreciated as this is a bottleneck for me.

Thanks in advance...

Greetings,
Puneet

--
View this message in context: http://www.nabble.com/Query-regarding-
session-bean-Instance-Pool-initiation-tp16325243s134p16325243.html
Sent from the Apache Geronimo - Users mailing list archive at
Nabble.com.





--
View this message in context: http://www.nabble.com/Query-regarding- session-bean-Instance-Pool-initiation-tp16325243s134p16346753.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Reply via email to