This content has been marked as final.
Show 2 replies
-
1. Re: How do I persist a protobuf file in infinispan server
anistor Aug 12, 2016 8:22 AM (in response to elitebook2016)You'll have to enable global state persistence for your cache manager and also specify a persistence path (the default one is a temp dir which might not be persistent across machine restarts!), either via programmatic or xml configuration.
Here is a test that accomplishes what you want: infinispan/ProtobufMetadataCachePreserveStateAcrossRestartsTest.java at master · infinispan/infinispan · GitHub
and another one: infinispan/ProtobufMetadataClusterPreserverStateAcrossRestartsTest.java at master · infinispan/infinispan · GitHub
-
2. Re: How do I persist a protobuf file in infinispan server
nadirx Aug 12, 2016 11:08 AM (in response to anistor)Ensure you have the <global-state/> element under <cache-container>. The default persistent state directory is the server data dir (standalone/data or domain/data).