Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

d
Once you have setup the nuxeo configuration files and tested the server etc, it is advisable to add a startup script, so that in the case that the machine is rebooted for any reason (e.g. after installation of updates or a power failure), the nuxeo server will start automatically.


Creating a Windows Service Wrapper for Nuxeo Server on Windows

Requirement:
1. Nuxeo Software package for windows(http://www.nuxeo.com/en/downloads)
2. YAJSW (http://sourceforge.net/projects/yajsw/files/)
NUXEO_HOME = path where the Nuxeo server will be installed ( C:\Nuxeo\ in below example)
YAJSW_HOME = path where our YAJSW package is extracted (C:\yajsw\ in below example)
NUXEO_CONF = path to the Nuxeo Configuration File (C:\ProgramData\Nuxeo\conf\nuxeo.conf in below example)

Installing the Nuxeo Platform as a Windows Service

1. Create a folder named "yajsw" inside C:\ drive and extract the YAJSW zip file inside C:\yajsw\ .
So that the YAJSW home path should like "C:\yajsw" and it should contain the bin, conf, etc.

...

10. Change the service user from "Local Service" to a local administrator. The reason for this is that certain functionalities will not work correctly, e.g. generating previews for PDF documents.

For Extended DMS Server

Configure auto-start on Ubuntu

Create “init.d” Script
Create a script named “casebrowser” in /etc/init.d/ folder first.

...

Code Block
sudo chmod 755 casebrowser


Create Link in “rc3.d”

In order to be called when system boots, we need to create a link in /etc/rc3.d/ folder from the corresponding script in /etc/init.d/ folder.

...


Now, we can restart the linux server and test if the casebrowser is started automatically.


Configure casebrowser as a Windows service

CaseBrowser zip is a Tomcat instance, the official guide here (http://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html) is exactly suitable for casebrowser. Just need to rename tomcat7 to casebrowser whenever possible.