【发布时间】:2020-08-16 22:21:30
【问题描述】:
我正在使用 vagrant 来管理 ubuntu,并安装了 Jenkins 并尝试使用 artifactory。这是已安装的,但在运行 install.sh 脚本后,它显示服务正在运行,但 url (IP:port) 抛出 404 错误。尝试搜索并找不到任何解决方法,除了在 install.sh 期间使用工件名称。 Artifactory 安装在“var/opt/jfrog/artifactory/”下
HTTP Status 404 – Not Found
Type Status Report
Message The requested resource [/artifactory] is not available
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.57
catalina 下的 localhost 日志中没有任何内容,但 catalina.out 日志有以下严重异常。
16-Aug-2020 21:43:41.609 SEVERE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Error deploying deployment descriptor [/var/opt/jfrog/artifactory/tomcat/conf/Catalina/localhost/access.xml]
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to initialize component [org.apache.catalina.webresources.WarResourceSet@1b9c0f74]
Aug-2020 21:06:28.670 SEVERE [localhost-startStop-2] org.apache.catalina.startup.HostConfig.deployDescriptor Error deploying deployment descriptor [/var/opt/jfrog/artifactory/tomcat/conf/Catalina/localhost/artifactory.xml]
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/artifactory]]
我已按原样尝试 install.sh 并将用户组指定为 args
install.sh artifactory artifactory
版本:
ubuntu-xenial 16.04.7 LTS
jfrog-artifactory-oss-6.21.0.zip
【问题讨论】:
标签: ubuntu vagrant artifactory