• Bug
  • Status: Closed
  • Resolution: Fixed
  • drb
  • Reporter: sourceforgetracker
  • September 21, 2009
  • 0
  • Watchers: 0
  • September 22, 2009
  • September 22, 2009

Description

The JCache (JSR107) api requires a CacheFactory to be discoverable via the standard Jar extension mechanism. This means ehcache.jar must have a /META-INF/services/net.sf.jsr107cache.CacheFactory file, which is the case is the SourceForge binary distribution. Unfortunately, the jar in the maven repository does not (it is bundled as /jcache/META-INF/…), which means that one can not use the JCache API with a maven-provided jar. Sourceforge Ticket ID: 2780720 - Opened By: cedrik_lime - 24 Apr 2009 19:32 UTC

Comments

Sourceforge Tracker 2009-09-21

Not sure which version. I have checked the latest.

-bash3.2 [email protected] ~/work/ehcache/jcache/target % jar -tvf ehcache-jcache-1.1.jar 0 Wed Jan 28 18:36:00 EST 2009 META-INF/ 124 Wed Jan 28 18:35:58 EST 2009 META-INF/MANIFEST.MF 0 Wed Jan 28 18:35:56 EST 2009 META-INF/services/ 0 Wed Jan 28 18:35:58 EST 2009 net/ 0 Wed Jan 28 18:35:58 EST 2009 net/sf/ 0 Wed Jan 28 18:35:58 EST 2009 net/sf/ehcache/ 0 Wed Jan 28 18:35:58 EST 2009 net/sf/ehcache/jcache/ 0 Wed Jan 28 18:35:58 EST 2009 net/sf/ehcache/jcache/loader/ 35 Wed Jan 28 18:35:56 EST 2009 META-INF/services/javax.cache.CacheFactory 35 Wed Jan 28 18:35:56 EST 2009 META-INF/services/net.sf.jsr107cache.CacheFactory 9595 Wed Jan 28 18:35:58 EST 2009 net/sf/ehcache/jcache/JCache.class 1993 Wed Jan 28 18:35:58 EST 2009 net/sf/ehcache/jcache/JCacheEntry.class 4285 Wed Jan 28 18:35:58 EST 2009 net/sf/ehcache/jcache/JCacheFactory.class 2168 Wed Jan 28 18:35:58 EST 2009 net/sf/ehcache/jcache/JCacheListenerAdaptor.class 5710 Wed Jan 28 18:35:58 EST 2009 net/sf/ehcache/jcache/JCacheManager.class 1208 Wed Jan 28 18:35:58 EST 2009 net/sf/ehcache/jcache/JCacheStatistics.class 683 Wed Jan 28 18:35:58 EST 2009 net/sf/ehcache/jcache/loader/JCacheLoader.class 798 Wed Jan 28 18:35:58 EST 2009 net/sf/ehcache/jcache/loader/JCacheLoaderFactory.class 0 Wed Jan 28 18:36:00 EST 2009 META-INF/maven/ 0 Wed Jan 28 18:36:00 EST 2009 META-INF/maven/net.sf.ehcache/ 0 Wed Jan 28 18:36:00 EST 2009 META-INF/maven/net.sf.ehcache/ehcache-jcache/ 6002 Wed Jan 28 18:09:36 EST 2009 META-INF/maven/net.sf.ehcache/ehcache-jcache/pom.xml 111 Wed Jan 28 18:35:58 EST 2009 META-INF/maven/net.sf.ehcache/ehcache-jcache/pom.properties

Please try ehcache-jcache-1.1.

Comment by: gregluck - 8 May 2009 01:49 UTC

Fiona OShea 2009-09-22

Re-opening so that I can properly close out these issues and have correct Resolution status in Jira