[infinispan-issues] [JBoss JIRA] (ISPN-8573) Existing marshallers can't see deployed entities in the server
Gustavo Fernandes (JIRA)
issues at jboss.org
Wed Nov 29 05:48:00 EST 2017
Gustavo Fernandes created ISPN-8573:
---------------------------------------
Summary: Existing marshallers can't see deployed entities in the server
Key: ISPN-8573
URL: https://issues.jboss.org/browse/ISPN-8573
Project: Infinispan
Issue Type: Bug
Components: Server
Affects Versions: 9.2.0.Beta1
Reporter: Gustavo Fernandes
Assignee: Gustavo Fernandes
https://issues.jboss.org/browse/ISPN-7714 introduced the possibility of deploying a jar containing classes (analyzers, entities, etc) and declare them at cache manager level using the {{<modules>}} config, so that those classes are available to the server.
The existing marshallers in the server (protostream, generic, java, etc) don't take into account that configuration, and when using compat mode the following error occur when putting data:
{noformat}
org.infinispan.client.hotrod.exceptions.HotRodClientException:Request for messageId=3 returned server error (status=0x85): java.lang.ClassNotFoundException: org.infinispan.server.test.task.servertask.SpotPrice from [Module "org.infinispan.commons:main" from local module loader @4ae82894 (finder: local module finder @543788f3 (roots: /server/node1/modules,/server/integration/testsuite/target/server/node1/modules/system/layers/base))]
at org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:363)
at org.infinispan.client.hotrod.impl.protocol.Codec20.readPartialHeader(Codec20.java:152)
at org.infinispan.client.hotrod.impl.protocol.Codec20.readHeader(Codec20.java:138)
at org.infinispan.client.hotrod.impl.operations.HotRodOperation.readHeaderAndValidate(HotRodOperation.java:60)
at org.infinispan.client.hotrod.impl.operations.AbstractKeyValueOperation.sendPutOperation(AbstractKeyValueOperation.java:58)
at org.infinispan.client.hotrod.impl.operations.PutOperation.executeOperation(PutOperation.java:34)
at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:56)
at org.infinispan.client.hotrod.impl.RemoteCacheImpl.put(RemoteCacheImpl.java:268)
at org.infinispan.client.hotrod.impl.RemoteCacheSupport.put(RemoteCacheSupport.java:77)
{noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the infinispan-issues
mailing list