Invalid Stomp frame with HornetQ and Apache.NMS.Stomp1.5.3
upradeepkumar25 Feb 20, 2013 1:30 AMHi i am facing the problem with Apache.NMS.Stomp1.5.3 and
HornetQ2.2.16.when i connected stomp with HornetQ, getting the
following exception for every 30-40 seconds and one more thing is if
the server not getting any response from client(.NET) then the
serverside automatically closing the connection
and saying warning as below,
Warning:-
18:05:12,574 WARN [org.hornetq.core.protocol.
stomp.StompConnection]
(hornetq-failure-check-thread) Connection failure has been detected:
Did not receive data from /172.16.170.144:60901. It is likely the
client has exited or crashed without closing its connection, or the
network between the server and client has failed. You also might have
configured connection-ttl and client-failure-check-period incorrectly.
Please check user manual for more information. The connection will now
be closed. [code=3]
18:05:12,574 WARN [org.hornetq.core.server.impl.ServerSessionImpl]
(hornetq-failure-check-thread) Client connection failed, clearing up
resources for session 9f00524f-7a8a-11e2-a93e-8b9100aee2fd
18:05:12,574 WARN [org.hornetq.core.server.impl.ServerSessionImpl]
(hornetq-failure-check-thread) Cleared up resources for session
9f00524f-7a8a-11e2-a93e-8b9100aee2fd
Exception i am getting:-
ERROR [org.hornetq.core.protocol.stomp.StompProtocolManager] (Old I/O
server worker (parentId: 26735758, [id: 0x0197f48e,
/172.16.170.67:61613])) Failed to decode:
org.hornetq.core.protocol.stomp.StompException: Invalid STOMP frame:
10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
at org.hornetq.core.protocol.stomp.StompDecoder.throwInvalid(StompDecoder.java:566)
[hornetq-core-2.2.16.Final-redhat-1.jar:2.2.16.Final (HQ_2_2_16_FINAL,
122)]
at org.hornetq.core.protocol.stomp.StompDecoder.decode(StompDecoder.java:367)
[hornetq-core-2.2.16.Final-redhat-1.jar:2.2.16.Final (HQ_2_2_16_FINAL,
122)]
at org.hornetq.core.protocol.stomp.StompProtocolManager.handleBuffer(StompProtocolManager.java:181)
[hornetq-core-2.2.16.Final-redhat-1.jar:2.2.16.Final (HQ_2_2_16_FINAL,
122)]
at org.hornetq.core.protocol.stomp.StompConnection.bufferReceived(StompConnection.java:292)
[hornetq-core-2.2.16.Final-redhat-1.jar:2.2.16.Final (HQ_2_2_16_FINAL,
122)]
at org.hornetq.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:534)
[hornetq-core-2.2.16.Final-redhat-1.jar:2.2.16.Final (HQ_2_2_16_FINAL,
122)]
at org.hornetq.core.remoting.impl.netty.HornetQChannelHandler.messageReceived(HornetQChannelHandler.java:73)
[hornetq-core-2.2.16.Final-redhat-1.jar:2.2.16.Final (HQ_2_2_16_FINAL,
122)]
at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:100)
[netty-3.2.6.Final-redhat-1.jar:]
at org.jboss.netty.channel.StaticChannelPipeline.sendUpstream(StaticChannelPipeline.java:372)
[netty-3.2.6.Final-redhat-1.jar:]
at org.jboss.netty.channel.StaticChannelPipeline.sendUpstream(StaticChannelPipeline.java:367)
[netty-3.2.6.Final-redhat-1.jar:]
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:274)
[netty-3.2.6.Final-redhat-1.jar:]
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:261)
[netty-3.2.6.Final-redhat-1.jar:]
at org.jboss.netty.channel.socket.oio.OioWorker.run(OioWorker.java:100)
[netty-3.2.6.Final-redhat-1.jar:]
at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
[netty-3.2.6.Final-redhat-1.jar:]
at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:44)
[netty-3.2.6.Final-redhat-1.jar:]
at org.jboss.netty.util.VirtualExecutorService$ChildExecutorRunnable.run(VirtualExecutorService.java:181)
[netty-3.2.6.Final-redhat-1.jar:]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[rt.jar:1.7.0]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[rt.jar:1.7.0]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0]
Please do the help how to solve these two problems and let me know in
which casesi will get these exceptions..
Thank you,
UPradeep.
-
standalone.xml 21.4 KB