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

时间:2015-06-10 14:50:53

标签: tomcat jms fedora-commons

我正在尝试升级我的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页面。 谢谢你的帮助!

1 个答案:

答案 0 :(得分:1)

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