Jim Gomes created ACTIVEMQ6-106:
-----------------------------------

             Summary: OpenWire Protocol Failure with NMS Clients
                 Key: ACTIVEMQ6-106
                 URL: https://issues.apache.org/jira/browse/ACTIVEMQ6-106
             Project: ActiveMQ Artemis
          Issue Type: Bug
    Affects Versions: 6.0.0
         Environment: Debian Linux, Java 1.8.0.20 (Server)
Windows 7 32-bit, .NET 4.0 (Client)
            Reporter: Jim Gomes
            Priority: Blocker
             Fix For: 6.0.0


When attempting to connect an NMS client via OpenWire, a server side exception 
in thrown, and the client fails to connect. Following is the exception thrown 
on the server:

ERROR [org.apache.activemq.artemis.core.server] error decoding: 
java.lang.IllegalStateException: Cannot handle command: ConsumerControl 
{commandId = 0, responseRequired = false, consumerId = 
ID:testmachine-58728-635671869132994591-1:0:44:1, close = false, stop = false, 
start = false, flush = false, prefetch = 32766, destination = 
topic://UnitTest.Status}
        at 
org.apache.activemq.artemis.core.protocol.openwire.OpenWireProtocolManager.handleCommand(OpenWireProtocolManager.java:236)
 [artemis-openwire-protocol-1.0.0.jar:1.0.0]
        at 
org.apache.activemq.artemis.core.protocol.openwire.OpenWireConnection.bufferReceived(OpenWireConnection.java:315)
 [artemis-openwire-protocol-1.0.0.jar:1.0.0]
        at 
org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:694)
 [artemis-server-1.0.0.jar:1.0.0]
        at 
org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQChannelHandler.channelRead(ActiveMQChannelHandler.java:73)
 [artemis-core-client-1.0.0.jar:1.0.0]
        at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:332)
 [netty-all-4.0.20.Final.jar:4.0.20.Final]
        at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:318)
 [netty-all-4.0.20.Final.jar:4.0.20.Final]
        at 
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787)
 [netty-all-4.0.20.Final.jar:4.0.20.Final]
        at 
io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:125)
 [netty-all-4.0.20.Final.jar:4.0.20.Final]
        at 
io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:507) 
[netty-all-4.0.20.Final.jar:4.0.20.Final]
        at 
io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:464)
 [netty-all-4.0.20.Final.jar:4.0.20.Final]
        at 
io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:378) 
[netty-all-4.0.20.Final.jar:4.0.20.Final]
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:350) 
[netty-all-4.0.20.Final.jar:4.0.20.Final]
        at 
io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
 [netty-all-4.0.20.Final.jar:4.0.20.Final]
        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_20]




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

Reply via email to