Hello everybody,

I'm doing some load tests with our database and I'm getting a
PersistenceBrokerException (could not obtain connection).
If I set the whenExhaustedAction to 2 it works fine, as it does
when I
increase the maxActive value. But with whenExhaustedAction set to
1 I'm
getting the Exception.
Can I configure a "whenExhausted"-timeout like the LockTimeout, to
increase the time span until such an Exception is thrown?

Regards
Lasse
___

My settings in repository_database are (using DB2):

<connection-pool
    maxActive="21"
    whenExhaustedAction="1"
     validationQuery=""
/>

Error message:
[org.apache.ojb.broker.accesslayer.JdbcAccessImpl] ERROR:
PersistenceBrokerException during the execution of the query: Used
ConnectionManager instance could not obtain a connection: Could
not borrow
connection from pool -
org.apache.ojb.broker.metadata.JdbcConnectionDescriptor:
 [EMAIL PROTECTED]



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

Reply via email to