zoukankan      html  css  js  c++  java
  • MQ报错Waiting for workers to finish.Stopping container from aborted consumer.Successfully waited for workers to finish.

    2020-04-27 11:34:37.312 [SimpleAsyncTaskExecutor-37] ERROR org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Consumer received fatal exception during processing
    org.springframework.amqp.rabbit.listener.exception.FatalListenerExecutionException: Invalid listener
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1142)
    at java.lang.Thread.run(Thread.java:748)
    Caused by: org.springframework.amqp.rabbit.listener.exception.ListenerExecutionFailedException: Failed to invoke target method 'handleMessage' with argument type = [class [B], value = [{[B@15651707}]
    at org.springframework.amqp.rabbit.listener.adapter.MessageListenerAdapter.invokeListenerMethod(MessageListenerAdapter.java:348)
    at org.springframework.amqp.rabbit.listener.adapter.MessageListenerAdapter.onMessage(MessageListenerAdapter.java:253)
    at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:756)
    at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:679)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$001(SimpleMessageListenerContainer.java:83)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$1.invokeListener(SimpleMessageListenerContainer.java:170)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.invokeListener(SimpleMessageListenerContainer.java:1257)
    at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:660)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doReceiveAndExecute(SimpleMessageListenerContainer.java:1021)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.receiveAndExecute(SimpleMessageListenerContainer.java:1005)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$700(SimpleMessageListenerContainer.java:83)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1119)
    ... 1 common frames omitted
    Caused by: java.lang.NoSuchMethodException: com.drawblue.pushserver.rabbitmq.PushHandler.handleMessage([B)
    at java.lang.Class.getMethod(Class.java:1786)
    at org.springframework.util.MethodInvoker.prepare(MethodInvoker.java:174)
    at org.springframework.amqp.rabbit.listener.adapter.MessageListenerAdapter.invokeListenerMethod(MessageListenerAdapter.java:326)
    ... 12 common frames omitted
    2020-04-27 11:34:37.312 [SimpleAsyncTaskExecutor-36] ERROR org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Consumer received fatal exception during processing
    org.springframework.amqp.rabbit.listener.exception.FatalListenerExecutionException: Invalid listener
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1142)
    at java.lang.Thread.run(Thread.java:748)
    Caused by: org.springframework.amqp.rabbit.listener.exception.ListenerExecutionFailedException: Failed to invoke target method 'handleMessage' with argument type = [class [B], value = [{[B@6c782b25}]
    at org.springframework.amqp.rabbit.listener.adapter.MessageListenerAdapter.invokeListenerMethod(MessageListenerAdapter.java:348)
    at org.springframework.amqp.rabbit.listener.adapter.MessageListenerAdapter.onMessage(MessageListenerAdapter.java:253)
    at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:756)
    at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:679)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$001(SimpleMessageListenerContainer.java:83)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$1.invokeListener(SimpleMessageListenerContainer.java:170)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.invokeListener(SimpleMessageListenerContainer.java:1257)
    at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:660)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doReceiveAndExecute(SimpleMessageListenerContainer.java:1021)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.receiveAndExecute(SimpleMessageListenerContainer.java:1005)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$700(SimpleMessageListenerContainer.java:83)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1119)
    ... 1 common frames omitted
    Caused by: java.lang.NoSuchMethodException: com.drawblue.pushserver.rabbitmq.PushHandler.handleMessage([B)
    at java.lang.Class.getMethod(Class.java:1786)
    at org.springframework.util.MethodInvoker.prepare(MethodInvoker.java:174)
    at org.springframework.amqp.rabbit.listener.adapter.MessageListenerAdapter.invokeListenerMethod(MessageListenerAdapter.java:326)
    ... 12 common frames omitted
    2020-04-27 11:34:37.313 [SimpleAsyncTaskExecutor-35] ERROR org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Consumer received fatal exception during processing
    org.springframework.amqp.rabbit.listener.exception.FatalListenerExecutionException: Invalid listener
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1142)
    at java.lang.Thread.run(Thread.java:748)
    Caused by: org.springframework.amqp.rabbit.listener.exception.ListenerExecutionFailedException: Failed to invoke target method 'handleMessage' with argument type = [class [B], value = [{[B@7288ef2}]
    at org.springframework.amqp.rabbit.listener.adapter.MessageListenerAdapter.invokeListenerMethod(MessageListenerAdapter.java:348)
    at org.springframework.amqp.rabbit.listener.adapter.MessageListenerAdapter.onMessage(MessageListenerAdapter.java:253)
    at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:756)
    at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:679)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$001(SimpleMessageListenerContainer.java:83)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$1.invokeListener(SimpleMessageListenerContainer.java:170)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.invokeListener(SimpleMessageListenerContainer.java:1257)
    at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:660)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doReceiveAndExecute(SimpleMessageListenerContainer.java:1021)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.receiveAndExecute(SimpleMessageListenerContainer.java:1005)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$700(SimpleMessageListenerContainer.java:83)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1119)
    ... 1 common frames omitted
    Caused by: java.lang.NoSuchMethodException: com.drawblue.pushserver.rabbitmq.PushHandler.handleMessage([B)
    at java.lang.Class.getMethod(Class.java:1786)
    at org.springframework.util.MethodInvoker.prepare(MethodInvoker.java:174)
    at org.springframework.amqp.rabbit.listener.adapter.MessageListenerAdapter.invokeListenerMethod(MessageListenerAdapter.java:326)
    ... 12 common frames omitted
    2020-04-27 11:34:37.318 [SimpleAsyncTaskExecutor-7] INFO org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Waiting for workers to finish.
    2020-04-27 11:34:37.318 [SimpleAsyncTaskExecutor-36] ERROR org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Stopping container from aborted consumer
    2020-04-27 11:34:37.318 [SimpleAsyncTaskExecutor-35] ERROR org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Stopping container from aborted consumer
    2020-04-27 11:34:37.318 [SimpleAsyncTaskExecutor-36] INFO org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Waiting for workers to finish.
    2020-04-27 11:34:37.319 [SimpleAsyncTaskExecutor-6] ERROR org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Stopping container from aborted consumer
    2020-04-27 11:34:37.319 [SimpleAsyncTaskExecutor-6] INFO org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Waiting for workers to finish.
    2020-04-27 11:34:37.319 [SimpleAsyncTaskExecutor-39] ERROR org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Stopping container from aborted consumer
    2020-04-27 11:34:37.319 [SimpleAsyncTaskExecutor-43] ERROR org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Stopping container from aborted consumer
    2020-04-27 11:34:37.319 [SimpleAsyncTaskExecutor-39] INFO org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Waiting for workers to finish.
    2020-04-27 11:34:37.319 [SimpleAsyncTaskExecutor-37] ERROR org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Stopping container from aborted consumer
    2020-04-27 11:34:37.319 [SimpleAsyncTaskExecutor-37] INFO org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Waiting for workers to finish.
    2020-04-27 11:34:37.319 [SimpleAsyncTaskExecutor-35] INFO org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Waiting for workers to finish.
    2020-04-27 11:34:37.319 [SimpleAsyncTaskExecutor-43] INFO org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Waiting for workers to finish.
    2020-04-27 11:34:37.319 [SimpleAsyncTaskExecutor-38] ERROR org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Stopping container from aborted consumer
    2020-04-27 11:34:37.319 [SimpleAsyncTaskExecutor-42] ERROR org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Stopping container from aborted consumer
    2020-04-27 11:34:37.319 [SimpleAsyncTaskExecutor-38] INFO org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Waiting for workers to finish.
    2020-04-27 11:34:37.319 [SimpleAsyncTaskExecutor-42] INFO org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Waiting for workers to finish.
    2020-04-27 11:34:37.319 [SimpleAsyncTaskExecutor-41] ERROR org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Stopping container from aborted consumer
    2020-04-27 11:34:37.319 [SimpleAsyncTaskExecutor-40] ERROR org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Stopping container from aborted consumer
    2020-04-27 11:34:37.319 [SimpleAsyncTaskExecutor-41] INFO org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Waiting for workers to finish.
    2020-04-27 11:34:37.319 [SimpleAsyncTaskExecutor-40] INFO org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Waiting for workers to finish.
    2020-04-27 11:34:37.319 [SimpleAsyncTaskExecutor-45] ERROR org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Stopping container from aborted consumer
    2020-04-27 11:34:37.319 [SimpleAsyncTaskExecutor-45] INFO org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Waiting for workers to finish.
    2020-04-27 11:34:37.320 [SimpleAsyncTaskExecutor-46] ERROR org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Stopping container from aborted consumer
    2020-04-27 11:34:37.320 [SimpleAsyncTaskExecutor-50] ERROR org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Stopping container from aborted consumer
    2020-04-27 11:34:37.320 [SimpleAsyncTaskExecutor-50] INFO org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Waiting for workers to finish.
    2020-04-27 11:34:37.320 [SimpleAsyncTaskExecutor-46] INFO org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Waiting for workers to finish.
    2020-04-27 11:34:37.320 [SimpleAsyncTaskExecutor-4] ERROR org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Stopping container from aborted consumer
    2020-04-27 11:34:37.320 [SimpleAsyncTaskExecutor-5] ERROR org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Stopping container from aborted consumer
    2020-04-27 11:34:37.320 [SimpleAsyncTaskExecutor-47] ERROR org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Stopping container from aborted consumer
    2020-04-27 11:34:37.320 [SimpleAsyncTaskExecutor-4] INFO org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Waiting for workers to finish.
    2020-04-27 11:34:37.320 [SimpleAsyncTaskExecutor-5] INFO org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Waiting for workers to finish.
    2020-04-27 11:34:37.320 [SimpleAsyncTaskExecutor-47] INFO org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Waiting for workers to finish.
    2020-04-27 11:34:37.320 [SimpleAsyncTaskExecutor-49] ERROR org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Stopping container from aborted consumer
    2020-04-27 11:34:37.320 [SimpleAsyncTaskExecutor-44] ERROR org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Stopping container from aborted consumer
    2020-04-27 11:34:37.320 [SimpleAsyncTaskExecutor-49] INFO org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Waiting for workers to finish.
    2020-04-27 11:34:37.320 [SimpleAsyncTaskExecutor-3] ERROR org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Stopping container from aborted consumer
    2020-04-27 11:34:37.320 [SimpleAsyncTaskExecutor-44] INFO org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Waiting for workers to finish.
    2020-04-27 11:34:37.320 [SimpleAsyncTaskExecutor-3] INFO org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Waiting for workers to finish.
    2020-04-27 11:34:37.320 [SimpleAsyncTaskExecutor-48] ERROR org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Stopping container from aborted consumer
    2020-04-27 11:34:37.320 [SimpleAsyncTaskExecutor-48] INFO org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Waiting for workers to finish.
    2020-04-27 11:34:38.283 [SimpleAsyncTaskExecutor-7] INFO org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Successfully waited for workers to finish.

    一般是发的消息有问题,积累在队列里面,处理方法,清空队列消息(实在不行删除该队列),重新启动服务解决

  • 相关阅读:
    C
    B
    A
    poj1222
    请求转发和重定向
    中文乱码
    Servlet 第一天
    Oracle 锁
    Oracle 包的学习
    初学Linux
  • 原文地址:https://www.cnblogs.com/xiaoyao-001/p/12785918.html
Copyright © 2011-2022 走看看