我正在使用vagrant来管理ubuntu,并且已经安装了Jenkins并尝试了人工制品。已安装此文件,但在运行install.sh脚本后,它表明服务正在运行,但URL(IP:port)抛出404错误。尝试搜索,除了在install.sh期间使用工件名称之外,找不到任何解决方法。 Artifactory安装在“ var / opt / jfrog / artifactory /”下
• Couldn't match type ‘a’ with ‘SomeMyType’
‘a’ is untouchable
inside the constraints: 'True ~ (1 <=? n)
catalina下的localhost日志中没有任何内容,但catalina.out日志具有以下严重异常。
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
我已经尝试了install.sh并将用户组指定为args
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 artifactory artifactory
答案 0 :(得分:0)
查看错误代码片段,似乎访问服务遇到问题了。您能否检查访问服务日志中的问题? 另一方面,由于将无效的访问版本打印到/var/opt/jfrog/artifactory/access/data/access.env.version文件,也可能发生此问题。您可以使用以下命令更新访问版本,并查看它是否可以解决问题?
echo "4" > /var/opt/jfrog/artifactory/access/data/access.env.version