Le 23/12/14 19:29, Stefan Seelmann a écrit : > Hi guys, > > in ApacheDS we currently use ehcache-core 2.4.4. > > I'd like to replace this original version with an OSGi-ified bundle, see > https://issues.apache.org/jira/browse/DIRSERVER-2039. > > In 2.4.x branch the latest is 2.4.8 from Sep 2012, so quite old. > ServiceMix provides an OSGi-ified version 2.4.3 which works in ApacheDS. > > In 2.6.x branch the latest is 2.6.9 from April 2014, so quite fresh. > ServiceMix provides an OSGi-ified version 2.6.9, but that breaks the > ApacheDS build. > > After 2.6.x (2.7.x, 2.8.x, 2.9.x) there exists no small ehcache-core but > only an 10MB "Distributed Ehcache, which includes core Ehcache and > Terracotta libraries", so that is no option IMHO. > > My proposal, to solve my issue: > * Replace ehcache-core 2.4.4 with 2.4.3 from ServiceMix. ApacheDS build > works and Studio is happy with it :) > * Investigate why 2.6.9 doesn't work and try to fix it and upgrade to > that version.
AFAIR, 2.6.9 has a changed API, which requires a bit of refactoring. This should be possible to use it, and I wouldfavor such a move.
