[infinispan-issues] [JBoss JIRA] (ISPN-7710) CompatibilityProtoStreamMarshaller can't be set in server
Galder Zamarreño (JIRA)
issues at jboss.org
Fri Apr 7 12:29:00 EDT 2017
[ https://issues.jboss.org/browse/ISPN-7710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13391007#comment-13391007 ]
Galder Zamarreño commented on ISPN-7710:
----------------------------------------
The reason why this is useful to do is to be able to run server tasks that rely on caches with non-primitive types.
> CompatibilityProtoStreamMarshaller can't be set in server
> ---------------------------------------------------------
>
> Key: ISPN-7710
> URL: https://issues.jboss.org/browse/ISPN-7710
> Project: Infinispan
> Issue Type: Bug
> Components: Server
> Affects Versions: 9.0.0.Final
> Reporter: Galder Zamarreño
>
> Out of the box, it's impossible to set compatibility marshaller to {{org.infinispan.query.remote.CompatibilityProtoStreamMarshaller}} in server because {{org.infinispan.main}} classloader can't access that class.
> As [~dan.berindei] suggested in the mailing list, one way to avoid these kind of issues would be to allow class definitions to have {{slot:module:class}} format so that using the ModularClassResolver any class can be found.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the infinispan-issues
mailing list