Questions tagged [infinispan-9]
48 questions
1
vote
0 answers
Getting different value while reading from the same cache using multiple threads
I am trying to implement a counter system using infinispan cache. Multiple threads are trying to access a same key and increment the value against that key.
The counter operation begins with lock(key) so that no other thread can write to it. The…

Alan Lal
- 147
- 2
- 8
1
vote
1 answer
Infinispan-specific configuration when used as JCache (JSR-107) provider?
Our Thorntail (2.4.0.Final) webapp is using Infinispan as a JCache (JSR-107) provider. We would like to modify Infinispan specific attributes (such as default acquire timeout) in addition to JCache's attributes (such as store-by-value option).
Our…

geca
- 2,711
- 2
- 17
- 26
1
vote
1 answer
JCache with Infinispan in Wildfly 14 generate Unsatisfied dependencies for type InfinispanExtensionEmbedded with qualifiers @Default
I'm following some guide to set JCache in Wildfly 14 enviroment using as provider Infinispan.
I followed these steps :
- I downloaded the wildfly module version 9.4.14 from Infinispan website
- I copied the content of the zip in the module dir of…

balax85
- 36
- 2
1
vote
1 answer
Infinispan eviction with tree cache
I am searching for a way to make the default eviction of infinispan work with the TreeCache implementation. By now I searched the documentation and google but found nothing that fits my question.
This is the current configuration of the cache in the…

Felix
- 13
- 5
1
vote
0 answers
How does the Infinispan single file store clean up duplicate keys if they are put periodically with an expiration lifespan?
(Question in query section towards middle)
Environment:
Infinispan 9.13
Embedded cache in a cluster with jgroups (but can see same behavior in local basiccache too)
Single file store
No explicit eviction nor passivation

PKM
- 329
- 4
- 17
1
vote
2 answers
Can not upgrade infinispan to 9.1.0.Final: ClassCastException
I am trying to upgrade infinispan from 8.2.4.Final to 9.1.0.Final, but get some errors from embedded slf4j while building tomcat war-file.
Logs:
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding…

TheSN
- 125
- 3
1
vote
1 answer
access infinispan .class in Clojure
I am trying to replicate a snippet of code from the Infinispan documentation in Clojure:
ConfigurationBuilder b = new ConfigurationBuilder();
b.persistence()
.addStore(SoftIndexFileStoreConfigurationBuilder.class)
…

nha
- 17,623
- 13
- 87
- 133
1
vote
1 answer
Best way to remove cache entry based on predicate in infinispan?
I want to remove few cache entries if the key in the cache matches some pattern.
For example, I've the following key-value pair in the cache,
("key-1", "value-1"), ("key-2", "value-2"), ("key-3", "value-3"), ("key-4", "value-4")
Since cache…

Sri
- 4,613
- 2
- 39
- 42
0
votes
2 answers
How to enable exposing jmx metrics for monitoring infinispan?
I'm trying to configure monitoring of infinispan with prometheus. By default infinispan doesn't expose metrics. Tried to configure it like this in standalone.xml and domain.xml (for domain mode) infinispan's configuration:

Garamoff
- 84
- 1
- 6
0
votes
1 answer
Infinispan 9.4 fails by putOperation in TwoPhaseCoordinator.beforeCompletion
I have Infinispan 9.4 and this settings in infinispan.xml:
and when i try to…

Denis Abramov
- 1
- 2
0
votes
1 answer
Nodejs (Infinispan) : Does Infinispan put method returns null for key inserted in cache for first time?
I have been reviewing the infinispan documentation and overloaded put method returns the value being replaced, or null if nothing is being replaced.
I am using overloaded put method with nodejs and it's not returning expected data, getting…
0
votes
0 answers
Site 1 cannot connect to Site 2? error: no route to site2: dropping message
I currently have an infinispan v.9.4.8 image with modified clustered.xml code for two sites. I am building the image through docker for 2 servers. On server 1 (ie hostname1) I have site1, and on server 2 I have site2.
ie relevant clustered.xml code…

23502348
- 1
0
votes
0 answers
Bug / Change in transactional behaviour between Infinispan 9.4.20.Final to 10.1.8.Final
We are using Infinispan to control a distributed cache (replicated-cache) in an JEE application running on a Payara server (Enterprise v 5.22.0) with Java 8 (OpenJDK 64-Bit Server VM Vendor: Azul Systems, Inc. Version: 25.262-b19)
In order to have a…

Chris Hyland
- 1
- 1
0
votes
1 answer
ISPN000373: Attempted to start a cache using configuration template 'XXXX' with Infinispan 9.2.5
At application startup, I attempt to create a cache like this:
The code that I use to create the cache is as follows:
final Configuration entityConfiguration = myCacheManager.getCacheConfiguration( "entity" );
Objects.requireNonNull(…

WW.
- 23,793
- 13
- 94
- 121
0
votes
1 answer
infinispan, get cachemanager by passing cache configuration name
I have this infinispan.xml configuration:
…

Fabrizio Stellato
- 1,727
- 21
- 52