[jboss-as7-dev] Second-level Cache in AS 7 Beta 3
Andrig Miller
anmiller at redhat.com
Thu Apr 21 16:31:38 EDT 2011
I just tried deploying my application into AS 7 Beta 3 with the clustering, and the second-level cache enabled.
Well, I received the following exception:
Caused by: java.lang.ClassNotFoundException: org.hibernate.cache.infinispan.JndiInfinispanRegionFactory from [Module "org.hibernate:main" from local module loader @1fff7a1e (roots: /root/jboss-7.0.0.Beta3/modules)]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:184) [:1.0.0.Beta17]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:357) [:1.0.0.Beta17]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:329) [:1.0.0.Beta17]
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:306) [:1.0.0.Beta17]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:100) [:1.0.0.Beta17]
at java.lang.Class.forName0(Native Method) [:1.6.0_20]
at java.lang.Class.forName(Class.java:186) [:1.6.0_20]
at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:192)
at org.hibernate.cfg.SettingsFactory.createRegionFactory(SettingsFactory.java:409)
... 12 more
It turns out the Hibernate module doesn't seem to include the classes for the second-level cache. I don't even see the old JBoss Cache stuff in those jars.
Is there a reason why this is missing? This makes it impossible to actually test this functionality.
Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-as7-dev/attachments/20110421/3997fcff/attachment.html
More information about the jboss-as7-dev
mailing list