OWLIM-Lite Installation

compared with
Current by barry.bishop
on Jun 24, 2011 13:10.

(show comment)
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (19)

View Page History

After deployment, an OWLIM-Lite instance can be created using the workbench application as follows:
* Point Start a browser and go to the Workbench Web application using a URL of this form: http://localhost:8080/openrdf-workbench/ - [http://localhost:8080/openrdf-workbench/] \- substituting {{localhost}} and the {{8080}} port number as appropriate.
* Click 'change server' if necessary to select a Sesame server instance if it is running on a different machine. The server URL will be of this form: [http://localhost:8080/openrdf-sesame]
* After selecting a server, click 'New repository'
* In the address bar of the browser add {{?type=owlim-lite}} to the end of the URL, i.e. the full URL should be something like: http://localhost:8080/openrdf-workbench/repositories/NONE/create?type=owlim-lite and press 'enter'
* Select 'OWLIM-Lite' from the drop-down and enter the repository ID and description. Then click 'next'.
* Fill in the fields as required and click 'create'.
* A message should be displayed that gives details of the new repository and this should also appear in the repository list (click 'repositories' to see this).
* Restart Tomcat
* Run the Sesame console {{\[SESAME\]/bin/console.sh (.bat)}}
* Connect to the local Sesame server with: {{connect}} {{[http://localhost:8080/openrdf-sesame.]}}
* Create a new repository: {{create owlim-lite.}} and accept default values as necessary.
* Exit the console: {{quit.}}
{note}All commands entered using the console must end in a dot '.', e.g. 'help.'
{note}

h2. Logging


h4. Can not copy OWLIM-Lite jar file to the Sesame WEB-INF/lib directory.

This directory will not exist until the Sesame war files have been deployed to the \[WEBAPPS\] directory AND Tomcat is running. If the war files have been deployed, but the directory does not exist, try restarting Tomcat.

h4. Can not connect the Sesame console to the local Sesame server at [http://localhost:8080/openrdf-sesame]

Make sure that the Sesame war files have been deployed and that Tomcat is running. Restart Tomcat if necessary.

h4. Can not create a OWLIM-Lite repository using the Sesame console

Make sure that the repository template file \[OWLIMLITE\]/templates/swiftowlim.ttl has been copied to the 'templates' subdirectory of the Sesame console's data directory.

h4. Can not create a OWLIM-Lite repository, the Sesame console says unknown Sail type -- owlim:Sail

The Sesame console can not find the OWLIM-Lite jar file. Make sure it was copied from \[OWLIMLITE\]/lib to the Sesame installation folder here: \[SESAME\]/lib

h4. Cannot use my custom rule file (pie file), an exception occurred

Custom rule files require the use of a Java Development Kit (JDK) version 1.6 or higher, due to the mechanism used to locate the Java compiler. Furthermore, the application (application server) must be started with the Java Virtual Machine (JVM) that comes with this JDK.

h4. A repository can be created using the openrdf console, but any operation using this repository results in a long error message

Make sure that the OWLIM jar file has been copied to the Sesame Web application's WEB-INF/lib directory.

h4. Sesame Workbench starts, but gives memory error on the 'explore' and 'query' menus

The maximum heap space must be increased, i.e. Tomcat's Java virtual machine must be allowed to allocate more memory. This can be done by setting the environment variable 'CATALINA_OPTS' to include the desired value, e.g. \-Xmx1024m