activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARTEMIS-236) Improve Legacy support on older migrating clients
Date Fri, 09 Oct 2015 10:40:28 GMT

    [ https://issues.apache.org/jira/browse/ARTEMIS-236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14950186#comment-14950186
] 

ASF GitHub Bot commented on ARTEMIS-236:
----------------------------------------

GitHub user jmesnil opened a pull request:

    https://github.com/apache/activemq-artemis/pull/192

    [ARTEMIS-236] Improve Legacy support on older migrating clients

    set the client protocol manager factory on the server locator
    
    JIRA: https://issues.apache.org/jira/browse/ARTEMIS-236

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jmesnil/activemq-artemis ARTEMIS-236_legacy_protocol

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/192.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #192
    
----
commit 4bfb6e3a8c77429e47a2ec71605d7a2686dfc08f
Author: Jeff Mesnil <jmesnil@gmail.com>
Date:   2015-10-09T10:05:07Z

    [ARTEMIS-236] Improve Legacy support on older migrating clients
    
    set the client protocol manager factory on the server locator
    
    JIRA: https://issues.apache.org/jira/browse/ARTEMIS-236

----


> Improve Legacy support on older migrating clients
> -------------------------------------------------
>
>                 Key: ARTEMIS-236
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-236
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>            Reporter: Howard Nguyen
>            Assignee: clebert suconic
>             Fix For: 1.1.1
>
>
> On connect,
> Client repeatedly log  (ip is removed)
> {code}
> 2015-09-29 17:20:35,750 WARN  [org.hornetq.core.protocol.core.impl.RemotingConnectionImpl]
(Thread-36 (HornetQ-client-global-threads-1087057800)) Connection failure has been detected:
Did not receive data from server for org.hornetq.core.remoting.impl.netty.NettyConnection@2a864afa[local=
/x.x.x.x:53907, remote=/y.y.y.y:5445] [code=3]
> {code}
> Server repeatedly log
> {code}
> 17:12:07,012 WARNING [io.netty.channel.DefaultChannelPipeline] An exceptionCaught() event
was fired, and it reached at the tail of the pipeline. It usually means the last handler in
the pipeline did not handle the exception.: io.netty.handler.codec.DecoderException: java.lang.NullPointerException
>         at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:358)
[netty-all-4.0.30.Final.jar:4.0.30.Final]
>         at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:230)
[netty-all-4.0.30.Final.jar:4.0.30.Final]
>         at org.apache.activemq.artemis.core.protocol.ProtocolHandler$ProtocolDecoder.channelRead(ProtocolHandler.java:117)
[artemis-server-1.1.0.jar:1.1.0]
>         at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
[netty-all-4.0.30.Final.jar:4.0.30.Final]
>         at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
[netty-all-4.0.30.Final.jar:4.0.30.Final]
>         at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846)
[netty-all-4.0.30.Final.jar:4.0.30.Final]
>         at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
[netty-all-4.0.30.Final.jar:4.0.30.Final]
>         at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
[netty-all-4.0.30.Final.jar:4.0.30.Final]
>         at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
[netty-all-4.0.30.Final.jar:4.0.30.Final]
>         at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
[netty-all-4.0.30.Final.jar:4.0.30.Final]
>         at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354) [netty-all-4.0.30.Final.jar:4.0.30.Final]
>         at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:110)
[netty-all-4.0.30.Final.jar:4.0.30.Final]
>         at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_60]
> Caused by: java.lang.NullPointerException
>         at org.apache.activemq.artemis.core.protocol.ProtocolHandler$ProtocolDecoder.decode(ProtocolHandler.java:162)
[artemis-server-1.1.0.jar:1.1.0]
>         at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:327)
[netty-all-4.0.30.Final.jar:4.0.30.Final]
>         ... 12 more
> {code}
> broker.xml
> {code}
>                         <connector name="hornetq">tcp://0.0.0.0:5445?protocols=HORNETQ,STOMP</connector>
> {code}
> Single client using hornetq 2.2.16.FINAL, and single artemis 1.1.0



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message