cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: Cayenne 4.0 M2 and OSGi classloading issue
Date Wed, 22 Apr 2015 11:45:46 GMT
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.porru@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

Mime
View raw message