openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From revathy <>
Subject RE: OpenJPA and ehcache configuration
Date Mon, 07 Mar 2011 09:35:56 GMT
Hi Georgi,

   Can you help me to make OpenJPA work with Ecache??
I have done the following configurations.

1.       In Persistence.xml ,
  <property name="openjpa.QueryCache" value="net.sf.ehcache.openjpa.datacache.EhCacheQueryCache"/>

                   <property name="openjpa.DataCacheManager" value="net.sf.ehcache.openjpa.datacache.EhCacheDataCacheManager"/>

                   <property name="openjpa.Log" value="SQL=TRACE"/>

2.  Ehcache.xml is placed in Metainf folder.

3.  ehcache-openjpa-0.1.jar, ehcache-core-2.3.1.jar, slf4j-api-1.5.11.jar, slf4j-jdk14-1.6.1.jar
are in the classpath.

But Ehacahe is not working for me.

Please help me out

From: Georgi Naplatanov [via OpenJPA] []
Sent: Monday, March 07, 2011 2:46 PM
To: Revathy Pandian
Subject: Re: OpenJPA and ehcache configuration

Hi revathy.

I use the following jar files :

  - ehcache-core-2.2.0.jar
  - slf4j-api-1.5.11.jar
  - slf4j-jdk14-1.5.11.jar
  - ehcache-openjpa-0.2.0.jar (Ehcache OpenJPA plugin)


On 03/07/2011 08:53 AM, revathy wrote:
> Hi,
>     Can u tell me what jar u are using to make this configuration works??
> --
> View this message in context:<>
> Sent from the OpenJPA Users mailing list archive at

If you reply to this email, your message will be added to the discussion below:
To unsubscribe from OpenJPA and ehcache configuration, click here<>.


View this message in context:
Sent from the OpenJPA Users mailing list archive at
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message