[
https://issues.jboss.org/browse/ISPN-1206?page=com.atlassian.jira.plugin....
]
Galder Zamarreño commented on ISPN-1206:
----------------------------------------
Michal, not sure this is a bug. Memcached has no choice, you have to work on the default
cache cos none of the operations allow a cache name to be passed. On the other hand, a
RESTful API for Infinispan allow provisioning of cache name, so maybe a default cache
should be set up for the rest server, i.e. defaultRestCache. This is something that should
be fixed at the EDG level.
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