Questions tagged [jcs]

JCS is a distributed caching system written in java. It is intended to speed up applications by providing a means to manage cached data of various dynamic natures

JCS is a distributed caching system written in java. It is intended to speed up applications by providing a means to manage cached data of various dynamic natures. Like any caching system, JCS is most useful for high read, low put applications. Latency times drop sharply and bottlenecks move away from the database in an effectively cached system.

JCS

89 questions
8
votes
4 answers

How to change JCS cache.ccf file's path?

I'm trying to change path of cache.ccf file about an hour... When I'm calling JCS.getInstance("myRegion"); I'm getting this error: Exception in thread "main" java.lang.IllegalStateException: Failed to load properties for name [/cache.ccf] I tried…
shift66
  • 11,760
  • 13
  • 50
  • 83
6
votes
1 answer

JCS Cache shutdown,guaranteed persistence to disk

Iam using JCS for caching.Now I am using disk cache to temporarily store all the data.The problem is when I use JCS,the keys are written to disk only if the cache is properly shutdown. I am using the disk usage pattern as UPDATE which tells JCS to…
Madusudanan
  • 1,017
  • 1
  • 15
  • 36
5
votes
1 answer

JCS to Autosys migration

We have jobs running in JCS, and since JCS is no longer supported, we are migrating jobs in JCS to Autosys. No one in our team have any idea on how to migrate the JOBs in JCS to Autosys. Even I googled for the same but no help. Can anyone please…
NJMR
  • 1,886
  • 1
  • 27
  • 46
5
votes
1 answer

JCS edit Disk Auxiliary Cache DiskPath

I am developping a web app with JCS 1.3 caching. I need to edit the DiskPath of the Indexed Disk Auxiliary Cache at runtime from a JVM property. Do you know a way to do this ? I managed to create the AuxiliaryCache object but I don't know how to…
Dino
  • 710
  • 1
  • 10
  • 22
4
votes
2 answers

JCS Disk Cache Issue

I am using JCS for caching purposes and I am experiencing an issue where the data is not written to a disk,i.e no error is coming,but when I look at the data files,they are all 0k in size.Anybody know what is causing this error,I am using the…
Madusudanan
  • 1,017
  • 1
  • 15
  • 36
4
votes
2 answers

Set JCS log level to ERROR - log4j

I have implemented JCS in my J2ee application which uses log4j for logging. My Requirement Set the application rootLogger in DEBUG level and jcs logs in ERROR mode. What is tried Tried the following in log4j…
Akhil
  • 2,602
  • 23
  • 36
4
votes
4 answers

Java distributed objects with locality?

I am evaluating various Java object distribution libraries (Terracotta, JCS, JBoss, Hazelcast ...) for an application server and I'm having trouble understanding their behavior on various axes. My requirements for distributed objects are not many --…
sehugg
  • 3,615
  • 5
  • 43
  • 60
3
votes
1 answer

JCS Cache - Remove Functionality not removing specific Element

JCS Cache - Remove Functionality not removing specific Element jcs Cache configs for our application are as below, I see that when we use fulshAll() method it removes the entire cache but when we use remove(key) it is not removing that object. Can…
Hero
  • 639
  • 4
  • 12
  • 33
3
votes
1 answer

Looking for a restart-persistent LRU disk caching solution in Java - ehcache, guava, JCS do not qualify

We have an application that processes image data, running on a single machine. The processing is very expensive (10 to 30 seconds), so we cache the resulting files on disk. Those files are also big, so we have to prune the cache when it hits the…
pandhi
  • 43
  • 4
3
votes
2 answers

JCS 1.3 Refresh Cache From Disk After Shutdown

I am trying to use JCS 1.3 to create a eternal disk cache. I want the cache to be able to shut down, and then reload itself from the disk the next time I use it. I have a lot of data that I am going to be populating from a DB that takes a long…
Paul Zepernick
  • 1,452
  • 1
  • 11
  • 25
3
votes
0 answers

memory & disk cache with JCS 1.3

having been trying to implement a memory & disk cache with JCS v1.3, got info from docs and a series of threads here in stackoverflow, but still not having any solution. My test is simply: load JCS; save an element to the cache; shutdown JCS…
3
votes
2 answers

How do you share Java Caching System (JCS) resource across multiple EJB

I am using JCS to store the ldap search results which should be shared by multiple EJB. I have created a singleton class to initialize JCS only once but due to EJB's classloader, it's been initialized multiple times with its own copy. so search…
rjoshi
  • 1,645
  • 1
  • 20
  • 31
3
votes
1 answer

How to initialize RestEasy web service after JBoss starts

I have a RestEasy web service that is deployed to JBoss 7.1.1. The web service has a dependency on another service. This other service must be initialized upon JBoss startup -- before the RestEasy web service is called for the first time. I…
Barry S
  • 69
  • 9
3
votes
2 answers

Java Caching System(JCS) - Create regions programmatically

We are planning to use some caching mechanism in our application, and chosen Java Caching System(JCS) after performing comparison study among many other caching solutions. Every thing is fine when I use external configuration (cache.ccf) to define…
Satheesh Cheveri
  • 3,621
  • 3
  • 27
  • 46
2
votes
7 answers

Java object caching, which is faster, reading from a file or from a remote machine?

I am at a point where I need to take the decision on what to do when caching of objects reaches the configured threshold. Should I store the objects in a indexed file (like provided by JCS) and read them from the file (file IO) when required or have…
Kumar225
  • 227
  • 1
  • 5
  • 13
1
2 3 4 5 6