Log in to follow, share, and participate in this community.
Thread TimeoutException printing stacktraces of threads holding loc
TimeoutException printing stacktraces of threads holding locI think it'd be very good idea that whenever a TimeoutException is thrown, the stacktrace of the thread(s) holding locks is also printed out. The stacktrace of the thread requesting the lock is already being printed. ...
Thread Implicit marshalled values - a better way of handling region
Implicit marshalled values - a better way of handling regionWe had this discussion in Neuchatel, I'm bringing it up again here to solidify an approach. This pertains to JBCACHE-1231 Currently, we place direct object references in the cache. If the object in the cache is in a...
Shutdown hooksThis is in response to a user forum thread http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089709#4089709 and it's corresponding JIRA JBCACHE-1204. What will happen for JBC 2.1.0.GA is that the defa...
JBCACHE-1251Thread for discussion of http://jira.jboss.com/jira/browse/JBCACHE-1251. Some further analysis of the problem; I don't really know the proper fix as I'm not familiar enough with all the subtle cases this code is hand...
Thread Local changes on direct custom object or collection referenc
Local changes on direct custom object or collection referencYesterday, one of our consultants (Chris Harris) brought up a very interesting point regarding local changes on direct custom object or collections references that are cached: I have a customer who is trying to use ...
Problem with after loading Huge dataHi, I am new to Jboss cache, so i gone through some examples and try to use them to my requirements. here is my requirement. my aim is to store and retrieve frequency of a particular key (String), so i have written a...
Partitioning in JBoss Cache - JBCACHE-60This is in reference to JBCACHE-60 and a wiki page I put up discussing some initial designs. Partitioning is basically a concept taking Buddy Replication a few steps further, primarily removing the need for session a...
Hot Deployment -Object CacheHi How can I develop a small cache without losing hot deployment functionality of JBOSS ? Ans suggestion will be appreciated. I'm planing to write code similar to following but it will not assure hot deployment will...
Thread Optimising contents of a prepare call - JBCACHE-611
Optimising contents of a prepare call - JBCACHE-611From Bela's original comments in JBCACHE-611 When we use transactions, all modifications (PUT,REMOVE) are bundled (keyed by TX-ID) and replicated on TX commit. This is very inefficient if (a) we have many modificat...
Proxy Based POJOs (No AOP) in POJO CacheIn a conversation we had offline, Vincent Marquez has advocated a proxy based approach in addition to the current AOP approach for POJO Cache. Best of all, he has offered to work on the implementation. The primary use...
Reusing options in PojoCacheJason, Just got bit by a bad practice, and I see PojoCache is doing the same thing (at least in 1.4.1.x), so wanted to give you a heads up. The bad practice is trying to reuse an Option -- i.e. create and configure ...
JBCACHE-1153 - structural nodesthis jira is about not considering the structural nodes for eviction. This performance optimisation makes sense considering that nothing can be evicted from those nodes as they don't have an attribute map, but the evi...
Locking tree before setting initial stateWhen an initial state transfer is received from another node, locks are acquired on the existing node's tree before the state is applied. I'm not sure what the benefit of this is. Acquiring locks will ensure that any...
run jbosscache1.4.1sp5 in oc4j 10.1.3we were using standalone jboss cache 1.0 on oc4j 9.0.5 and 10.1.2 for a long time becuase its very good performance for clustering and very stable. now we are trying to upgrade it to jboss cache 1.4.1.sp5 to run on oc...
Thread Concurrency issues on remote prepare when using optimistic l
Concurrency issues on remote prepare when using optimistic lThis is in relation to JBCACHE-1201. So this is in no way an easy fix. The main problem here is that when a cache enters it's prepare phase, modifications are broadcast, but the remote cache hasn't really entered the...
Thread Node removal not working with Invalidation?
Node removal not working with Invalidation?I'm seeing weird behavior in my unit tests of Hibernate/JBC integration with invalidation, so thought I'd look for JBC testsuite tests of node removal with invalidation. Didn't find any. So, wrote the following which ...
Thread javax.servlet.ServletException: Cannot find ActionMappings o
javax.servlet.ServletException: Cannot find ActionMappings oHello, I am working on an Struts application> I am trying to run it on JBOSS but when I run it .. It shows me an error : javax.servlet.ServletException: Cannot find ActionMappings or ActionFormBeans collection or...
Thread Optimistic locking doesn't scale well with large 'flat' cach
Optimistic locking doesn't scale well with large 'flat' cachCustomer reported an issue where an OPTIMISTIC 1.4.1.SP3 didn't scale well when Hibernate was caching a large # of instances of an entity. All entity instances are stored in child nodes directly under a base node for ...
Eviction and buddy backup regionsI don't think we handle evicting stuff from the buddy backup region very well. Looking at the code, all nodes under _BUDDY_BACKUP_ will be evicted based on the _default_ region settings, unless the user was really sav...
Thread JBCACHE-1154 - Introduce ability to mark nodes as resident -
JBCACHE-1154 - Introduce ability to mark nodes as resident -Nodes marked resident would be ignored by the eviction algorithms both when checking whether to trigger the eviction and when proceeding with the actual eviction of nodes. E.g. if the eviction policy for a region is "...