Questions tagged [infinispan]

Infinispan is an ASL2 licensed data grid platform for Java and other JVM languages, providing a distributed in-memory cache as well as a clustering toolkit.

Infinispan is an extremely scalable, highly available key/value data store and data grid platform. It is 100% open source, and written in . The purpose of Infinispan is to expose a data structure that is distributed, highly concurrent and designed ground-up to make the most of modern multi-processor and multi-core architectures. It is often used as a distributed cache, but also as a key/value store or object database.

For more details please check out Infinispan's documentation, issue tracker and source repository.

1078 questions
263
votes
22 answers

PSQLException: current transaction is aborted, commands ignored until end of transaction block

I am seeing the following (truncated) stacktrace in the server.log file of JBoss 7.1.1 Final: Caused by: org.postgresql.util.PSQLException: ERROR: current transaction is aborted, commands ignored until end of transaction block at…
Jimidy
  • 2,741
  • 2
  • 14
  • 8
15
votes
2 answers

Keycloak: remote-store configuration for dedicated Infinispan cluster

Recently, I hardened my Keycloak deployment to use a dedicated Infinispan cluster as a remote-store for an extra layer of persistence for Keycloak's various caches. The change itself went reasonably well, although after making this change, we…
Michael Parker
  • 12,724
  • 5
  • 37
  • 58
15
votes
3 answers

Keycloak - Infinispan Redis cache store

Currently setting up a keycloak cluster in standalone-ha mode, to be able to run on docker swarm. In keycloak, the user sessions are cached in an embedded infinispan store and infinispan can be configured to be a distributed cache across the…
tux
  • 1,730
  • 1
  • 15
  • 19
14
votes
3 answers

How to fix "Unable to acquire lock after 15 seconds" errors in Wildfly

I have a web application that is , but also deployed to stand alone instances of Wildfly for local development work. Sometimes we have calls to the backend that can stall for a few seconds, which often leads to exceptions like the…
Phyxx
  • 15,730
  • 13
  • 73
  • 112
13
votes
0 answers

How to make keycloak sessions survive server restarts or upgrades?

Keycloak configuration and data is stored in a relational database, which is usally persisted to the hard disk. This includes data like realm settings, users, group- and role-memberships, auth flows and so on. But the user sessions will only be…
Simon Schürg
  • 2,134
  • 2
  • 20
  • 31
13
votes
2 answers

EHCache with Terracotta Vs Infinispan

We are working in the design phase of new project where we need to decide the caching framework. We need decide whether to go with EHCache with Terracotta or Infinispan for caching requirement? Can anyone provide me the advantages & disadvantages of…
Santhanam
  • 167
  • 1
  • 1
  • 7
10
votes
0 answers

Keycloak: Persisted Cache Sync Timeouts to Infinispan Cluster on Rebuild From Embedded to Remote Infinispan

I'm working on switching keycloak (v.3.4.0 final) from using embedded infinispan to a dedicated remote infinispan cluster (v8.2.8.final). I've gone through the upgrade process to use infinispan cluster as remote-store in lower environments without…
Gorgon_Union
  • 563
  • 2
  • 8
  • 24
10
votes
2 answers

Disable Infinispan Clustering in Wildfly 10.1

I have two Wildfly 10.1.0 Final server running on the same machine. Each has the same application deployed but for different clients. Each server is also configured to use Inifinispan 8.2.4 as a second level cache. Now, here is the situation: the…
Manuel
  • 321
  • 4
  • 13
8
votes
1 answer

Configuring Hibernate Search with Infinispan and Wildfly

I'm configuring Hibernate Search 5.5.5 to use Infinispan 8.2.2 on Wildfly 10. I configured only the Infinispan module in Wildfly, not the Hibernate Search module. Inside the persistence.xml I put this configuration:
Davide Cerbo
  • 363
  • 3
  • 10
8
votes
2 answers

Get the TTL at runtime with infinispan

I am using the Infinispan cache. Is there any way to get the TTL (or lifepsan) of entries at runtime? I see the interface CacheEntry as a getLifespan() API but I don't see how to get a handle on CacheEntry interface, Thanks
Breako Breako
  • 6,353
  • 14
  • 40
  • 59
7
votes
1 answer

How to configure DNS_PING work with kubernetes StatefulSet

I would like to setup an inifinispan cluster in a kubernetes environment. DNS_PING is the discovery protocol. It works with pod deployed with DeploymentConfig settings. However, when we switch the settings from DeploymentConfig to StatefulSet, it…
William Wong
  • 319
  • 3
  • 12
7
votes
0 answers

capacityFactor>0 nodes are re-added to the cluster the system can't get back to a stable status?

I have copied below issue from JBoss forum. We faced same issue. Here is my scenario: I have a only one DIST_SYNC cache, most of the JVM in the cluster are configured with capacityFactor = 0 (like the distibutedlocalstorage=false property of…
Anbu
  • 138
  • 9
7
votes
1 answer

How to disable Wildfly 9.0.2 trying to serialize certain classes in a clustered application

During the set up of a cluster I'm having an issue with WildFly/Infinispan attempting to serialize a number of classes which are fine to be recreated on each instance - although for whatever reason they seem determined to distribute across the…
Will
  • 810
  • 6
  • 21
7
votes
1 answer

How to view and edit Infinispan cached data remotely

I have an Infinispan cache embedded in a WildFly 8.2 server. I added to standalone.xml inside :
Sujith PS
  • 4,776
  • 3
  • 34
  • 61
6
votes
0 answers

No valid EE environment for injection of org.infinispan.cdi.event.cachemanager.CacheManagerEventBridge

I am trying to deploy the Cdi-quickstart application on Glassfish 3.1.1. I am getting the following error in the server.log file 'code' SEVERE: No valid EE environment for injection of…
Raj S
  • 71
  • 4
1
2 3
71 72