问题
I have deployed Sesame 2.8.6 server and workbench on Wildfly-8.2.0.Final.
I created a new In Memory repository like this:
I clicked "Create" and the repository was created:
If I restart Wildfly-8.2.0.Final the repository that I created disappears. It doesn't persist. Am I missing something?
I also tried versions 2.8.5 and 2.8.4 and it was the same result: the repository did not persist.
When I tried version 2.8.3 of sesame the repository persisted.
Logs from [ADUNA_DATA]/OpenRDF Sesame/logs/main.log:
The repository folder (with the files: memorystore.data, lock\locked and lock\process) is created in the AppData\Roaming\Aduna\OpenRDF Sesame\repositories\ folder and it remains there after I restart the server. But when I try to access the repository by workbench/console after restart it fails. It doesn't find the repository although the data about it is stored on disk.
Update:
If I close the running Wildfly container then the repository does not persist and the "lock" folder from the [ADUNA_DATA]/OpenRDF Sesame/repositories/1234567/ is not deleted. But if I disable the wars first and after that I close the container the repository persists and the "lock" folder from the [ADUNA_DATA]/OpenRDF Sesame/repositories/1234567/ is deleted. This is happening for Sesame versions 2.8.4 and higher. In version 2.8.3 it works ok. I don't know if this helps but I thought it might be some useful information.
来源:https://stackoverflow.com/questions/32606229/sesame-2-8-6-repository-not-persists