gpt4 book ai didi

Artifactory 6.8.7 无法启动,因为无法连接到访问服务器

转载 作者:行者123 更新时间:2023-12-04 01:46:11 26 4
gpt4 key购买 nike

由于在 RHEL 7 上使用 rpm 升级到 6.8.7,使用 systemctl start artifactory 失败

查看日志,此时失败

2019-03-16 09:50:28,952 [art-init] [INFO ] (o.a.s.a.ArtifactoryAccessClientConfigStore:593) - Using Access Server URL: http://localhost:8040/access (bundled) source: detected
2019-03-16 09:50:29,379 [art-init] [INFO ] (o.a.s.a.AccessServiceImpl:353) - Waiting for access server...
2019-03-16 09:50:30,625 [art-init] [WARN ] (o.j.a.c.AccessClientHttpException:41) - Unrecognized ErrorsModel by Access. Original message: Failed on executing /api/v1/system/ping, with response: Not Found
2019-03-16 09:50:30,634 [art-init] [ERROR] (o.a.s.a.AccessServiceImpl:364) - Could not ping access server: {}
org.jfrog.access.client.AccessClientHttpException: HTTP response status 404:Failed on executing /api/v1/system/ping, with response: Not Found

以前我们会得到

2019-03-13 09:56:06,293 [art-init] [INFO ] (o.a.s.a.ArtifactoryAccessClientConfigStore:593) - Using Access Server URL: http://localhost:8040/access (bundled) source: detected
2019-03-13 09:56:06,787 [art-init] [INFO ] (o.a.s.a.AccessServiceImpl:353) - Waiting for access server...
2019-03-13 09:56:24,068 [art-init] [INFO ] (o.a.s.a.AccessServiceImpl:360) - Got response from Access server after 17280 ms, continuing.

关于调试此访问服务器是否已启动的任何建议?

除此之外,我还发现日志显示它在启动 jar 文件时工作

2019-03-08 09:19:11,609 [localhost-startStop-2] [INFO ] (o.j.a.AccessApplication:48) - Starting AccessApplication v4.1.48 on hostname.nexor.co.uk with PID 5913 (/opt/jfrog/artifactory/tomcat/webapps/access/WEB-INF/lib/access-application-4.1.48.jar started by artifactory in /)

现在,当我查看时,我发现/opt/jfrog/artifactory/tomcat/webapps/access/是空的,因此没有要运行的 jar 文件

rpm 确实提供了一个 access.war 文件,就在那里

$ ls -l /opt/jfrog/artifactory/webapps
total 104692
-rwxrwxr-x. 1 root root 51099759 Mar 14 12:14 access.war
-rwxrwxr-x. 1 root root 56099348 Mar 14 12:14 artifactory.war

是否有一些我可以运行的手动步骤来扩展这个 war 文件以获取 jar(你可以猜到我没有使用我的 java 应用程序)

最佳答案

最终通过删除空的/opt/jfrog/artifactory/tomcat/webapps/access 目录并创建一个包含所需 jar 文件的新目录使其工作。

不知道为什么会这样,但这对我有用

关于Artifactory 6.8.7 无法启动,因为无法连接到访问服务器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55196720/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com