Apache Archiva返回http错误503 [英] Apache archiva returns http error 503

查看:189
本文介绍了Apache Archiva返回http错误503的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在VirtualBox内的Windows Server 2012 R2,Java版本1.8.0_60下使用apache Archiva v.2.0.在Windows自动更新之前,它曾经工作了很长时间.

I am using apache Archiva v. 2.2.0 under Windows Server 2012 R2, Java version 1.8.0_60 inside VirtualBox. It used to work for quite a long time before Windows autoupdate.

在Windows自动更新后,我在转到存档URL时收到一条错误消息:HTTP错误:503.访问/时出现问题.原因:服务不可用,由Jetty://提供支持.

After Windows autoupdate I am getting an error message when going to archiva url: HTTP ERROR: 503 . Problem accessing /. Reason: Service Unavailable, Powered by Jetty://.

Apache Archiva服务正在运行.没有错误日志生成.重新启动甚至重新安装该服务都没有影响.

The Apache Archiva service is running. No error logs are generated. Restarting or even reinstalling of the service has no impact.

回滚Windows更新后,我恢复了Archiva的正常运行,但神秘地,只有一次,即停止和重新启动Archiva会导致相同的HTTP错误503.

After rolling back of Windows update I restore the normal operation of Archiva, but mysteriously, just once, i.e. stopping and restarting of Archiva will cause the same HTTP ERROR 503.

日志文件未指示任何问题或错误原因.

The log file do not indicate any problem or error cuase.

谢谢您的提示.

推荐答案

就我而言,我发现ARCHIVA_BASE \ conf中的码头配置文件jetty.xml损坏了.

In my case I've found out that the jetty configuration file jetty.xml in ARCHIVA_BASE\conf got corrupted.

解决方案:

  1. 停止存档服务
  2. 用新的或最后一次已知的工作替换jetty.xml 备份.可以从 archiva网站上下载jetty.xml的新副本. 网站作为apache-archiva-2.2.0-bin.zip.文件中的文件位置 压缩文件是apache-archiva-2.2.1 \ conf \ jetty.xml
  3. 开始存档服务
  1. Stop archiva service
  2. Replace jetty.xml with either a fresh one or from last known working backup. A fresh copy of jetty.xml can be downloaded from archiva web site as an apache-archiva-2.2.0-bin.zip. File location within the zip file is apache-archiva-2.2.1\conf\jetty.xml
  3. Start archiva service

这篇关于Apache Archiva返回http错误503的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆