openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From revathy <revathy_pand...@mindtree.com>
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] [mailto:ml-node+6096581-2017424-322305@n2.nabble.com]
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)

Regards
Georgi

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: http://openjpa.208410.n2.nabble.com/OpenJPA-and-ehcache-configuration-tp5622421p6096335.html<http://openjpa.208410.n2.nabble.com/OpenJPA-and-ehcache-configuration-tp5622421p6096335.html?by-user=t>
> Sent from the OpenJPA Users mailing list archive at Nabble.com.

________________________________
If you reply to this email, your message will be added to the discussion below:
http://openjpa.208410.n2.nabble.com/OpenJPA-and-ehcache-configuration-tp5622421p6096581.html
To unsubscribe from OpenJPA and ehcache configuration, click here<http://openjpa.208410.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5622421&code=cmV2YXRoeV9wYW5kaWFuQG1pbmR0cmVlLmNvbXw1NjIyNDIxfDc5MjQxMTA0>.

________________________________

http://www.mindtree.com/email/disclaimer.html


--
View this message in context: http://openjpa.208410.n2.nabble.com/OpenJPA-and-ehcache-configuration-tp5622421p6096634.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message