Openrdf-sesame / triplestore database in eclipse wtp project with tomcat

I want to use triplestore openrdf-sesame in an Eclipse WTP project with a Tomcat server. I need to specify a sampling date for this tripstron in order to use it in my wtp project.

If I use Tomcat without Eclipse, I need to deploy two military files ( openrdf-sesame.war , openrdf-workbench.war ) using the Tomcat tomcat manager. I can then access the openrdf-workbench via http://localhost:8080/openrdf-workbench/ to put the data samples in a triplestore, but in Eclipse it is not possible to deploy two military files using the tomcat manager.

How to use sesame in an eclipse-wtp project inside tomcat?

Edit:

I tried Jeen Broekstra's answer , but now I get a lot of errors in Eclipse.

errors

+4
source share
1 answer

You can deploy the standard Sesame war files from Eclipse, it's pretty simple:

  • Go to "File → import ... → Web → WAR file" and select the openrdf-sesame.war .
  • Select the appropriate Tomcat server as the target runtime and click Next.
  • On the next screen (import web libraries) leave everything unchecked, click "Finish".

Once you do this, openrdf-sesame will be available in Eclipse as a web project that you can deploy and run on Tomcat, like any other web project.

+4
source

Source: https://habr.com/ru/post/1403899/


All Articles