[infinispan-issues] [JBoss JIRA] (ISPN-10886) Server side objects implementing Serializable causes serialization errors

Ryan Emerson (Jira) issues at jboss.org
Tue Nov 5 05:57:00 EST 2019


    [ https://issues.jboss.org/browse/ISPN-10886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13808179#comment-13808179 ] 

Ryan Emerson commented on ISPN-10886:
-------------------------------------

It's also possible to configure the server to use the jboss-marshalling library via:


{code:xml}
<serialization marshaller="org.infinispan.jboss.marshalling.core.JBossUserMarshaller"/>
{code}


https://infinispan.org/docs/stable/titles/developing/developing.html#jboss_marshalling

> Server side objects implementing Serializable causes serialization errors
> -------------------------------------------------------------------------
>
>                 Key: ISPN-10886
>                 URL: https://issues.jboss.org/browse/ISPN-10886
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 10.0.0.Final, 10.0.1.Final
>            Reporter: Gustavo Fernandes
>            Priority: Major
>
> This changed between 10.0.0.CR3 and 10.0.1.Final: filters/converters/entities deployed on the server that implements Serializable don't work any more: although JBoss Marshaller is in the classpath and the Hot Rod client users Jboss marshaller, it tries to use protostream to replicate commands involving those objects
> The workaround it to annotate all of them with @SerializeWith and write Externalizers



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list