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. Netxms tomcat .war deploy

Netxms tomcat .war deploy

Scheduled Pinned Locked Moved Support
6 Posts 3 Posters 36.6k 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.
  • M
    M
    madmucho
    wrote on last edited by
    #1

    Dear support team,
    i migrated to v3, and unable to get correct web ui .war file when i deploy latest .war from download section i still get app version 2.2.17 (9525) at logon screen and version conflict after login.

    Screenshot attached.


    ss.PNG

    1 Reply Last reply
    0
    • S
      S
      Sch.Donat
      wrote on last edited by
      #2

      Hi!

      For me it seems the web server still uses the old file. You could try recreating the config files and see if that help. If you are windows, you try to reinstall the webui service (webui installer).

      Regards

      1 Reply Last reply
      0
      • V
        V
        Victor Kirhenshtein
        wrote on last edited by
        #3

        Sometimes it helps to undeploy application, stop Tomcat, clean Tomcat's working directory, and deploy application again.

        Best regards,
        Victor

        1 Reply Last reply
        0
        • M
          M
          madmucho
          wrote on last edited by
          #4

          That is strange,

          i using tomcat8 on debian 10, so i stop it, delete working dir /var/lib/tomcat8/webapps

          start it for test, so no web working, i copy downloaded .war from web into webapps folder, it been automaticaly deployed i see v3 libs in plugins directory, but web told me same is i posted before.
           :-
          i do upgrade of previous versions using this method and was ok.

          #!/bin/bash
          
          wget -O ROOT.war https://www.netxms.org/download/releases/3.4/nxmc-3.4.284.war
          chown tomcat8:tomcat8 ROOT.war
          service tomcat8 stop
          cp -f ROOT.war /var/lib/tomcat8/webapps
          service tomcat8 start
          
          1 Reply Last reply
          0
          • V
            V
            Victor Kirhenshtein
            wrote on last edited by
            #5

            /var/lib/tomcat8/webapps is where application is deployed. But working directories for applications are in /var/lib/tomcat9/work/Catalina/localhost - try to delete them.

            Best regards,
            Victor

            1 Reply Last reply
            0
            • M
              M
              madmucho
              wrote on last edited by
              #6

              @victor said in Netxms tomcat .war deploy:

              /var/lib/tomcat8/webapps is where application is deployed. But working directories for applications are in /var/lib/tomcat8/work/Catalina/localhost - try to delete them.

              Best regards,
              Victor

              Thank You Victor, exactly like you write, after delete catalina work dir and start tomcat again new UI is up and running.

              Problem solved.

              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