My set up is as follows:
1. Broker - ActiveMQ running with amqp enabled mode
2. Publisher - using qpid jms client for AMQP 1.0
2. Consumer - using qpid jms client for AMQP 1.0

Intermittently if I see that when I start consumers, it is not able to
connect to the broker. When I check ActiveMQ log, it shows the following
stack trace ( I have looked all over and not able to find any hint). Note
that it does not always happen:

INFO   | jvm 1    | 2014/05/01 14:23:31 |  WARN | Transport Connection to:
tcp://127.0.0.1:49327 failed: java.io.IOException
INFO   | jvm 1    | 2014/05/01 14:23:31 |
org.apache.activemq.transport.amqp.AmqpProtocolException: Could not decode
AMQP frame: hex:
0000003d02000000005310c03004a12434383862363165632d646365362d343134612d626561342d6239383436336464316435664070000100006000ff
INFO   | jvm 1    | 2014/05/01 14:23:31 |       at
org.apache.activemq.transport.amqp.AmqpProtocolConverter.onFrame(AmqpProtocolConverter.java:227)
INFO   | jvm 1    | 2014/05/01 14:23:31 |       at
org.apache.activemq.transport.amqp.AmqpProtocolConverter.onAMQPData(AmqpProtocolConverter.java:217)
INFO   | jvm 1    | 2014/05/01 14:23:31 |       at
org.apache.activemq.transport.amqp.AmqpTransportFilter.onCommand(AmqpTransportFilter.java:96)
INFO   | jvm 1    | 2014/05/01 14:23:31 |       at
org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83)
INFO   | jvm 1    | 2014/05/01 14:23:31 |       at
org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:214)
INFO   | jvm 1    | 2014/05/01 14:23:31 |       at
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:196)
INFO   | jvm 1    | 2014/05/01 14:23:31 |       at java.lang.Thread.run(Unknown
Source)
INFO   | jvm 1    | 2014/05/01 14:23:31 | Caused by:
org.apache.qpid.proton.engine.TransportException:
org.apache.qpid.proton.engine.TransportException: AMQP header mismatch value
0, expecting 41. In state: HEADER0
INFO   | jvm 1    | 2014/05/01 14:23:31 |       at
org.apache.qpid.proton.engine.TransportResultFactory$TransportResultImpl.checkIsOk(TransportResultFactory.java:116)
INFO   | jvm 1    | 2014/05/01 14:23:31 |       at
org.apache.qpid.proton.engine.impl.TransportImpl.input(TransportImpl.java:202)
INFO   | jvm 1    | 2014/05/01 14:23:31 |       at
org.apache.activemq.transport.amqp.AmqpProtocolConverter.onFrame(AmqpProtocolConverter.java:224)
INFO   | jvm 1    | 2014/05/01 14:23:31 |       ... 6 more
INFO   | jvm 1    | 2014/05/01 14:23:31 | Caused by:
org.apache.qpid.proton.engine.TransportException: AMQP header mismatch value
0, expecting 41. In state: HEADER0
INFO   | jvm 1    | 2014/05/01 14:23:31 |       at
org.apache.qpid.proton.engine.impl.FrameParser.input(FrameParser.java:122)
INFO   | jvm 1    | 2014/05/01 14:23:31 |       at
org.apache.qpid.proton.engine.impl.FrameParser.process(FrameParser.java:502)
INFO   | jvm 1    | 2014/05/01 14:23:31 |       at
org.apache.qpid.proton.engine.impl.TransportImpl.process(TransportImpl.java:1213)
INFO   | jvm 1    | 2014/05/01 14:23:31 |       at
org.apache.qpid.proton.engine.impl.TransportImpl.processInput(TransportImpl.java:1175)
INFO   | jvm 1    | 2014/05/01 14:23:31 |       ... 8 more





--
View this message in context: 
http://activemq.2283324.n4.nabble.com/AmqpProtocolException-Could-not-decode-AMQP-frame-tp4680794.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to