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
0
votes
1 answer

Keep cached data after server restart

I want to use a distributed caching solution that will have a backup of the cache to retain the cache after server restart. Is it possible to achieve the same using memcached ?
Hector Barbossa
  • 5,506
  • 13
  • 48
  • 70
0
votes
1 answer

Does jcs JDBC Disk Cache works with postgres?

Does jcs JDBC Disk Cache works with postgres? I saw in jcs documetation that jcs JDBC Disk Cache is supported with Oracle,MySQL and hsql, since its jdbc, does it support postgres? If yes does it support ssl enabled database connection?
0
votes
1 answer

CompositeCacheManager.getUnconfiguredInstance() API usage

Below is my class looks like . import org.apache.jcs.JCS; import org.apache.jcs.access.exception.CacheException; import org.apache.jcs.engine.control.CompositeCacheManager; private JavaCacheUPKStore(Connection conn) { props.put("jcs.default",…
0
votes
0 answers

JCS Disable auxiliary cache due ConcurrentModification

i'm working with jcs with more clients of one single remote cache server. Here the server configuration: registry.host=xx.xx.xx.xx …
renato
  • 1
  • 1
0
votes
1 answer

Java caching system with spring

I already have a system which uses spring's caching abstraction + EhCache Implementation for caching solution. But now, I need to switch EhCache for other solution that gives me distributed features. I found JCS ( java Caching System ) suitable for…
0
votes
0 answers

Designing "ahead-of-time" caching with JCS

I have been trying to implement an "ahead-of-time" caching scheme. Essentially, I have a web app that users interact with to retrieve resources–from a cache if the resource has been requested before, and from elsewhere on a cache miss. I would like…
kgrimes2
  • 136
  • 3
  • 12
0
votes
1 answer

Could not register JMX administration bean in JCS

Several webapps in a tomcat server instantiate a JCS 2.1 CompositeCacheManager instance through CompositeCacheManager#getUnconfiguredInstance(). This method registers a JMX bean (JCSAdminBean) and it raises a warning because of an…
Emmanuel Guiton
  • 1,315
  • 13
  • 24
0
votes
1 answer

JCS 2.2 - How to set max size of memory/index disk cache?

I'm using JCS to create a cache with LRU Memory Cache and the Indexed Disk Cache. I realize that there are properties like MaxObjects and maxKeySize that allow me to set the amount of items in a certain cache, but I'm wondering if JCS allows me to…
syim
  • 501
  • 1
  • 4
  • 16
0
votes
0 answers

javax.net.ssl.SSLHandshakeException when connection to Oracle Database Cloud service data source

I have a java application which will be deployed to Oracle Java Cloud Service. I have created a table in Oracle Database cloud service and have created a data source in Java cloud service. My datasource is up and running. Now pro-grammatically I am…
0
votes
0 answers

Can JCS be considered an In-Process Cache or a Distributed Cache Or Both?

Can JCS Cache run in a separate JVM Process from the client process? Any links or example will be helpful.
M S
  • 27
  • 6
0
votes
1 answer

Creating Apache JCS cache confilicts when using in a library

Long story short, I have created a library that is using Apache JCS to manage its own objects. using CompositeCacheManager ccm CompositeCacheManager.getUnconfiguredInstance(); Properties props = new…
madz
  • 1,803
  • 18
  • 45
0
votes
1 answer

While using JCS getting error java.lang.Error: update: last is null

We are getting the following error while performing a put operation. jcs.put(key, id); Exception in thread "main" java.lang.Error: update: last is null! at org.apache.jcs.engine.memory.lru.LRUMemoryCache.update(LRUMemoryCache.java:176) at…
Anil
  • 1,735
  • 2
  • 20
  • 28
0
votes
1 answer

JCS LTCP AUX cache configuration and usage

Background: We have 4 physical servers (4 IPS), each one running in JBOSS 6 EAP running on port 80.All requests are redirected to any one of these servers via Load balancer. Now I tried to implement Java cache system for such distributed env so that…
MG_7
  • 61
  • 3
  • 10
0
votes
1 answer

JCS: Used Complexobject or String as key

I have a question about how .get(key) works. If i use an complex object as a key, i figured out that the equals function is not called. But which reference the framework used to identify the key objects. I need to know which one is faster? String…
SancezZ
  • 43
  • 4
0
votes
1 answer

ClassCastException: datastructures.instances.JClass cannot be cast to java.util.ArrayList

I know there are quite a few CCE questions on SO. I have read the majority of them either in detail or briefly and I cannot find anything that applies to my situation. My exact error is: Exception in thread "pool-1-thread-1"…
lilott8
  • 1,116
  • 2
  • 17
  • 41