Переход web 4.3.7 на 4.4.2
-
Добрый день,
До версии 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) -
Проверьте версию джавы, нужна 17+
-
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$ -
А томкат точно не использует? В логе консоли (где-то в глубине workdir томката есть файл .log) пишется на старте
-
Это лог с 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 не запускается?
-
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