[JBoss JIRA] (ISPN-9707) Getting keys via REST fails with SerializationException
by Gustavo Fernandes (Jira)
[ https://issues.jboss.org/browse/ISPN-9707?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-9707:
------------------------------------
Fix Version/s: 10.0.0.Alpha2
> Getting keys via REST fails with SerializationException
> -------------------------------------------------------
>
> Key: ISPN-9707
> URL: https://issues.jboss.org/browse/ISPN-9707
> Project: Infinispan
> Issue Type: Bug
> Components: REST
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Priority: Major
> Fix For: 9.4.3.Final, 10.0.0.Alpha2
>
>
> Obtaining all the keys from a cache, e.g.: http://192.168.1.7:8080/rest/my_default_cache causes errors for clustered servers:
> {noformat}
> ERROR [org.infinispan.remoting.rpc.RpcManagerImpl] (REST-ServerWorker-4-5) ISPN000073: Unexpected error while replicating:
> org.infinispan.commons.marshall.NotSerializableException: org.infinispan.rest.operations.mediatypes.impl.TextOutputPrinter
> Caused by: an exception which occurred:
> in field capturedArgs
> in object org.infinispan.rest.operations.mediatypes.impl.TextOutputPrinter$$Lambda$495/1513688834@5bc665d
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 1 month
[JBoss JIRA] (ISPN-9707) Getting keys via REST fails with SerializationException
by Gustavo Fernandes (Jira)
[ https://issues.jboss.org/browse/ISPN-9707?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-9707:
------------------------------------
Fix Version/s: 9.4.3.Final
> Getting keys via REST fails with SerializationException
> -------------------------------------------------------
>
> Key: ISPN-9707
> URL: https://issues.jboss.org/browse/ISPN-9707
> Project: Infinispan
> Issue Type: Bug
> Components: REST
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Priority: Major
> Fix For: 9.4.3.Final
>
>
> Obtaining all the keys from a cache, e.g.: http://192.168.1.7:8080/rest/my_default_cache causes errors for clustered servers:
> {noformat}
> ERROR [org.infinispan.remoting.rpc.RpcManagerImpl] (REST-ServerWorker-4-5) ISPN000073: Unexpected error while replicating:
> org.infinispan.commons.marshall.NotSerializableException: org.infinispan.rest.operations.mediatypes.impl.TextOutputPrinter
> Caused by: an exception which occurred:
> in field capturedArgs
> in object org.infinispan.rest.operations.mediatypes.impl.TextOutputPrinter$$Lambda$495/1513688834@5bc665d
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 1 month
[JBoss JIRA] (ISPN-9634) Deprecate useRawData from remote listeners
by Dan Berindei (Jira)
[ https://issues.jboss.org/browse/ISPN-9634?page=com.atlassian.jira.plugin.... ]
Dan Berindei commented on ISPN-9634:
------------------------------------
There's a converter used for JCache that should also be updated to avoid unmarshalling:
https://github.com/infinispan/infinispan/blob/08dd0c7fc64c581a8be800083db...
> Deprecate useRawData from remote listeners
> ------------------------------------------
>
> Key: ISPN-9634
> URL: https://issues.jboss.org/browse/ISPN-9634
> Project: Infinispan
> Issue Type: Enhancement
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Priority: Major
> Fix For: 10.0.0.Final
>
>
> Since remote listeners with converters and filters were introduced, it was assumed the user supplied implementations would receive "unmarshalled" data to operate.
> A parameter on the remote listener annotation itself called "useRawData" was later introduced to provide a way for filters/converters to use data as it was stored (i.e., without unmarshalling)
> Since transcoders were introduced, the choice of format for listeners and converters can be specified on the listeners/converters themselves in the format() method and should not rely on useRawData anymore.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 1 month