Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. Web Interface does not work

Web Interface does not work

Scheduled Pinned Locked Moved Support
6 Posts 2 Posters 31.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    R
    rainerh
    wrote on last edited by
    #1

    Hello,

    I made an update from V 2.0.6 to 2.1-M3
    Everything works fine

    Today 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)

    1 Reply Last reply
    0
    • K
      K
      Kevo
      wrote on last edited by
      #2

      Thread right below this one about web interface on CentOS addresses this problem.

      TL;DR;

      Try installing the war file using the manager interface that you can install along with tomcat.

      1 Reply Last reply
      0
      • K
        K
        Kevo
        wrote on last edited by
        #3

        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.list

        Installed
        apt-get install -t jessie-backports openjdk-8-jre-headless ca-certificates-java tomcat8 tomcat8-admin

        And 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.

        1 Reply Last reply
        0
        • R
          R
          rainerh
          wrote on last edited by
          #4

          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)

          1 Reply Last reply
          0
          • R
            R
            rainerh
            wrote on last edited by
            #5

            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 cache

            Who can I manage / increase the cache level?

            1 Reply Last reply
            0
            • K
              K
              Kevo
              wrote on last edited by
              #6

              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.

              1 Reply Last reply
              0

              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
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              Powered by NodeBB Contributors
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups