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

Can Infinispan be implemented as cache manager for Apache Shiro?

Apache Shiro allows some implementations for CacheManager. EHCache is one of these implemenations. I'd like to use Infinispan as Distributed Cache Manager. Until now, I'm not sure wheter it's feasible or not. Does anybody know how to implement…
blackjack
  • 1,081
  • 2
  • 13
  • 30
5
votes
2 answers

Infinispan Operational modes

I have recently started taking a look into Infinispan as our caching layer. After reading through the operation modes in Infinispan as mentioned below. Embedded mode: This is when you start Infinispan within the same JVM as your…
arsenal
  • 23,366
  • 85
  • 225
  • 331
5
votes
1 answer

Hibernate Collection cache : How to use?

I have two entities Book and Author. Book has a collection of authors. I am using second level cache to keep the Book entity with its Authors. When debugging I can see there is putForExternalRead is happening for Book instance and each author in…
5
votes
1 answer

Transaction ACID properties with Hibernate Search + Infinispan Directory

I have the following setup: JPA (2.0) through Hibernate (4.1) Infinispan as 2nd level cache (5.1) Hibernate Search connected to Hibernate (4.1) Infinispan as Directory for Hibernate Search (Lucene) Connected a JDBC CacheStore for the Infinispan…
Luciano
  • 8,552
  • 5
  • 32
  • 56
4
votes
1 answer

Spring transaction that uses JPA throws Exception during AfterCompletion phase

I have a web application that uses the Spring Framework (3.1) and persistence through JPA (2.0) backened by Hibernate (4.1.1) Hibernate Search is also enabled (4.1 RC). Hibernate's Second Level cache is Infinispan (5.1.3). I also use Infinispan as…
Luciano
  • 8,552
  • 5
  • 32
  • 56
4
votes
1 answer

Infinispan-10.0.1.Final: No marshaller registered for Java type java.util.UUID

After upgrading infinispan-jcache from 9.4.16.Final --> 10.0.1.Final, I am unable to use the cache due to marshaller error. See https://infinispan.org/blog/ I want it working with javax.cache.*,which was the case with v9.4.16.Final. No infinispan…
4
votes
1 answer

Infinispan Cluster Synchronization Problems

we use a JBoss cluster (EAP 6.4.10) with 6 instances and heavily use the bundled Infinispan 5.2.11 for different in-memory-grid use cases. Most of them are distributed caches, however (replicated, actually). We also have distributed transactions and…
chammp
  • 822
  • 1
  • 10
  • 20
4
votes
2 answers

Can I store Lucene Search Index‎ in Amazon elastic file system (EFS) as an alternative to a system directory

I would like to know if it is possible to store Lucene Search Index‎ in Amazon elastic file system (EFS) as an alternative to a system directory provider(such as that used in hibernate search in java i.e hibernate.search.default.indexBase.…
4
votes
1 answer

ISPN000313 error in infinispan

I'm new to Infinispan and I'm using Infinispan 8.1.I just wanted to gain some knowledge on this ISPN000313 error code.I have done a lot of research about this error code,but nothing helps me to understand it. I also want to know when this error will…
karthi keyan
  • 213
  • 2
  • 19
4
votes
1 answer

Hibernate search with infinispan, How to store the index in a persistent cache store

Hibernate search default infinispan configuration store indexes in memory,you have to reindex everything once you shutdown application. I read infinispan document, there is a way to store index into a infinispan file store. After I do googling…
王子1986
  • 3,019
  • 4
  • 31
  • 43
4
votes
2 answers

infinispan as second level cache hibernate

Trying to use infinispan as a second level cache for hibernate but always gives me the following error org.infinispan.jmx.JmxDomainConflictException: ISPN000034: There's already a JMX MBean instance type=CacheManager,name="DefaultCacheManager"…
4
votes
0 answers

How to set up external Infinispan for Keycloak?

Keycloak can run its own embedded Infinispan. But how do you configure keycloak to use an externeal Infinispan system?
yogiginger
  • 1,075
  • 4
  • 13
  • 25
4
votes
1 answer

Clustered Wildfly throws java.lang.IllegalAccessError

I'm running application on Wildfly managed domain that consists from 2 virtual machines with 3 servers on each VM. Exception occurs in console.log: 14:04:10,254 WARN [org.jboss.weld.Servlet] (default task-51) WELD-000717: Unable to deactivate…
master_bo
  • 93
  • 8
4
votes
2 answers

ClassCastException while reading from Infinispan Cache after redeployment on Wildfly 8.2

I have a simple Infinispan local-cache (also tried distributed cache) on Wildfly 8.2. Everything is working fine until I do redeployment of my .WAR. After redeployment of my .WAR I get the following error: Caused by: java.lang.ClassCastException:…
markus
  • 602
  • 4
  • 13
4
votes
3 answers

Infinispan equivalent to ehcache's copyOnRead and copyOnWrite

I am planning to implement a cache solution into an existing web app. Nothing complicated: basically a concurrent map that supports overflowing to disk and automatic eviction. Clustering the cache could be requirement in the future, but not now. I…
waxwing
  • 18,547
  • 8
  • 66
  • 82
1 2
3
71 72