I'm trying to use POJO Cache with AS 4.2. If I deploy with just jgroups.jar,
jbosscache-core.jar and jboss-aop.jar then I get a
Caused by: java.lang.NoClassDefFoundError: org/jboss/metadata/spi/signature/Signature
| at org.jboss.cache.pojo.impl.PojoCacheImpl.<clinit>(PojoCacheImpl.java)
| at org.jboss.cache.pojo.PojoCacheFactory.createCache(PojoCacheFactory.java:29)
| at org.jboss.seam.core.PojoCache.start(PojoCache.java:42)
I therefore included jboss-container.jar, and got this
aused by: java.lang.NoClassDefFoundError:
org/jboss/util/stream/MarshalledValueOutputStream
| at org.jboss.cache.CacheImpl.<init>(CacheImpl.java:206)
| at org.jboss.cache.DefaultCacheFactory.createAndWire(DefaultCacheFactory.java:115)
| at org.jboss.cache.DefaultCacheFactory.createCache(DefaultCacheFactory.java:95)
| at org.jboss.cache.pojo.impl.PojoCacheImpl.init(PojoCacheImpl.java:75)
| at org.jboss.cache.pojo.impl.PojoCacheImpl.<init>(PojoCacheImpl.java:58)
| at org.jboss.cache.pojo.PojoCacheFactory.createCache(PojoCacheFactory.java:29)
| at org.jboss.seam.core.PojoCache.start(PojoCache.java:42)
| ... 57 more
I then tried to include jboss-common-core.jar but that causes a lot of other problems. And
this really doesn't feel like the right approach to me.
So, is there some docs I'm missing on using pojo cache 2.1 with AS 4.2? Or does it not
work? I took a look at the compatibility matrix, but it doesn't really mention JBoss
Cache 2.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123178#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...