Problems with Centos and Tomcat web server install
-
I have installed the 2.0 beta on a fresh install of CentOS 6.4, 64bit. I have NetXMS installed and working with the management console, however I am having issues with the website.
I have copied the Web "WAR" file with this command to the appropriate tomcat directory:
cp nxmc-2.0-M4.war /var/lib/tomcat6/webappsThe website then propagates as expected to the "nxmc-2.0-M4" directory
However when I try to access the website at http://server ip address/nxmc-2.0-M4/nxmc
( just in case your wondering... no http://server ip address/nxmc does not work either...

I am getting the following error when attempting to access the website:
HTTP Status 404 - ProxyServlet: /nxmc-2.0-M4/nxmc
type Status report
message ProxyServlet: /nxmc-2.0-M4/nxmc
description The requested resource (ProxyServlet: /nxmc-2.0-M4/nxmc) is not available.
Apache Tomcat/6.0.24
-------------------
Any ideas?
Also, Victor, great software! If there is anything I can do to help let me know.
Thank you.
-
-
For 2.x branch you need at least Tomcat7 (Servlet API 3.0) running on JRE7 or newer.
-
Thank you Alex, that was my problem.
I installed Java 1.8 64 bit in my case, and removed tomcat 6 - and installed Tomcat 7
A bit of messing with it and it works.
Thank you all for such quick assistance!
-
-
I am trying to install the webui on a debian 8 container and I'm having the same issue. Getting a 404 error. I've tried increasing memory, but no luck. The app does show it's running on the tomcat manager interface, and the only other error I can find in the log is a message about increasing cache size.
Anyone know where I should look next.
-
-
Re: Steps to Install NetXMS on CentOS 6.4 with web frontend
« Reply #3 on: June 10, 2017, 10:00:26 pm »
ReplyQuoteModifyModifyRemoveRemove
Hello,I have a question as I am new to centos 7 and netxms and following you steps.
The /etc/init.d file what is file location?
I used nano /etc/init.d but will not save.
Where do I place the file or what directory do I open to edit?So were is the tomcat file placed in the root directory?
Create tomcat startup script in /etc/init.d
#!/bin/bash
# description: Tomcat Start Stop Restart
# processname: tomcat
# chkconfig: 234 20 80
JAVA_HOME=/opt/jdk1.8.0_45
export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH
export PATH
CATALINA_HOME=/usr/local/tomcat7case $1 in
start)
sh $CATALINA_HOME/bin/startup.sh
;;
stop)
sh $CATALINA_HOME/bin/shutdown.sh
;;
restart)
sh $CATALINA_HOME/bin/shutdown.sh
sh $CATALINA_HOME/bin/startup.sh
;;
esac
exit 0
Make script execuitable: chmod 755 tomcat
Chkconfig –add tomcatInstall NetXMS Web Frontend:
wget https://www.netxms.org/download/webui/nxmc-2.0-M4.war
cp nxmc-2.0-M4.war nxmc.war
cp nxmc.war /usr/local/tomcat7/webapps
service tomcat startThanks for your help
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login