[JBoss JIRA] (ISPN-10866) Wildfly InfinispanExtension Should always use jboss-marshalling
by Ryan Emerson (Jira)
Ryan Emerson created ISPN-10866:
-----------------------------------
Summary: Wildfly InfinispanExtension Should always use jboss-marshalling
Key: ISPN-10866
URL: https://issues.jboss.org/browse/ISPN-10866
Project: Infinispan
Issue Type: Bug
Components: WildFly Server
Affects Versions: 10.0.0.Final
Reporter: Ryan Emerson
Assignee: Ryan Emerson
Fix For: 10.0.1.Final, 10.1.0.Final
The InfinsipanExtension should always utilise the {{JBossUserMarshaller}} as it's not possible to configure a user marshaller via the DMR or server XML. This means that the marshalling behaviour is the same as in the 9.4.x stream and provided Externalizers are still used.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 5 months
[JBoss JIRA] (ISPN-10865) NPE if DefaultCacheManager ClassWhiteList utilised on component start()
by Ryan Emerson (Jira)
Ryan Emerson created ISPN-10865:
-----------------------------------
Summary: NPE if DefaultCacheManager ClassWhiteList utilised on component start()
Key: ISPN-10865
URL: https://issues.jboss.org/browse/ISPN-10865
Project: Infinispan
Issue Type: Bug
Components: Configuration
Affects Versions: 10.0.0.Final
Reporter: Ryan Emerson
Assignee: Ryan Emerson
Fix For: 10.0.1.Final, 10.1.0.Final
A NPE is thrown if the {{DefaultCacheManager}} is created using a xml file directly, i.e {{new DefaultCacheManager("some.xml")}}. This is because the ClassWhiteList instance is initialized after the GlobalComponentRegistry is created.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 5 months
[JBoss JIRA] (ISPN-10864) PrefetchInterceptor should use non blocking publisher and ban iterator
by Will Burns (Jira)
Will Burns created ISPN-10864:
---------------------------------
Summary: PrefetchInterceptor should use non blocking publisher and ban iterator
Key: ISPN-10864
URL: https://issues.jboss.org/browse/ISPN-10864
Project: Infinispan
Issue Type: Sub-task
Reporter: Will Burns
Scattered cache requires possibly checking if a segment is owned or not. This requires waiting for this to complete if it is in process. This means iterator will blocking waiting for this to occur. Thus we shouldn't utilize the iterator methods and instead provide a publisher that doesn't block properly.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 5 months
[JBoss JIRA] (ISPN-10862) SpringCache unwrapping NullValue singleton fails with Java Serialization
by Ryan Emerson (Jira)
[ https://issues.jboss.org/browse/ISPN-10862?page=com.atlassian.jira.plugin... ]
Ryan Emerson resolved ISPN-10862.
---------------------------------
Resolution: Done
> SpringCache unwrapping NullValue singleton fails with Java Serialization
> ------------------------------------------------------------------------
>
> Key: ISPN-10862
> URL: https://issues.jboss.org/browse/ISPN-10862
> Project: Infinispan
> Issue Type: Bug
> Components: Spring Integration
> Affects Versions: 10.0.0.Final
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Blocker
> Fix For: 10.0.1.Final, 10.1.0.Final
>
>
> Our spring integration makes use of the {{NullValue.NULL}} singleton when wrapping null values, however the singleton semantics are not respected when Java Serialization is used as this was previously enforced by a {{Externalizer}} implementation.
> Therefore, the NullValue wrapper is never unwrapped.
> .SpringCache
> private ValueWrapper wrap(Object value) {
> if (value == null) {
> return null;
> }
> if (value == NullValue.NULL) {
> return NullValue.NULL;
> }
> return new SimpleValueWrapper(value);
> }
> private <T> T unwrapNull(Object value) {
> if (value == NullValue.NULL) {
> return null;
> }
> return (T) value;
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 5 months
[JBoss JIRA] (ISPN-10857) Add infinispan-jboss-marshalling to server distribution for transcoding
by Gustavo Fernandes (Jira)
[ https://issues.jboss.org/browse/ISPN-10857?page=com.atlassian.jira.plugin... ]
Gustavo Fernandes updated ISPN-10857:
-------------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 10.1.0.Beta1
10.1.0.Final
Resolution: Done
> Add infinispan-jboss-marshalling to server distribution for transcoding
> -----------------------------------------------------------------------
>
> Key: ISPN-10857
> URL: https://issues.jboss.org/browse/ISPN-10857
> Project: Infinispan
> Issue Type: Bug
> Components: Server
> Affects Versions: 10.0.0.Final
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 10.0.1.Final, 10.1.0.Beta1, 10.1.0.Final
>
>
> ISPN-10591 made Protostream the default user marshaller, as well as removing the {{infinispan-jboss-marshalling}} from most modules. However, making the dependency optional on the remote store, stopped the jar being pulled in by {{server/runtime}}. Consequently, there is no longer a transcoder for {{application/x-jboss-marshalling}} which causes compatibility issues with older clients.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 5 months