Deploy NetXMS WebAPI using the WebUI Windows installer (Windows only!)

From NetXMS Wiki
Jump to: navigation, search

This guide provides instructions on how to deploy the NetXMS WebAPI .war file, that can be downloaded at, using the Jetty Runner that comes with the installation of the NetXMS WebUI. Windows only!


The following prerequisites need to be set-up first:

  • A machine running windows.
  • A successfully installed and running NetXMS WebUI using the windows installer.


1. Navigate to the installation directory of the WebUI.

2. Create a folder named "WebAPI".

3. Create a file named "jetty-web.xml" in the newly created folder with the following content:

<Configure class="org.eclipse.jetty.webapp.WebAppContext">
  <Set name="contextPath">/webapi</Set>
  <Set name="war"><SystemProperty name="jetty.home"/>\webapi\webapi.war</Set>
  <Set name="tempDirectory">webapi</Set>
4. Add the path to your
at the end of the registry
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Apache Software Foundation\Procrun 2.0\nxWebUI\Parameters\Start\Params

5. Restart the NetXMS WebUI service and the WebAPI should be available at http://localhost:8080/webapi