Sesame 2.8.6 repository not persists

孤街醉人 提交于 2019-12-08 04:52:57

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!