[jboss-jira] [JBoss JIRA] (WFLY-5091) User supplied externalizers are ignored by web/ejb clustering code

Kabir Khan (JIRA) issues at jboss.org
Wed Dec 6 11:21:16 EST 2017


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

Kabir Khan closed WFLY-5091.
----------------------------


> User supplied externalizers are ignored by web/ejb clustering code
> ------------------------------------------------------------------
>
>                 Key: WFLY-5091
>                 URL: https://issues.jboss.org/browse/WFLY-5091
>             Project: WildFly
>          Issue Type: Bug
>          Components: Clustering
>    Affects Versions: 10.0.0.Beta1
>            Reporter: Paul Ferraro
>            Assignee: Paul Ferraro
>             Fix For: 10.0.0.CR1
>
>
> Several users were surprised to find that their custom Infinispan externalizers are not used when marshalling of objects placed in the web session or used as fields in their SFSB.  Without this functionality, users cannot use non-serializable objects in their web session or SFSB.
> There are a few reasons why this does not currently work:
> # The cache in which user objects is placed does not scan the application classloader for externalizers.
> # In both the web and ejb case, user objects are stored within a MarshalledValue - the serialization of which is done by JBoss Marshalling directly, not via Infinispan's marshaller.
> # Neither the org.infinispan.commons (containing org.infinispan.commons.marshall.AdvancedExternalizer) nor org.jboss.marshalling (containing org.jboss.marshalling.Externalizer) modules are exported to the application classpath.
> Clearly, we need a common, public mechanism that bridges these two APIs so that users can register custom externalizers without needing to know the specific marshalling framework to which to adhere.



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


More information about the jboss-jira mailing list