为什么 JMS 消息传递客户端无法使用 fedora-commons 3.8.1 启动?

Why is JMS messaging client unable to start, with fedora-commons 3.8.1?

我正在尝试升级我的 fedora-commons 和 tomcat 存储库,所以我 运行 带有用于旧安装的 fedora-commons 的 install.properties .jar .似乎启动正常,没有任何问题,但启动几秒钟后,我在 catalina.out:

中收到此错误消息
Exception in thread "Thread-5" java.lang.RuntimeException: Unable to start JMS Messaging Client, 5 attempts were made, each attempt resulted in a java.net.ConnectException. The messaging broker at tcp://localhost:61616 is not available
at com.yourmediashelf.fedora.client.messaging.MessagingClient$JMSBrokerConnector.connect(MessagingClient.java:389)
at com.yourmediashelf.fedora.client.messaging.MessagingClient$JMSBrokerConnector.run(MessagingClient.java:349)

我在 fedora.log 中发现一条错误消息,这里是:

ERROR 2015-06-10 11:41:57.966 [http-bio-8080-exec-23] (ContextLoader) Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.fcrepo.server.Server' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: Fatal error while starting server

我无法进入 fedora/admin 页面,但我可以进入 tomcat 页面。 感谢您的帮助!

我的问题是我在 运行 部署新 fedora.war、fop.war...等的服务器启动之前将所有旧文件复制到 fedora 目录中。所以它将过时的代码与新代码混合在一起。