问题
I have created a repository named local.
You can see there are several repositories on the sesame server.
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?
I Just put the war file into the tomcat "webapps" folder. and start tomcat.
Environment :
OS: Windows 10
tomcat: 8.0.30
java: 1.8.0_60
回答1:
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.
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).
来源:https://stackoverflow.com/questions/36897362/create-a-repository-on-sesame-workbench-when-restart-tomcat-it-gone