Change Notes item #497673, was opened at 2001-12-29 11:50
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=381174&aid=497673&group_id=22866

Category: JBossServer
Group: v2.4.4
Status: Open
Priority: 5
Submitted By: Scott M Stark (starksm)
Assigned to: Scott M Stark (starksm)
Summary: Support for strict EJB pooling added

Initial Comment:
Support for a stricter EJB pooling policy has been
added. Two new container-pool-conf child elements
have been added:

strictMaximumSize: used by AbstractInstancePool
subclasses to enforce strict adherence to the
InstancePool MaximumSize bound. It is a boolean flag
flag that when true, will only allow MaximumSize ejb
instances to be active rather than allowing non-pool
instances to be created as needed. When there are
MaximumSize active instances, any subsequent requests
will be blocked until an instance is freed back to the
pool. The default value for this element is false.

strictTimeout: used by AbstractInstancePool subclasses
to set the time in milliseconds to wait for an
instance to be returned to the pool when there are
MaximumSize active instances. A value less than or
equal to 0 will mean not to wait at all. When a
request times out waiting for an instance a
java.rmi.ServerException is generated and the call
aborted. This is parsed as an Integer so that max wait
time is 2147483647 or just under 25 days, and this is
the default value.

These values only affect stateless, message-driven
and stateful beans currently. Entity beans are not
really pooled currently. Since stateful beans do not
really have a pooled state, setting strictMaximumSize
to true limits the number of instances that may be
created rather than how many concurrent requests
may be active.


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=381174&aid=497673&group_id=22866

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to