Multiple Grails Applications create Ehcache conflicts
Posted
by Lloyd Meinholz
on Stack Overflow
See other posts from Stack Overflow
or by Lloyd Meinholz
Published on 2010-05-13T01:47:41Z
Indexed on
2010/05/13
1:54 UTC
Read the original article
Hit count: 313
I am running multiple Grails Applications on one of my servers. I am using Grails 1.2.2. I am using the default cache configuration in DataSource.groovy. When I try and run two Grails applications, they both seem to be using/writing to:
/tmp/org.hibernate.cache.UpdateTimestampsCache.data
When I look at how to customize Ehcache with an ehcache.xml file from this page:
http://ehcache.org/documentation/grails.html
I do not see any information about specifying the locations and/or names or temporary files.
How do I avoid this issue when running multiple Grails applications on the same server (without turning off the cache)?
© Stack Overflow or respective owner