Hi Rick,

OJB Dev wrote:
Hello,
  I am using OJB 1.0.3 and was wondering why it seems that the pool settings
have two different places to set the same settings. Would like to know which
one takes precedence, if any, and what is the proper/preferred method to
use.


This are different pools.
In OJB.properties you set the PersistenceBroker-Pool (specifies how are the PersistenceBroker instances are handled, you can compare it with the pooling of session beans in a J2EE-appServer).

In the repository file you can specify the Connection pooling.
http://db.apache.org/ojb/docu/guides/connection.html#How+does+OJB+handle+connection+pooling%3F

regards,
Armin


-- ojb.properties --
#---------------------------------------------------------------------------
-------------
# PersistenceBroker pool
#---------------------------------------------------------------------------
-------------
# PersistenceBroker pool configuration
# This pool uses the jakarta-commons-pool api.
# There you can find things described in detail.
#
# maximum number of brokers that can be borrowed from the
# pool at one time. When non-positive, there is no limit.
maxActive=21


-- repository.xml --
<connection-pool
        maxActive="21"
/>
--------------------

As well as the other properties such as
"whenExhaustedAction","maxIdle","maxWait", etc.
Thanks for any information, Rick Gavin
Senior Systems Architect / Software Engineer
VIDYAH Inc.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to