On 04/21/2011 04:31 PM, Andrig Miller wrote:
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.
Your ahead of us.
I created JBAS-9378 for adding the Infinispan dependency to the
Hibernate module.
Andy
_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev