本文介绍了无法识别传输方案:[tcp]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自从我与activeMQ合作以来已有多年了。我现在正在实施一个新的activeMQ服务器,该服务器的内部和外部都有客户端应用程序。

It has been years since I worked with activeMQ some. I am now implementing a new activeMQ server with client apps on the inside and outside.

我在本地测试了外部客户端应用程序,但是当我部署它时,我开始出现错误像这样:

I tested my outside client app locally, but when I deployed it, I started getting errors like:

2014-04-10 08:01:31,392 [signInResultListenerContainer-1] ERROR org.springframework.jms.listener.DefaultMessageListenerContainer - Could not refresh JMS Connection for destination 'queue://signInResult' - retrying in 5000 ms. Cause: Could not create Transport. Reason: java.io.IOException: Transport scheme NOT recognized: [tcp]

我检查了防火墙

<bean id="amqConnectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory">
    <property name="brokerURL" value="tcp://xxx.30.8.163:61616"/>
</bean>

关于导致错误的原因有什么想法?

Any ideas on what is causing the error?

推荐答案

我相信您的类路径中没有必要的资源。看看这个,然后从类路径中检查ActiveMQ jar /资源。

I believe you don't have the necessary resources in your classpath. Take a look at this similar issue and check the ActiveMQ jars/resources from the classpath.

这篇关于无法识别传输方案:[tcp]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-03 22:15
查看更多