My tests were done with Cayenne's own built-in connection pool, so no idea on DBCP behavior.
How do you configure/start DBCP connection pool in your environment? Andrus > On Apr 22, 2015, at 12:51 PM, mporru <matteo.po...@abodata.com> wrote: > > Hi Andrus, > thanks you were right, there were classloading issues. > > With all the following bundles I could get rid of the message: jaxb-api, > jcl.over.slf4j, org.apache.commons.collections, org.apache.commons.lang, > org.apache.servicemix.bundles.velocity, slf4j.api, slf4j.simple > > But unfortunately now I got the following: > *java.lang.NoClassDefFoundError: > org/apache/commons/dbcp/BasicDataSourceFactory* > > which brings me to dbcp. Now my issue is the execution environment: I have > to use java 8 and apparently dbcp DO support java 8 with the following > bundle org.apache.commons.dbcp*2* (version 2). > > Any idea if we can use cayenne with dbcp2? > And one step behind... Does cayenne 4.0.0.M2 support java8? > > Thanks and Best Regards > Matteo