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 (Russian)
  3. Переход web 4.3.7 на 4.4.2

Переход web 4.3.7 на 4.4.2

Scheduled Pinned Locked Moved Support (Russian)
6 Posts 2 Posters 25.3k 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
    mOba
    wrote on last edited by
    #1

    Добрый день, 

    До версии 4.4.2 всегда веб в формате war обновлялось без проблем. Сервер обновил до версии 4.4.2, скачал новый war файл веб-клиента, закинул как обычно в директорию tomcat9 и вебка перестала отображаться. В .../eclipse/worspace/ логов нету. Лог tomcat9:

    [2023-09-18 16:30:16] [info] Deploying web application archive [/var/lib/tomcat9/webapps/nxmc.war]
    [2023-09-18 16:30:17] [info] At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping>
    [2023-09-18 16:30:18] [info] Deployment of web application archive [/var/lib/tomcat9/webapps/nxmc.war] has finished in [2,647] m

    Всё разворачивает, в вебе такая страница:

    HTTP Status 404 – Не найдено


    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.


    Может новая версия куда-то по другому теперь разворачивается? Откатываю до 4.3.7 и вебка отображается сразу.
    Apache Tomcat/9.0.31 (Ubuntu)

    1 Reply Last reply
    0
    • A
      A
      Alex Kirhenshtein
      wrote on last edited by
      #2

      Проверьте версию джавы, нужна 17+

      1 Reply Last reply
      0
      • M
        M
        mOba
        wrote on last edited by
        #3

        netxms@netxms-server:/var/lib/tomcat9/webapps$ java -version
        openjdk version "17.0.8.1" 2023-08-24
        OpenJDK Runtime Environment (build 17.0.8.1+1-Ubuntu-0ubuntu120.04)
        OpenJDK 64-Bit Server VM (build 17.0.8.1+1-Ubuntu-0ubuntu120.04, mixed mode, sharing)
        netxms@netxms-server:/var/lib/tomcat9/webapps$

        1 Reply Last reply
        0
        • A
          A
          Alex Kirhenshtein
          wrote on last edited by
          #4

          А томкат точно не использует? В логе консоли (где-то в глубине workdir томката есть файл .log) пишется на старте

          1 Reply Last reply
          0
          • M
            M
            mOba
            wrote on last edited by
            #5

            Это лог с 4.3.7 и он пишется:

            !SESSION 2023-09-18 16:55:37.385 -----------------------------------------------
            eclipse.buildId=unknown
            java.version=11.0.20.1
            java.vendor=Ubuntu
            BootLoader constants: OS=linux, ARCH=x86_64, WS=rap, NL=en_US
            Framework arguments:  -registryMultiLanguage
            Command-line arguments:  -registryMultiLanguage -ws rap

            !ENTRY org.eclipse.equinox.app 0 0 2023-09-18 16:55:37.385
            !MESSAGE Product org.netxms.webui.core.product could not be found.

            Когда 4.4.2 стартует лога нету, но почему в логе от 4.3.7 указана версия  java.version=11.0.20.1... может 17 не запускается?

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

              Оказалось что tomcat9 не верно выбирал версию java, в файле /usr/libexec/tomcat9/tomcat-locate-java.sh указал путь до JDK и новая версия 4.4.2 заработала  😎

              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