...
Download and install Okapi Longhorn as shown here: http://okapiframework.org/wiki/index.php?title=Longhorn#Download_and_Installation.
...
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="utf-8"?>
<okapi-longhorn-configuration version="1">
<working-directory>/var/lib/tomcat9/work/Okapi-Longhorn-Files</working-directory>
<use-unique-working-directory>True</use-unique-working-directory>
</okapi-longhorn-configuration> |
Change the path to "working-directory", if the working directory of your Tomcat9 is located somewhere else.Create a directory "Okapi-Longhorn-Files" at the path, where your config file points to
Ensure that the parent directory of the working directory is writable for the tomcat user, since with the use-unique-working-directory flag = true, Okapi adds the Okapi version to the working directory name.
This is important for updating Okapi in productive envirionments.
Set the rights and user of the new directory (change the path, if your directory is somewhere else) and restart tomcat (change the call to restart tomcat, if this is different in your distro):
Code Block | ||
---|---|---|
| ||
chown tomcat:tomcat /var/lib/tomcat9/work/Okapi-Longhorn-Files* chmod 700 /var/lib/tomcat9/work/Okapi-Longhorn-Files* systemctl restart tomcat9 |
...
Translate5 Configuration of the Okapi Plug-In
...