NetXMS Support Forum

English Support => General Support => Topic started by: curruscanis on February 25, 2025, 07:42:45 PM

Title: Web console issues
Post by: curruscanis on February 25, 2025, 07:42:45 PM
I have been upgrading my NetXMS system, and I back fighting the web console that I gave up on a while ago.

Current system is a Ubuntu 18.04 server, running NetXMS 5.0.8, system works fine with a management console from a windows PC.

I have run the gambit of install / reinstall / remove various web systems, and followed the instructions from :

https://netxms.org/documentation/adminguide/installation.html#how-to-configure-the-netxms-web-client-with-jetty-in-linux

I upgraded Java from 11 to 17, here is the info on the JAVA on the server:
openjdk version "17.0.7" 2023-04-18
OpenJDK Runtime Environment (build 17.0.7+7-Ubuntu-0ubuntu118.04)
OpenJDK 64-Bit Server VM (build 17.0.7+7-Ubuntu-0ubuntu118.04, mixed mode, sharing)

Currently, I have attempted both Tomcat 9, and Jetty, running Java version 17, and with either web platform I get the following page when I go the site that should display the web console:

{"description":"NetXMS web service API version 5.0.8","version":"5.0.8","build":"5.0-1066-g6c885ac8ec"}



I don't know where to look now or what I am doing wrong... the .war file appears to be correct and in the correct place.

Please let me know if you all have any suggestions... Thank you!
Title: Re: Web console issues
Post by: Alex Kirhenshtein on February 25, 2025, 08:33:34 PM
You've downloaded wrong file, instead of nxmc  you are using the API war
Title: Re: Web console issues
Post by: Alex Kirhenshtein on February 25, 2025, 08:35:22 PM
Use this one: https://netxms.com/download/releases/5.1/nxmc-5.1.3.war
Title: Re: Web console issues
Post by: curruscanis on February 26, 2025, 05:52:04 PM
Thank you very much for pointing out my error, however, I have attempted the download of the .war file that you gave the link for and I also have done it for 
https://netxms.com/download/releases/5.0/nxmc-5.0.8.war (https://netxms.com/download/releases/5.1/nxmc-5.1.3.war), which is the version of NETMXS that my server is running... 

But in either case I now get a 404 not found error, but I am not sure how to troubleshoot why I am not getting the web console.
Title: Re: Web console issues
Post by: Filipp Sudanov on March 03, 2025, 05:05:34 PM
For me it works under tomcat9.
Check tomcat log (journalctl -u tomcat9.service) - on startup it logs JVM Version. If you have several versions of Java installed on your system, tomcat may pick not the latest one.