4 Replies Latest reply on Sep 4, 2011 1:47 AM by galanfish

    error occur when embedded server restart

    galanfish

      hi all.

      i use hornetq as a embedded component in my app.

      when i shutdown my app with the command ctrl + c (windows console) and then restart, the console showup with fatal error:

       

      FATAL: Caught unexpected exception

      java.lang.IllegalStateException: 13996454 Could not find reference on consumerID

      =0, messageId = 24348 queue = hello.queue.test closed = false

              at org.hornetq.core.server.impl.ServerConsumerImpl.acknowledge(ServerConsumerImpl.java:560)

              at org.hornetq.core.server.impl.ServerSessionImpl.acknowledge(ServerSessionImpl.java:574)

              at org.hornetq.core.protocol.core.ServerSessionPacketHandler.handlePacket(ServerSessionPacketHandler.java:269)

              at org.hornetq.core.protocol.core.impl.ChannelImpl.handlePacket(ChannelImpl.java:474)

              at org.hornetq.core.protocol.core.impl.RemotingConnectionImpl.doBufferReceived(RemotingConnectionImpl.java:496)

              at org.hornetq.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:457)

              at org.hornetq.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:459)

              at org.hornetq.core.remoting.impl.invm.InVMConnection$1.run(InVMConnection.java:137)

              at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:100)

              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

              at java.lang.Thread.run(Thread.java:619)

      2011-9-3 15:29:18 org.hornetq.core.logging.impl.JULLogDelegate error

       

      is there anyone seen this issue before?

      any advice would be greatly appreciated. thx.