Qpid
  1. Qpid
  2. QPID-3809

Java Broker killed by java.net.SocketException: Broken pipe (killed by uncaught exception handler)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.15
    • Fix Version/s: 0.15
    • Component/s: Java Broker
    • Labels:
      None

      Description

      I had just killed forcefully killed a Java Client, and found that the Broker died unexpectedly:

      
      ########################################################################
      #
      # Unhandled Exception org.apache.qpid.transport.SenderClosedException: sender is closed in Thread pool-3-thread-2
      #
      # Exiting
      #
      ########################################################################
      org.apache.qpid.transport.SenderClosedException: sender is closed
              at org.apache.qpid.transport.SenderClosedException.rethrow(SenderClosedException.java:49)
              at org.apache.qpid.transport.Session.invoke(Session.java:773)
              at org.apache.qpid.server.transport.ServerSession.sendMessage(ServerSession.java:203)
              at org.apache.qpid.server.subscription.Subscription_0_10.send(Subscription_0_10.java:627)
              at org.apache.qpid.server.queue.SimpleAMQQueue.deliverMessage(SimpleAMQQueue.java:822)
              at org.apache.qpid.server.queue.SimpleAMQQueue.attemptDelivery(SimpleAMQQueue.java:1813)
              at org.apache.qpid.server.queue.SimpleAMQQueue.processQueue(SimpleAMQQueue.java:1980)
              at org.apache.qpid.server.queue.QueueRunner.run(QueueRunner.java:74)
              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:662)
      Caused by: org.apache.qpid.transport.SenderClosedException: sender is closed
              at org.apache.qpid.transport.network.io.IoSender.send(IoSender.java:151)
              at org.apache.qpid.transport.network.io.IoSender.send(IoSender.java:40)
              at org.apache.qpid.transport.network.Disassembler.frame(Disassembler.java:118)
              at org.apache.qpid.transport.network.Disassembler.fragment(Disassembler.java:147)
              at org.apache.qpid.transport.network.Disassembler.method(Disassembler.java:242)
              at org.apache.qpid.transport.network.Disassembler.command(Disassembler.java:172)
              at org.apache.qpid.transport.network.Disassembler.command(Disassembler.java:48)
              at org.apache.qpid.transport.Method.delegate(Method.java:159)
              at org.apache.qpid.transport.network.Disassembler.send(Disassembler.java:73)
              at org.apache.qpid.transport.network.Disassembler.send(Disassembler.java:48)
              at org.apache.qpid.transport.Connection.send(Connection.java:403)
              at org.apache.qpid.server.transport.ServerConnection.send(ServerConnection.java:449)
              at org.apache.qpid.transport.Session.send(Session.java:591)
              at org.apache.qpid.transport.Session.invoke(Session.java:761)
              ... 9 more
      Caused by: java.net.SocketException: Broken pipe
              at java.net.SocketOutputStream.socketWrite0(Native Method)
              at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
              at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
              at org.apache.qpid.transport.network.io.IoSender.run(IoSender.java:313)
              ... 1 more
      
      

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Keith Wall
              Reporter:
              Keith Wall
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development