[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
How do I get ehcache setup with terracotta distributed servers using java spring?  XML
Forum Index -> General
Author Message
kevin_c

neo

Joined: 05/06/2013 10:10:13
Messages: 2
Offline

I downloaded terracotta version 3.7.5 which comes with ehcache and quartz, and I have tried running a terracotta server to cache my data. However my tc-config file is not correct and I am getting a schema error when I try and connect it to my spring project. I also downloaded big memory and this works fine with my project but the problem is that when I try and use some features like overflowToOffHeap set to true I get errors saying this is only available for the enterprise edition. What software am I supposed to be using and what configurations are correct? I really want to use ehcache as it seems to be the de facto standard for caching but it seems like there is not any recent documentation on setting this up. Can anyone point me to any recent tutorials or guides?

my tc-config.xml file is as follows:

<?xml version="1.0" encoding="UTF-8"?>
<con:tc-config xmlns:con="http://www.terracotta.org/config">
<clients xmlns:tc="http://www.terracotta.org/config">
<logs>%(user.home)/terracotta/client-logs</logs>
</clients>
<servers xmlns:tc="http://www.terracotta.org/config" secure="false">
<server bind="0.0.0.0" host="127.0.0.1" name="127.0.0.1:9510">
<data>C:\Users\KC\terracotta\server-data</data>
<logs>C:\Users\KC\terracotta\server-logs</logs>
<tsa-port bind="0.0.0.0">9510</tsa-port>
<jmx-port bind="0.0.0.0">9520</jmx-port>
<tsa-group-port bind="0.0.0.0">9530</tsa-group-port>
<data-backup>C:\bigmemory-max-4.0.0\server\bin\data-backup</data-backup>
<index>C:\Users\KC\terracotta\server-data\index</index>
</server>
</servers>
</con:tc-config>
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.7 © JForum Team