[Logo] Terracotta Discussion Forums
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Remove diskPersistent or resolve the conflicting disk paths in cache configuration  XML
Forum Index -> Ehcache
Author Message
cudu

neo

Joined: 12/19/2011 22:59:04
Messages: 4
Offline

Hi, i wanna to persist data between vm restart

My config:

<diskStore path="d:/cache"/>


<cache name="hddCache"
clearOnFlush="false"
maxElementsInMemory="100000"
maxElementsOnDisk="100000"
eternal="false"
overflowToDisk="false"
diskPersistent="true"
diskExpiryThreadIntervalSeconds="0"
memoryStoreEvictionPolicy="LFU">
</cache>

And my error message:

"Data in persistent disk stores is ignored for stores from automatically created directories (they start with ehcache_auto_created).
Remove diskPersistent or resolve the conflicting disk paths in cache configuration."

help 2 understand, whats wrong?
cudu

neo

Joined: 12/19/2011 22:59:04
Messages: 4
Offline

up
rajoshi

seraphim

Joined: 07/04/2011 04:36:10
Messages: 1491
Offline

Hi ,

Is the issue resolved ??

Rakesh Joshi
Senior Consultant
Terracotta.
cudu

neo

Joined: 12/19/2011 22:59:04
Messages: 4
Offline

rajoshi wrote:
Hi ,

Is the issue resolved ?? 


no.
cudu

neo

Joined: 12/19/2011 22:59:04
Messages: 4
Offline

and again not yet resolved
rajoshi

seraphim

Joined: 07/04/2011 04:36:10
Messages: 1491
Offline

Hi,

Can you clean the data directory and try again . In the mean time can you please send us the code how you are using this cache . Usually one ehcache.xml configuration is required for each CacheManager that is created and Ehcache will attempt to resolve conflicts and will emit a warning(like the one you got ) reminding the user to configure a separate configuration for multiple CacheManagers with conflicting settings.

Rakesh Joshi
Senior Consultant
Terracotta.
 
Forum Index -> Ehcache
Go to:   
Powered by JForum 2.1.7 © JForum Team