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

          Keith Wall created issue -
          Andrew MacBean made changes -
          Field Original Value New Value
          Assignee Andrew MacBean [ macbean ]
          Andrew MacBean made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Andrew MacBean made changes -
          Attachment 0001-QPID-3809-Java-Broker-killed-by-java.net.SocketExcep.patch [ 12513436 ]
          Andrew MacBean made changes -
          Attachment 0001-QPID-3809-Java-Broker-killed-by-java.net.SocketExcep.patch [ 12513436 ]
          Andrew MacBean made changes -
          Andrew MacBean made changes -
          Status In Progress [ 3 ] Ready To Review [ 10006 ]
          Andrew MacBean made changes -
          Assignee Andrew MacBean [ macbean ] Keith Wall [ k-wall ]
          Keith Wall made changes -
          Status Ready To Review [ 10006 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Keith Wall made changes -
          Link This issue is duplicated by QPID-3742 [ QPID-3742 ]
          Keith Wall made changes -
          Fix Version/s 0.15 [ 12319043 ]
          Rob Godfrey made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development