1 Reply Latest reply on Feb 23, 2010 5:14 AM by Jeff Mesnil

    Some stack traces for StompException in StompTest.java

    Michael Justin Novice

      Hello,

       

      the output for the StompTest JUnit tests contains three stack traces which might do not break the test but might be worth a look:

       


      org.hornetq.core.protocol.stomp.StompException: Transaction already started: tx1
          at org.hornetq.core.protocol.stomp.StompProtocolManager.onBegin(StompProtocolManager.java:363)
          at org.hornetq.core.protocol.stomp.StompProtocolManager.doHandleBuffer(StompProtocolManager.java:195)
          at org.hornetq.core.protocol.stomp.StompProtocolManager.handleBuffer(StompProtocolManager.java:146)
          at org.hornetq.core.protocol.stomp.StompConnection.bufferReceived(StompConnection.java:152)
          at org.hornetq.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:403)
          at org.hornetq.integration.transports.netty.HornetQChannelHandler.messageReceived(HornetQChannelHandler.java:67)
          at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:98)
          at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:560)
          at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:796)
          at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:391)
          at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:317)
          at org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:299)
          at org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:216)
          at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:80)
          at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:560)
          at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:555)
          at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:345)
          at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:332)
          at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:323)
          at org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:275)
          at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:196)
          at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
          at org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:46)
          at org.jboss.netty.util.VirtualExecutorService$ChildExecutorRunnable.run(VirtualExecutorService.java:179)
          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
          at java.lang.Thread.run(Thread.java:619)

       

       


      org.hornetq.core.protocol.stomp.StompException: There already is a subscription for: subscription/jms.topic.testtopic. Either use unique subscription IDs or do not create multiple subscriptions for the same destination
          at org.hornetq.core.protocol.stomp.StompProtocolManager.onSubscribe(StompProtocolManager.java:298)
          at org.hornetq.core.protocol.stomp.StompProtocolManager.doHandleBuffer(StompProtocolManager.java:183)
          at org.hornetq.core.protocol.stomp.StompProtocolManager.handleBuffer(StompProtocolManager.java:146)
          at org.hornetq.core.protocol.stomp.StompConnection.bufferReceived(StompConnection.java:152)
          at org.hornetq.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:403)
          at org.hornetq.integration.transports.netty.HornetQChannelHandler.messageReceived(HornetQChannelHandler.java:67)
          at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:98)
          at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:560)
          at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:796)
          at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:391)
          at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:317)
          at org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:299)
          at org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:216)
          at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:80)
          at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:560)
          at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:555)
          at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:345)
          at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:332)
          at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:323)
          at org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:275)
          at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:196)
          at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
          at org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:46)
          at org.jboss.netty.util.VirtualExecutorService$ChildExecutorRunnable.run(VirtualExecutorService.java:179)
          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
          at java.lang.Thread.run(Thread.java:619)

       

       


      org.hornetq.core.protocol.stomp.StompException: Cannot unsubscribe as no subscription exists for id: subscription/jms.queue.test
          at org.hornetq.core.protocol.stomp.StompProtocolManager.onUnsubscribe(StompProtocolManager.java:332)
          at org.hornetq.core.protocol.stomp.StompProtocolManager.doHandleBuffer(StompProtocolManager.java:187)
          at org.hornetq.core.protocol.stomp.StompProtocolManager.handleBuffer(StompProtocolManager.java:146)
          at org.hornetq.core.protocol.stomp.StompConnection.bufferReceived(StompConnection.java:152)
          at org.hornetq.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:403)
          at org.hornetq.integration.transports.netty.HornetQChannelHandler.messageReceived(HornetQChannelHandler.java:67)
          at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:98)
          at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:560)
          at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:796)
          at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:391)
          at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:317)
          at org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:299)
          at org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:216)
          at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:80)
          at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:560)
          at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:555)
          at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:345)
          at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:332)
          at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:323)
          at org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:275)
          at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:196)
          at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
          at org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:46)
          at org.jboss.netty.util.VirtualExecutorService$ChildExecutorRunnable.run(VirtualExecutorService.java:179)
          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
          at java.lang.Thread.run(Thread.java:619)

       

      Michael