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
1
vote
1 answer

Hibernate second level cache (TreeCache) - For sub entities

I am using TreeCache as my hibernate second level entity cache. I have an entity hierarchy which contains Customers and Partners both extend from Users. Can I cache Partner only ? I can cache Users then both customers and parers getting cached as…
era
  • 391
  • 4
  • 24
0
votes
2 answers

How to verify correct operation of Hibernate second level caching in a cluster?

I am wondering how to verify that Hibernate's L2 cache performs correctly. I have an application running on a cluster of JBoss 5 instances with JBoss Cache. Load testing would answer the question of performance. But how to make sure that cluster…
Petteri H
  • 11,779
  • 12
  • 64
  • 94
0
votes
0 answers

Data Caching in Java

I'm trying to develop a distributed application in java. Which tool for data caching is better ?? JBoss cache Infinispan Ehcache Terracotta cache ??
Mahesh Gupta
  • 2,688
  • 9
  • 30
  • 46
0
votes
1 answer

Clustered chat implementation based on Queue

I’m working on chat implementation. The idea is very simple there is map with where keys are userNames and values are queue of messages which should be delivered to user This map is represented byConcurrentHashMap
user12384512
  • 3,362
  • 10
  • 61
  • 97
0
votes
1 answer

JBossCache eviction listener

I am new on JBossCache. Reading the user documentation it says that a listener could be added to the Eviction class used, but I wasn't able to found how to do add one to the configuration file, or how that should be added. I have tried to add an…
tzulberti
  • 666
  • 2
  • 6
  • 19
0
votes
1 answer

Jgroups / jboss cache probe script strange results

I am probing my server for clusters using jgroups probe.sh script, 2.4.1 and after shutting down Weblogic servers (not AdminServer) I see some zombie - like clusters and I dont know how to get rid of them. They are blocking deployment. They might…
michealAtmi
  • 1,012
  • 2
  • 14
  • 36
0
votes
1 answer

scalability of mobicents presence server

I understand that Mobicents PS is not supported now but I want to understand about the scalability of MSPS. I understand from the source code that MSPS uses JBoss Cache instead of the database to store presence information. I understand the concept…
Jardanian
  • 711
  • 1
  • 6
  • 11
0
votes
2 answers

Jboss eap-6.3 caching configuration

How we can configure cache in jboss eap 6.3 server and use it in further different application like j2ee etc Please assist here .. !!
G dangi
  • 188
  • 7
  • 19
0
votes
1 answer

JBossCacheService: exception occurred in cache put error occurred after changing cache mode to REPL_SYNC

we have a horizontal cluster set up on JBoss 4.2. The session replication worked fine until we changed cache mode from REPL_ASYNC to REPL_SYNC to fix a issue. We started to see warning for some session…
wen
  • 681
  • 1
  • 7
  • 17
0
votes
2 answers

Migrating Infinispan xml configuration from 6.x to 7.x

I've been using Infinispan 6.x and I have a couple of XML configuration files. Now I want to migrate to 7.x, but I'm having exceptions when the new version tries to parse the old configuration files. Here is my configuration file:
bachr
  • 5,780
  • 12
  • 57
  • 92
0
votes
1 answer

Universal cache memory in infinispan

How to use a universal Infinispan cache memory for 2 or 3 applications? It will be great help for me if anyone answers this question.
user41498
  • 1,421
  • 3
  • 10
  • 9
0
votes
1 answer

Can I configure JGroups with both a TCP and UDP section at the same time

We have been running a JBOSS Cache cluster for a few years now in UDP and for the most part it's been fine. We had to add a node outside the firewall so we reconfigured it for TCP and have since had a lot of problems. Can we have both TCP/unicast…
Bill K
  • 62,186
  • 18
  • 105
  • 157
0
votes
1 answer

jboss clustering Query issue

I have a small query regarding jboss clustering. If i have two nodes in cluster environment , If one node is down due to some reason , Will another node take the request? Since both are in cluster mode , I assume thaet if one node is down , another…
user3505725
  • 265
  • 1
  • 2
  • 11
0
votes
1 answer

ClassCastException with JBoss cache

We're using JBoss SOA 5.3.1 with JBoss-cache with a hibernate 2nd level cache. All works fine for simple entites, except for a nested type com.example.GUID; GUID lives in a CommonUtil.jar, which is included in each ESB. Other nested values, like…
Adam
  • 35,919
  • 9
  • 100
  • 137
0
votes
1 answer

Jboss startup with "-g" option

Our application running on JBoss EAP and Jboss SOA Server.While starting up the jboss cache, the cache nodes are not shown, then its been told to start with "-g" option. Please let me know what is this option and its impact. After using this option,…
Ashwini
  • 63
  • 2
  • 8