Open angelorlcosta opened 7 years ago
Hi, please make sure global state persistence is enabled for the cache container. This will make the protobuf metadata cache persistent too and will solve your issue.
To do that add a
Adrian
Hello,
I have added the bellow xml configuration but the error still shows up.
Is this the correct configuration or any other configuration i should we aware of?
Of a sample example?
Thanks in advance, Ângelo Costa
Also noticed that there is also another error which could help: Caused by: java.lang.NullPointerException at org.infinispan.remoting.rpc.RpcManagerImpl.setTopologyId(RpcManagerImpl.java:282) at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotelyAsync(RpcManagerImpl.java:136) at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:185) at org.infinispan.interceptors.locking.PessimisticLockingInterceptor.releaseLocksOnFailureBeforePrepare(PessimisticLockingInterceptor.java:268)
may be another configuration missing?
Hello all,
I have been working on the remote-query example and was trying to change from local cache to a distributed-cache so i changed the configuration to:
Right now i am able to run the demo with: mvn exec:java -PSnowForecast
and then add one forecast successfully and i see that forecast stored in the database. In my case it's a mysql database.
If i stop the infinispan-server and startup it again, i get an error:
Caused by: java.lang.IllegalArgumentException: Message descriptor not found : quickstart.Forecast at org.infinispan.protostream.impl.SerializationContextImpl.getMessageDescriptor(SerializationContextImpl.java:180) at org.infinispan.query.remote.impl.indexing.WrappedMessageTagHandler.onTag(WrappedMessageTagHandler.java:66) at org.infinispan.protostream.ProtobufParser.parseMessage(ProtobufParser.java:76)
How can i solve this?
Thanks in advance, Ângelo Costa