在芝麻工作台上创建一个存储库,当重新启动tomcat时,它消失了 [英] create a repository on sesame workbench, when restart tomcat, it gone
问题描述
我已经创建了一个名为local的存储库.
I have created a repository named local.
您可以看到芝麻服务器上有几个存储库.
You can see there are several repositories on the sesame server.
然后,我重新启动了与芝麻工作台连接的tomcat.现在,我刚刚创建的所有存储库都已消失!(下图)
Then I restarted tomcat, connected to sesame workbench. Now all the repositories I just created is GONE!!(picture below)
我不明白,如何找到我刚刚创建的存储库?
I don't understand, how can I find the repositories I JUST created?
我只是将war文件放入tomcat的"webapps"文件夹中.并启动tomcat.
I Just put the war file into the tomcat "webapps" folder. and start tomcat.
环境:
操作系统:Windows 10
OS: Windows 10
tomcat:8.0.30
tomcat: 8.0.30
java:1.8.0_60
java: 1.8.0_60
推荐答案
You are probably using a version of Sesame that has this bug: SES-2346. If your JVM is not shut down cleanly, the in-memory store (and therefore Sesame Server's SYSTEM repository) does not persist. This bug was introduced in Sesame 2.8.4/4.0.0, and was fixed in Sesame 2.8.9/4.0.2.
解决方案是将您的Sesame版本升级到最新版本(在撰写本文时为Sesame 4.1.1或Sesame 2.8.10),和/或确保您干净地关闭Tomcat(而不仅仅是杀死它)它).
The solution is to upgrade your version of Sesame to the latest release (at time of writing that's Sesame 4.1.1 or Sesame 2.8.10), and/or to make sure that you shut down tomcat cleanly (rather than just killing it).
这篇关于在芝麻工作台上创建一个存储库,当重新启动tomcat时,它消失了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!