Hi ,
I have simple web application which try to access the DefaultCacheManager. It is running fine in JBoss AS 7 as I added "Dependencies: org.infinispan export" in MANIFEST.MF of web application. But same web application gets an exception java.lang.NoClassDefFoundError: org/infinispan/manager/DefaultCacheManager in JBoss AS 6. Please suggest how to make builtin infinispan libs available for web application in JBoss AS 6.
Code that instantiate the DefaultCacheManager :
DefaultCacheManager m = new DefaultCacheManager();
Cache<String, String> cache = m.getCache();
Contents of MANIFEST.MF :
Manifest-Version:
1.0
Dependencies: org.infinispan export
Versions are:
Product | Version |
---|---|
JBoss | 6.1.0 Final |
Infinispan | provided with AS |
Java | java version "1.6.0_43" |
Regards,
Rehan Farooq
As 6.x uses Infinispan 4.2.0.Final.
Look at L#74. (Fisheye seems to be a bit slow at the moment, so be patient )