Questions tagged [jboss-cache]

JBoss Cache’s goal is to provide enterprise-grade clustering solutions to Java-based frameworks, application servers or custom-designed Java SE applications. JBoss Cache is licensed under the LGPL license.

JBoss Cache is a replicated and transactional cache. It is replicated since multiple JBoss Cache instances can be distributed (either within the same JVM or across several JVMs whether they reside on the same machine or on different machines on a network) and data is replicated across the whole group. It is transactional because a user can configure a JTA compliant transaction manager and make any cache interaction transactional, and caches would participate in ongoing JTA transactions.

JBoss Cache comes in two editions: Core and POJO.

The core library (using the org.jboss.cache.Cache interface) is the underlying library that organises data in a tree-like structure and handles all locking, passivation, eviction and replication characteristics of data in the cache.

The POJO library (using the org.jboss.cache.pojo.PojoCache interface) is built atop the core library and allows introspection of objects in the cache providing transparent coherence by using JBoss AOP.

For more details, please visit JBoss Cache’s project page.

47 questions
2
votes
2 answers

Infinispan singleFileStore cache restartability

I am using infinispan 6.0.1 release, I have configured it to use SingleFileStore as loader Configuration is as below
Dhananjay
  • 3,903
  • 2
  • 29
  • 44
2
votes
2 answers

Infinispan: How to combine embedded cache and standalone server in one cluster?

As a proof of concept, I try to build an infinispan cluster with an existing application which starts an embedded cache and one or more standalone infinispan servers. The reasosing behind this is, that I want to show, that there is a way of…
2
votes
1 answer

Is Infinispan an improvement of JBoss Cache?

According to this link which belongs to JBoss documentation, I understood that Infinispan is a better product than JBoss Cache and kind of improvement the reason for which they recommend to migrate from JBoss Cache to Infinispan, that is supported…
Farah
  • 2,469
  • 5
  • 31
  • 52
2
votes
4 answers

JBossCache as a second level cache for Hibernate in JBoss 5

Here is my configuration: Hibernate 3.3.1.GA, JBoss 5.1.0.GA, JBoss Cache 3.2.0.GA. I'm doing Hibernate configuration as described…
Yury Litvinov
  • 1,354
  • 2
  • 16
  • 24
1
vote
2 answers

JBoss cache. Concurrency issue

I'm using JBossCache 'Malagueta' 3.2.0.GA I faced with strange issue in production environment, sometimes writes to jboss cache do not work properly. I tried to reproduce this situation with simple java application public static void testCache() { …
user12384512
  • 3,362
  • 10
  • 61
  • 97
1
vote
0 answers

JBoss Cache Cluster Issue

In our production environment we have three JBoss servers loadbalanced for application requests, client applications session has been maintained JBoss-cache with clustered enabled to make sure that all three servers should get the session object.…
Balaji
  • 275
  • 1
  • 4
  • 13
1
vote
1 answer

JBossCache: setting uniqueid for proper JMX monitoring

JBossCache creates uniqueId's used for the JMX beans. If I look via JMX at jboss.cache:service=JBossCache I see something randomly generated like "12e4860e", "170278e5" ... Now having several Persistence Units I don't know which is which. Actually…
jeha
  • 10,562
  • 5
  • 50
  • 69
1
vote
1 answer

Understanding JBossCache - Caching an object graph with many associations

I'm trying to use JBossCache as a JPA/Hibernate 2nd level cache provider to cache repeatedly called queries. The queries return entities of a specific type, lets call it FooType. FooType looks like the following: @Entity(name = FooType) @Cache(usage…
helpermethod
  • 59,493
  • 71
  • 188
  • 276
1
vote
1 answer

JBoss TreeCache vs PojoCache when using invaludation rather than replication

We are setting up a Jboss cluster and we are building an own distributed cache solution built upon Jboss cache (Cant use it as 2nd level cache to ORM layer in our case). We want to use invalidation and not replication as cache mode. As far as i can…
jonash
  • 103
  • 2
  • 8
1
vote
1 answer

JBoss Cache Configuration

I'm using an extended persistence context (injected Entitymanager at SFSB) and have additionally set @TransactionManagement(value=TransactionManagementType.BEAN) for the SFSB to have full control over the UserTransaction. The Transaction is…
websta
  • 23
  • 3
1
vote
1 answer

Compatibility between JBoss Cache to JBoss Server

Our application runs succesfully on Tomcat, Websphere and Weblogic and as part of it uses Jboss Cache version 3.1.0.G. Now we would like adjust our app to run also in Jboss server environment. Is there any Jboss server version that can co-exist…
Spiderman
  • 9,602
  • 13
  • 48
  • 56
1
vote
1 answer

jmx monitoring for JDG 6.3.2

We have been using Infinispan 5.2 and it has been working fine close to one year now. We use the below URL to monitor infinispan and the cache statistics is displayed in our application for easy monitoring…
lives
  • 1,243
  • 5
  • 25
  • 61
1
vote
2 answers

Jboss Cache as distributed state repository

Is using JBoss Cache as distributed state repository a good idea? Can JBoss Cache be applied in situation when you need the guarantee that each time you read something from repository you get the newest version of it? - and irrespective of which…
mgamer
  • 13,580
  • 25
  • 87
  • 145
1
vote
1 answer

Accessing JBoss Cache deployed on a remote JBoss AS (4.2.2)

I have deployed the JBoss cahce service to my JBoss AS which is running remotely in a completely separate VM. I am now struggling to access the cache deployed to the AS. Does anybody have any suggestions? Thanks In Advance
user237513
1
vote
1 answer

Jboss Cache : what happens to an object which evicted from cache?

If Joss cache evicts an object from a node, and the same object has reference to it from another object say objB. Does this condition causes any issue? Can objB manipulate on the evicted object? Thanks in advance.
Dinoop paloli
  • 633
  • 2
  • 8
  • 25