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 11:46:10 GMT
Hi Georgi,

   Thank you very much.
It s working. But the warning it shows as
"WARNING: No configuration found. Configuring ehcache from ehcache-failsafe.xml  found in
the classpath: jar:file:/D:/workspace/HeliosWorkspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/EHcachePOC/WEB-INF/lib/ehcache-core-2.3.1.jar!/ehcache-failsafe.xml"

I have added ehcache.xml in class path, It is in lib folder now. But it s not taking that
xml.

Do u have any idea.

From: Georgi Naplatanov [via OpenJPA] [mailto:ml-node+6096908-737609752-322305@n2.nabble.com]
Sent: Monday, March 07, 2011 4:55 PM
To: Revathy Pandian
Subject: Re: OpenJPA and ehcache configuration

Hi revathy.

1. My persistence.xml file looks like :

        <property name="openjpa.QueryCache" value="ehcache"/>

        <property name="openjpa.DataCacheManager" value="ehcache"/>


2. Ehcache.xml has to be in the classpath, not in Metainf folder.

3. I use 0.2.0 version of Ehcache OpenJPA plugin
(ehcache-openjpa-0.2.0.jar).

HTH

Regards
Georgi

On 03/07/2011 11:35 AM, revathy wrote:

> 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:[hidden email]</user/SendEmail.jtp?type=node&node=6096908&i=0&by-user=t>]
> 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><http://openjpa.208410.n2.nabble.com/OpenJPA-and-ehcache-configuration-tp5622421p6096335.html%3chttp:/openjpa.208410.n2.nabble.com/OpenJPA-and-ehcache-configuration-tp5622421p6096335.html?by-user=t%3e&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<http://openjpa.208410.n2.nabble.com/OpenJPA-and-ehcache-configuration-tp5622421p6096581.html?by-user=t>
>
>
> ________________________________
>
> http://www.mindtree.com/email/disclaimer.html
>
>
> --
> View this message in context: http://openjpa.208410.n2.nabble.com/OpenJPA-and-ehcache-configuration-tp5622421p6096634.html<http://openjpa.208410.n2.nabble.com/OpenJPA-and-ehcache-configuration-tp5622421p6096634.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-tp5622421p6096908.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>.


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