Nuxeo Server

Running Multiple Server Instances in Windows

Updated: March 18, 2024

The location of the nuxeo.conf is defined by that order of priority (i.e. first one of those found is used):

  • Registry key HKEY_LOCAL_MACHINE\SOFTWARE\PRODNAME\ConfigFile with PRODNAME equals "Nuxeo CAP", "Nuxeo DM", "Nuxeo DAM", ...
  • Environment variable NUXEO_CONF
  • "nuxeo.conf" file in the working directory
  • "nuxeo.conf" file on the Desktop
  • "nuxeo.conf" file in the same location as the nuxeoctl.bat file.

To launch multiple instances of Nuxeo you need to:

  1. Remove the registry key (set up by the Windows installer)
  2. Have wrappers around NuxeoCtl.exe/nuxeoctl.bat that define different NUXEO_CONF environment variables.

Note: You'd also want to have different nuxeo.data.dir, nuxeo.log.dir, nuxeo.tmp.dir, nuxeo.server.http.port and nuxeo.server.tomcat-admin.port in the two nuxeo.conf files (you can set nuxeo.server.ajp.port to 0 to disable AJP if you don't use it).