[jboss-as7-dev] Second-level Cache in AS 7 Beta 3

Scott Marlow smarlow at redhat.com
Thu Apr 21 17:40:03 EDT 2011


On 04/21/2011 05:12 PM, Andrig Miller wrote:
>
>
> ----- Original Message -----
>> From: "Scott Marlow"<smarlow at redhat.com>
>> To: jboss-as7-dev at lists.jboss.org
>> Sent: Thursday, April 21, 2011 2:57:08 PM
>> Subject: Re: [jboss-as7-dev] Second-level Cache in AS 7 Beta 3
>> 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.
>
> But the Hibernate classes aren't even there in the Hibernate jars for the module.  Will this change the build?

Its easy to include the additional 2lc interface jars that we want.  The 
question for me is about native Hibernate applications that want to 
cluster (the 2lc) and what we do for them in AS7.
>
>>
>>>
>>> Andy
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> jboss-as7-dev mailing list
>>> jboss-as7-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>
>> _______________________________________________
>> jboss-as7-dev mailing list
>> jboss-as7-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev




More information about the jboss-as7-dev mailing list