[infinispan-issues] [JBoss JIRA] Updated: (ISPN-1206) rest and memcached server modules aren't isolated and affect each other
Michal Linhard (JIRA)
jira-events at lists.jboss.org
Mon Jun 27 14:44:23 EDT 2011
[ https://issues.jboss.org/browse/ISPN-1206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michal Linhard updated ISPN-1206:
---------------------------------
Description:
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
was:
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
test:
https://svn.devel.redhat.com/repos/jboss-qa/edg/edg-adapter/src/test/java/org/jboss/edg/adapter/manual/MemcachedProblemTest.java
> 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
More information about the infinispan-issues
mailing list