[Red Hat JIRA] (ISPN-12584) Protobuf serialization is being used in library mode with spring starter
by Dan Berindei (Jira)
[ https://issues.redhat.com/browse/ISPN-12584?page=com.atlassian.jira.plugi... ]
Dan Berindei commented on ISPN-12584:
-------------------------------------
[~ramon.gordillo] not sure what parameter you are referring to: {{configXml}} is definitely used for local caches as well.
I didn't test a local cache, because you said in the description "Same code is working right on a local-cache". But your intuition is correct: keys and values should not be marshalled if the cache is local and the cache encoding is {{application/x-java-object}}.
If you are getting the same exception with a local cache, please post the exception stack trace here, as it should show exactly where the marshaller is being used.
> Protobuf serialization is being used in library mode with spring starter
> ------------------------------------------------------------------------
>
> Key: ISPN-12584
> URL: https://issues.redhat.com/browse/ISPN-12584
> Project: Infinispan
> Issue Type: Bug
> Components: Marshalling
> Affects Versions: 12.0.0.Dev07, 11.0.8.Final
> Reporter: Ramon Gordillo Gutierrez
> Assignee: Dan Berindei
> Priority: Major
> Fix For: 12.1.0.Final
>
>
> With 11.0.8, I get the following exception when doing a put in a replicated-cache:
> {noformat}
> 2020-12-18 07:21:43.232 WARN 1 --- [98f-md4d4-51498] org.infinispan.PERSISTENCE : ISPN000559: Cannot marshall 'class com.redhat.Customer'
> java.lang.IllegalArgumentException: No marshaller registered for Java type com.redhat.Customer{noformat}
> Same code is working right on a local-cache
> I have tried also 12.0.0.Dev7 (with 11.0.6 spring starter), and the exception is similar but slightly different:
> {noformat}
> 2020-12-18 08:07:48.956 WARN 1 --- [nio-8080-exec-1] org.infinispan.PERSISTENCE: ISPN000559: Cannot marshall 'class org.infinispan.spring.common.provider.NullValue'
> java.lang.IllegalArgumentException: No marshaller registered for Java type org.infinispan.spring.common.provider.
> {noformat}
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 10 months
[Red Hat JIRA] (ISPN-12709) Cannot retrieve the keyset of a cache (ISPN000287)
by Lorenzo Pavez (Jira)
Lorenzo Pavez created ISPN-12709:
------------------------------------
Summary: Cannot retrieve the keyset of a cache (ISPN000287)
Key: ISPN-12709
URL: https://issues.redhat.com/browse/ISPN-12709
Project: Infinispan
Issue Type: Bug
Affects Versions: 11.0.9.Final
Reporter: Lorenzo Pavez
Attachments: InfinispanSample.java, infinispan.xml, log.txt
Hi to all,
Unfortunately I cannot retrieve the keyset from a cache because I get the following error:
ISPN000287: Unauthorized access: subject 'null' lacks 'ADMIN' permission
It's quite strange; because in this example code I am able to create a cache if it's not existing (of course if you want to create a cache you need to be admin) but then I am not able to just retrieve the keyset of that cache.
Am I doing some mistakes or effectively there is a bug?
Thank you in advance for your help
Best regards,
Lorenzo
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 10 months
[Red Hat JIRA] (ISPN-12708) Remove example.Protobuf_Distributed
by Katia Aresti (Jira)
Katia Aresti created ISPN-12708:
-----------------------------------
Summary: Remove example.Protobuf_Distributed
Key: ISPN-12708
URL: https://issues.redhat.com/browse/ISPN-12708
Project: Infinispan
Issue Type: Task
Components: Console, Server
Affects Versions: 12.0.0.Final
Reporter: Katia Aresti
Assignee: Katia Aresti
Remove the template example protobuf from the server and clean up it uses around tutorials
Add this template in the console
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 10 months