Hi. I'm having a problem with the Commons-Pool. Using Struts NightlyBuild from 2002-11-11, I have a DataSource configured in my struts-config:
<data-source type="org.apache.commons.dbcp.BasicDataSource" key="org.apache.struts.action.DATA_SOURCE"> <set-property property="defaultAutoCommit" value="false"/> <set-property property="defaultReadOnly " value="false"/> <set-property property="driverClassName" value="org.gjt.mm.mysql.Driver"/> <set-property property="maxActive" value="20"/> <set-property property="maxIdle " value="10"/> <set-property property="password" value=""/> <set-property property="url" value="jdbc:mysql://localhost:3306/videodb?autoReconnect=true"/> <set-property property="username" value="xxx"/> </data-source> I am able to access 3 times, update a result set. After that I get the following exception: java.lang.NullPointerException at com.mysql.jdbc.Connection.execSQL(Unknown Source) at com.mysql.jdbc.Connection.execSQL(Unknown Source) at com.mysql.jdbc.Connection.setAutoCommit(Unknown Source) at org.apache.commons.dbcp.DelegatingConnection.setAutoCommit(DelegatingConnect ion.java:237) at org.apache.commons.dbcp.PoolableConnectionFactory.activateObject(PoolableCon nectionFactory.java:273) at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(Unknown Source) at org.apache.commons.dbcp.AbandonedObjectPool.borrowObject(AbandonedObjectPool .java:117) ... On the commandline i have the following output: DBCP borrowObject failed Does anybody know, what is happening? Any help is appreciated. Axel -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>