I found the solution: The configuration of BasicDataSourceFactory in for the JNDI-DataSource was wrong. I had the value minIdle =0. In this case no connection will be pooled...
> -----Original Message----- > From: Ribi Roland [mailto:[EMAIL PROTECTED] > Sent: Friday, August 05, 2005 2:12 PM > To: 'ojb-user@db.apache.org' > Subject: Which ConnectionFactory? > > > Hi > > I user OJB in Tomcat 5.0.28, the DB-Connections are declared as > JNDI-Data-Source in Tomcat (with BasicDataSourceFactory from > commons-dbcp). > > Which ConnectionFactory should I use? > > When I use DBCP-ConnectionFactory it establishes for every PB a new > connection, the same with PooledImpl. > > Any hints? > > Roland Ribi > > > --------------------------------------------------------------------- > 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]