Re: java.util.NoSuchElementException after stesstest

2006-08-03 Thread Dennis Bekkering
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, Armi

Re: java.util.NoSuchElementException after stesstest

2006-08-03 Thread Armin Waibel
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

Re: java.util.NoSuchElementException after stesstest

2006-08-03 Thread Dennis Bekkering
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 OJB.poperti

Re: java.util.NoSuchElementException after stesstest

2006-08-03 Thread Armin Waibel
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 http://db.apache.org/ojb/docu/guides/repository.html#connectio

Re: java.util.NoSuchElementException after stesstest

2006-08-03 Thread Dennis Bekkering
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 higher

Re: java.util.NoSuchElementException after stesstest

2006-08-03 Thread Armin Waibel
277) at com.myvision.business.GenericDelegate.getSingleTon( GenericDelegate.java:284) at com.myvision.business.MyVisionSettingsDelegate.getMyVisionSettings( MyVisionSettingsDelegate.java:35) at com.myvision.util.ExceptionUTILS$1.run(ExceptionUTILS.java:30) Caused by: java.util.NoSuchElementExcep

java.util.NoSuchElementException after stesstest

2006-08-03 Thread Dennis Bekkering
com.myvision.business.GenericDelegate.getSingleTon( GenericDelegate.java:284) at com.myvision.business.MyVisionSettingsDelegate.getMyVisionSettings( MyVisionSettingsDelegate.java:35) at com.myvision.util.ExceptionUTILS$1.run(ExceptionUTILS.java:30) Caused by: java.util.NoSuchElementException at

java.util.NoSuchElementException

2004-05-12 Thread Thorbjørn Konstantinovitz
Hi, Thanks OJB, it is a great tool. We are using OJB version .99 connecting to MS SQL Server in a web based project. From time to time We recieve the following exception: java.util.NoSuchElementException at org.apache.ojb.broker.accesslayer.RsIterator.next(Unknown Source) at