-
Hi
I am having trouble reproducing this issue. I was able to find a similar exception in my tests which I have fixed. You now see the issue over an hour into use which means it is now quite rare.
I have done a literature review on the Internet and this type of issue happens across a wide range of frameworks when a Map or in your case an ArrayList is attempted to be serialized while it is...
10:18AM UTC on Jul 08 2009 in ehcache
-
?
Ehcache's JCache has
/**
* Associates the specified value with the specified key in this map
* (optional operation). If the map previously contained a mapping for
* this key, the old value is replaced by the specified value. (A map
* <tt>m</tt> is said to contain a mapping for a key <tt>k</tt> if and only
* if {@link...
09:49AM UTC on Jul 08 2009 in ehcache
-
Bala
Create a Cache. Then create a decorated cache which implements Ehcache. Then call cacheManager.replaceCacheWithDecoratedCache(Ehcache ehcache, Ehcache decoratedCache) to stick it back in the CacheManager.
Override put to encrypt and get to decrypt.
Greg.
09:44AM UTC on Jul 08 2009 in ehcache
-
gregluck committed revision 995 to the ehcache SVN repository, changing 3 files.
09:33AM UTC on Jul 08 2009 in ehcache
-
Karl
I was getting a few of these in my tests as well. But my tests were still passing - the problem was not affecting the overrall cache.
I have fixed the problem. It no longer occurs at all in my tests. I have released a 1.6.1-SNAPSHOT. You can download it from http://oss.sonatype.org/content/repositories/sourceforge-snapshots/net/sf/ehcache/ehcache/1.6.1-SNAPSHOT
I would very much...
07:56AM UTC on Jul 06 2009 in ehcache
-
gregluck committed revision 994 to the ehcache SVN repository, changing 3 files.
07:47AM UTC on Jul 06 2009 in ehcache
-
The JSR107 draft API is released as net.sf.jsr107cache. Ehcache-Jcache mplements it. See https://sourceforge.net/project/shownotes.php?group_id=93232&release_id=656797
It was decided in the expert group to call it javax.cache but that has not been officially released.
07:43AM UTC on Jul 06 2009 in ehcache
-
gregluck committed revision 993 to the ehcache SVN repository, changing 3 files.
10:39PM UTC on Jul 05 2009 in ehcache
-
gregluck committed revision 992 to the ehcache SVN repository, changing 15 files.
08:43AM UTC on Jul 05 2009 in ehcache
-
Because the javadoc is silent I guess the correct answer is undefined.
I have now defined that neither call listeners and changed the code appropriately.
This change will be in 1.6.1.
07:21AM UTC on Jul 05 2009 in ehcache