[infinispan-issues] [JBoss JIRA] (ISPN-8814) Remote server tasks still expect GenericJBossMarshaller

Galder Zamarreño (JIRA) issues at jboss.org
Wed Feb 14 10:21:00 EST 2018


     [ https://issues.jboss.org/browse/ISPN-8814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Galder Zamarreño updated ISPN-8814:
-----------------------------------
               Description: 
When executing tasks, parameters and return types are expected to be marshalled with GenericJBossMarshaller. If not, you get all exceptions such as:

{code}
Exception in thread "main" org.infinispan.client.hotrod.exceptions.HotRodClientException:
Request for messageId=3 returned server error (status=0x85): 
java.io.IOException: Unsupported protocol version 100
{code}

Example can be found [here|https://gist.github.com/galderz/68302021bd9e957fb0164c1bdd362c3f].

  was:
When executing tasks, parameters and return types are expected to be marshalled with GenericJBossMarshaller. If not, you get all exceptions such as:

{code}
Exception in thread "main" org.infinispan.client.hotrod.exceptions.HotRodClientException:
Request for messageId=3 returned server error (status=0x85): 
java.io.IOException: Unsupported protocol version 100
{code}

Example can be found [here|https://gist.github.com/galderz/68302021bd9e957fb0164c1bdd362c3f].

A workaround is to have separate RemoteCache instances, built with different configuration used for data versus task execution, [example|https://gist.github.com/galderz/d1cc02d520352a6af036ed0fc677e208].

    Workaround Description: Have separate RemoteCache instances, built with different configuration used for data versus task execution, [example|https://gist.github.com/galderz/d1cc02d520352a6af036ed0fc677e208]. This is clunky though.
                Workaround: Workaround Exists


> Remote server tasks still expect GenericJBossMarshaller
> -------------------------------------------------------
>
>                 Key: ISPN-8814
>                 URL: https://issues.jboss.org/browse/ISPN-8814
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Marshalling, Tasks
>    Affects Versions: 9.2.0.CR2, 9.1.6.Final
>            Reporter: Galder Zamarreño
>            Assignee: Gustavo Fernandes
>
> When executing tasks, parameters and return types are expected to be marshalled with GenericJBossMarshaller. If not, you get all exceptions such as:
> {code}
> Exception in thread "main" org.infinispan.client.hotrod.exceptions.HotRodClientException:
> Request for messageId=3 returned server error (status=0x85): 
> java.io.IOException: Unsupported protocol version 100
> {code}
> Example can be found [here|https://gist.github.com/galderz/68302021bd9e957fb0164c1bdd362c3f].



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the infinispan-issues mailing list