Cannot Access REST Cache Key Listing In Clustered Environment
Issue
- To see a listing of cache keys, we access URL
http://192.168.1.7:8080/rest/my_default_cache
, wheremy_default_cache
is the name of our cache. When using a single node setup, we are able to access the aforementioned URL. However, this URL does not work in a JDG clustered environment. Usingcurl -v
also results in a 500 error. The failed attempts result in NotSerializableException errors within the logs:
ERROR [org.infinispan.remoting.rpc.RpcManagerImpl] (REST-ServerWorker-4-5) ISPN000073: Unexpected error while replicating: org.infinispan.commons.marshall.NotSerializableException: org.infinispan.rest.operations.mediatypes.impl.TextOutputPrinter
Caused by: an exception which occurred:
in field capturedArgs
in object org.infinispan.rest.operations.mediatypes.impl.TextOutputPrinter$$Lambda$495/1513688834@5bc665d
ERROR [org.infinispan.remoting.rpc.RpcManagerImpl] (REST-ServerWorker-4-2) ISPN000073: Unexpected error while replicating: org.infinispan.commons.marshall.NotSerializableException: org.infinispan.rest.operations.mediatypes.impl.XMLOutputPrinter
Caused by: an exception which occurred:
in field capturedArgs
in object org.infinispan.rest.operations.mediatypes.impl.XMLOutputPrinter$$Lambda$383/396654057@35342415
Environment
- Red Hat JBoss Data Grid (JDG)
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.