Re: is there a hibernate-cache provider available on JOnAS 5.2 ?

Florent BENOIT <[email protected]> Fri, 04 Feb 2011 10:00:29 +0100
Newsgroups gmane.comp.java.objectweb.jonas
Message-ID <[email protected]>
    Hi Hans,

Hans J. Prueller wrote:
> Hi all,
>
> when I deploy my EAR using EJB3 / JPA with Hibernate as a persistence 
> provider (which seems to be default in JOnAS anyway),
You can switch the persistence provider in jonas.properties (hibernate, 
hibernate3.5, eclipselink, etc)

> I get a ClassNotFoundException when enabling "EhCache" as 
> Hibernate-Cache-Provider for second level caching.
What's your setting to enable this cache ?


>
> Seems like per default, no cache provider is activated/enabled for 
> hibernate persistence on JOnAS 5.2 ??
>
>
> Did I overlook something  / what do I have to do to enable caching for 
> Hibernate Persistence? (simply putting EhCache-JAR into LIB/EXT ???)
>
> regards,
> Hans
>