server « ehcache « Java Enterprise Q&A





1. Architecture question for implementation of a cache server    stackoverflow.com

This is something of an architecture question. I have this idea of having a server with huge memory, that is used as a big objects cache holder. The clients send "Actions" ...

2. Configuring the fetch attempt duration when EHCache attempts to connect to a Terracotta server that is down    stackoverflow.com

if I try to connect to a Terracotta server that is currently down by calling net.sf.ehcache.CacheManager.create();, EHCache keeps retrying connection attempts for a full 300 seconds before throwing an exception with ...

3. Centralized cache server. (Ehcache or Hazelcast)    stackoverflow.com

Currently we have 2 app severs, each has application level cache and has centralized database server. To keep both servers app cache in sync we have set up JMS broker in ...

4. ehcache standalone server 1.0.0 not starting up    forums.terracotta.org

Out of the box, on Windows XP, the 1.0.0 standalone server does not startup. There is a large amout of errors spit out. Glassfish does actually start up, but not of the advertised RESTFul ehcache server starts up. Full log attached. Starts with a jasper exception: org.apache.jasper.JasperException: PWC6177: XML parsing error on file file:/Z:/p rograms/ehcache-standalone-server-1.0.0/war/WEB-INF/lib/jersey-server-1.1.5.jar at org.apache.jasper.xmlparser.ParserUtils.parseXMLDocument(ParserUtils. java:325) Then nothing starts ...

5. How to get a list of caches in Terracotta server?    forums.terracotta.org

The way to accomplish this today is to create a simple L1 client (could be your Application client or it could be a simple Standalone App) that instantiates the cacheManager (that corresponds to your ehcache.xml) and points to Terracotta. If you have multiple cacheManagers, you can modify your stub to do this as well. Then use the Dev Console and log ...

6. How to start terracotta server through java code/programatically    forums.terracotta.org

Hello there, I am using terracotta-ehcache in my app . Currently I have to start terracotta server using the batch file start-tc-server.bat and it works as expected. Now I have a need to start the terracotta server through java code rather than a batch file . I am using jboss as app server and I need to start/stop the terra cotta ...

7. EHCache Server locking    coderanch.com

Hi, I am trying to improve performance of my application. The problem we are facing right now is with EH Cahe 1.4.1. Whenever it tries to refresh data from DB. If the Db is slow the whole application gets locked down. Considering ver 2.4.2 of ehcache which has many improvements obviously, I can see a new parameter 'clearOnFlush'. Just wanted to ...