-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to change the default ontology in the server #186
Comments
Here's at least part of the problem:
So this line in
It should be modified to error out if it does not get a 200, or possibly to follow the forwarding, but definitely not accept a redirect page as the warfile... |
OK, when I downloaded this myself and changed the Dockerfile to
So any help you could offer would be much appreciated. |
So actually, it looks to me as if the set of ontologies in the server is hardcoded in |
The instructions for using the docker image here tell us to point the docker container's
/data
directory to our own directory of OWL files, and then indicates that WebVOWL will automatically run and OWL to JSON translator.However, when I start up as instructed:
I see the FOAF ontology when I open
localhost:8080
. When I connect to the docker container and list the contents of/data
, I see this:As you can see, no JSON files have been created (I suppose they could have been created and put somewhere else).
I looked around for JSON files and found the following:
Further checking at the root of the container's filesystem shows that these are the only
.json
files in the container.At least part of what's wrong seems to be that the start.sh file contains:
but in the container:
so this jar file is not installed:
Another confusion is that there are two Dockerfiles, one at the root and one located at
doc/Docker/Dockerfile
. I tried building the docker image with this file instead, but when I do that, I just get the Tomcat page: it looks like the application has not properly initialized. Connecting to the container I see thatOWL2VOWL.jar
is present in/usr/local/lib
, but still there are no.json
files in/data
. There's nothing in the Docker logs, either:Any suggestions? Happy to submit a PR to make the documentation more clear, if that's of interest. I suspect there's some configuration file that I should be modifying, but I have no idea what that would be.
Thanks!
The text was updated successfully, but these errors were encountered: