Hello,
After and while running a stresstest with a tool i get the following error.
My code stops at PersistenceBrokerFactory.defaultPersistenceBroker(). I know
it is imposible to see what is happening from the trace and that it happens
in apache - commons code but maybe somebody has seen this
Hi Dennis,
Dennis Bekkering wrote:
Hello,
After and while running a stresstest with a tool i get the following error.
My code stops at PersistenceBrokerFactory.defaultPersistenceBroker(). I
know
it is imposible to see what is happening from the trace and that it happens
in apache - commons
Hello Armin,
If you run stress tests on OJB please make sure that the maximal active
PB instances setting and the maximal active connections setting in
ConnectionFactory (see repository file connection-pool
http://db.apache.org/ojb/docu/guides/repository.html#connection-pool-N10251
) is
Dennis Bekkering wrote:
Hello Armin,
If you run stress tests on OJB please make sure that the maximal active
PB instances setting and the maximal active connections setting in
ConnectionFactory (see repository file connection-pool
Armin,
You are right. I run a test with latest from SVN (OJB_1_0_RELEASE
branch) with whenExhaustedAction=2 and it works as expected.
Wrong OJB.properties file in your classpath?
regards,
Armin
I actually dont use OJB.properties but repository-database.xml for pool
settings. The
Dennis Bekkering wrote:
Armin,
You are right. I run a test with latest from SVN (OJB_1_0_RELEASE
branch) with whenExhaustedAction=2 and it works as expected.
Wrong OJB.properties file in your classpath?
regards,
Armin
I actually dont use OJB.properties but repository-database.xml for pool
Within the connection-pool element you set the size of the
connection-pool, in the OJB.properties file you set the size of the
PB-pool (this is not the same). Thus you need both settings. It's
obvious that the PB-pool size should always greater or equals to the
connection-pool size.
regards,