[
https://issues.jboss.org/browse/ISPN-1206?page=com.atlassian.jira.plugin....
]
Galder Zamarreño commented on ISPN-1206:
----------------------------------------
Btw, some important background info: The reason REST and Memcached can clash in the same
cache is because the type of the key is the same. They both use String keys, so that's
why it could be relatively easy to retrieve something that belongs to a REST server from a
Memcached client.
rest and memcached server modules aren't isolated and affect each
other
-----------------------------------------------------------------------
Key: ISPN-1206
URL:
https://issues.jboss.org/browse/ISPN-1206
Project: Infinispan
Issue Type: Bug
Components: Cache Server
Affects Versions: 5.0.0.CR4
Reporter: Michal Linhard
Assignee: Galder Zamarreño
if we work with the same key with REST and memcached client at once, a server side class
cast exception occurs because both work with different value representation:
SERVER_ERROR java.lang.ClassCastException: [B cannot be cast to
org.infinispan.server.memcached.MemcachedValue
SERVER_ERROR java.lang.ClassCastException: [B cannot be cast to
org.infinispan.server.core.CacheValue
this happens when both server modules use shared cache manager
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira