Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-8573

Existing marshallers can't see deployed entities in the server

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 9.2.0.Beta1
    • Server
    • None

    Description

      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:

      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)
      

      Attachments

        Issue Links

          Activity

            People

              gfernand@redhat.com Gustavo Fernandes (Inactive)
              gfernand@redhat.com Gustavo Fernandes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: