Note: This document uses Unix-like conventions for paths and environment variables that you can map to Windows equivalents.
You can obtain the SPIN WAR from the open.med Maven repository.
http://repo.open.med.harvard.edu/nexus/
In general, the SPIN WAR is available at the following location:
http://repo.open.med.harvard.edu/nexus/content/groups/public/org/spin/node-server/<version>/node-server-<version>.war
The location and filename corresponds to the latest released SPIN version. For example, the latest released SPIN version is 1.16. The SPIN WAR would be located at the following URL:
SPIN is installed in two distinct places on the host operating system:
The SPIN installation and configuration consists of the following processes performed in this order:
Note: The SPIN WAR (webapp) and the SPIN home directory are installed in two places primarily because when a new version is deployed the servlet container unpacks a new WAR file and replaces the entire "old" web app. Any stored data files are lost. Since the configuration and data must persist through many incarnations of the webapp, it is safest to keep them in separate locations in the file system, outside of the entire servlet container hierarchy. Also, when the webapp is separate, it does not require modification after installation; thus simplifying the procedure for the system administrator.
SPIN requires a dedicated "home directory", $SPIN_HOME, which is the root of a hierarchy of folders that contain configuration files, query log files, and plugins.
The SPIN home directory consists of the following folders:
conf/--- configuration files
db/- query log files
plugins/- JARs containing plugins (queries to be run by the Node)
It is recommended that you configure the home directory outside of the Java Servlet container, specifically outside of the webapp structure, which is not the default location. The default is under the process-owner's home directory.
By default, the directory is ~/.spin, where tilde (~) is the home directory of the process-owner's home directory.
On Microsoft Windows systems, the default directory is ~/spin. The directory must be writeable by the process owner.
You can override the default location by setting: