Web Interface does not work
-
Hello,
I made an update from V 2.0.6 to 2.1-M3
Everything works fineToday I made the update from 2.1-M3 to 2.1-RC1
I think the server works fine, I can us it with my local Management Installation.I made the update with WEB Interface on my DEBIAN (nxmc-2.1-RC1.war --> nxmc.war)
The neccessary folder (nxmc) was cerate automaticaly.I cannot reach the side by http://server:8080/nxmc/ or http://server:8080/nxmc/nxmc/
Message:
HTTP Status 404 - ProxyServlet: /
type Status report
message ProxyServlet: /
description The requested resource is not available.
Apache Tomcat/7.0.56 (Debian) -
-
Also, I should mention that I also couldn't get it to work with java 7.
So I added
deb http://ftp.debian.org/debian jessie-backports main
to /etc/apt/sources.listInstalled
apt-get install -t jessie-backports openjdk-8-jre-headless ca-certificates-java tomcat8 tomcat8-adminAnd deployed it using the web manager interface that is linked from the default tomcat webpage.
I also upped the memory and cache sizes based on message I saw in the logs.
-
Thanky to Kevo

I did everythin and will have this configuraion on DEBIAN:
java version "1.8.0_131"
tomcat8
tomcat-admin
I delete all old files (nxmc.war) and directories (nxmc) in /var/lib/tomcat8/webapps
Then I started Tomcat Web Application Manager an deployed the nxmc.war file.
After a few seconds the /nxmc was listed in Applications
But when I click on this Applikation I will have a new message and the NETXMS GUI will not work:
HTTP Status 404 – Not Found
Type Status Report
Message ProxyServlet: /
Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Apache Tomcat/8.5.12 (Debian) -
I solved the problem:
- uninstall all old versions, I found it with: dpkg --get-selections | less | grep jdk | java | tomcat
example: # apt-get remove openjdk-7-jre-headless:amd64
# apt-get remove openjdk-7-jre:amd64
# apt-get remove tomcat7
In Logfile /var/log/tomcat8/catalina.out I found a missing JAVA servlet 2.3
solved with # apt-get install libservlet3.1-java
# service tomcat8 restart
# delete nxmc.war and folder
deployed with tomcat web admin page the new nxmc.war
And now it runs.
I have a new problem in LogFile:
[/nxmc] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cacheWho can I manage / increase the cache level?
- uninstall all old versions, I found it with: dpkg --get-selections | less | grep jdk | java | tomcat
-
Try adding
<Resources cachingAllowed="true" cacheMaxSize="100000" />into the /var/lib/tomcat8/conf/context.xml file. It should be placed before the closing </Context> tag. You can of course modify the size value to whatever works for you. I think I got that number from googling and just tried it out and it seems to work for me.
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