1 Reply Latest reply on Feb 2, 2017 9:10 AM by wdfink

    Error using remote DSL - domain mode

    alexis.bourdeau

      Hello

       

      My use case is the following :
      when I start a node or several node in cluster (standalone.bat -c clustered.xml), and I connect a hotrod client to it, I can do agregation with protobuff and DSL query

       

      But if I start the nodes using domain.bat, when I connect the hotrod client ot it, I still can insert data but when I try DSL query to count, I get an error :

      org.infinispan.client.hotrod.exceptions.HotRodClientException:Request for messageId=7 returned server error (status=0x85): org.infinispan.commons.marshall.NotSerializableException: org.infinispan.query.dsl.embedded.impl.EmbeddedQuery$$Lambda$137/206232172

      an exception which occurred:

          in object org.infinispan.query.dsl.embedded.impl.EmbeddedQuery$$Lambda$137/206232172@66b81ea3

          in object java.util.ArrayDeque@48a56073

          in object org.infinispan.stream.impl.termop.object.MapIteratorOperation@153ef939

          in object org.infinispan.stream.impl.StreamRequestCommand@f05dacd

       

           at org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:343)

          at org.infinispan.client.hotrod.impl.protocol.Codec20.readPartialHeader(Codec20.java:132)

          at org.infinispan.client.hotrod.impl.protocol.Codec20.readHeader(Codec20.java:118)

          at org.infinispan.client.hotrod.impl.operations.HotRodOperation.readHeaderAndValidate(HotRodOperation.java:56)

          at org.infinispan.client.hotrod.impl.operations.QueryOperation.executeOperation(QueryOperation.java:66)

          at org.infinispan.client.hotrod.impl.operations.QueryOperation.executeOperation(QueryOperation.java:28)

          at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:54)

          at org.infinispan.client.hotrod.impl.query.RemoteQuery.executeQuery(RemoteQuery.java:65)

          at org.infinispan.client.hotrod.impl.query.RemoteQuery.list(RemoteQuery.java:50)

          at PaiementManager.countPaiementByDevise(PaiementManager.java:187)

          at Main.main(Main.java:45)

       

       

      An idea where it can come from ?

       

      Thanks a lot !