Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-2139

IOException: Broken Pipe display by Mina SSHd in the log

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 2.2.9
    • None
    • karaf
    • None

    Description

      When connecting to a child instance (using admin:connect or instance:connect), Mina SSHd raises the following exception:

      2013-01-24 22:20:45,145 | INFO | NioProcessor-4 | ServerSession | 18 - org.apache.sshd.core - 0.7.0 | Session created from /127.0.0.1:53976
      2013-01-24 22:20:45,147 | WARN | NioProcessor-4 | ServerSession | 18 - org.apache.sshd.core - 0.7.0 | Exception caught
      java.io.IOException: Broken pipe
      at sun.nio.ch.FileDispatcher.write0(Native Method)[:1.6.0_26]
      at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)[:1.6.0_26]
      at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:72)[:1.6.0_26]
      at sun.nio.ch.IOUtil.write(IOUtil.java:43)[:1.6.0_26]
      at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)[:1.6.0_26]
      at org.apache.mina.transport.socket.nio.NioProcessor.write(NioProcessor.java:221)[34:org.apache.mina.core:2.0.1]
      at org.apache.mina.transport.socket.nio.NioProcessor.write(NioProcessor.java:42)[34:org.apache.mina.core:2.0.1]
      at org.apache.mina.core.polling.AbstractPollingIoProcessor.writeBuffer(AbstractPollingIoProcessor.java:927)[34:org.apache.mina.core:2.0.1]
      at org.apache.mina.core.polling.AbstractPollingIoProcessor.flushNow(AbstractPollingIoProcessor.java:851)[34:org.apache.mina.core:2.0.1]
      at org.apache.mina.core.polling.AbstractPollingIoProcessor.flush(AbstractPollingIoProcessor.java:776)[34:org.apache.mina.core:2.0.1]
      at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$500(AbstractPollingIoProcessor.java:66)[34:org.apache.mina.core:2.0.1]
      at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1083)[34:org.apache.mina.core:2.0.1]
      at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)[34:org.apache.mina.core:2.0.1]
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_26]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_26]
      at java.lang.Thread.run(Thread.java:662)[:1.6.0_26]

      It's not a big deal as it works fine, but it could be great to "cleanup" the log about that.

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            jbonofre Jean-Baptiste Onofré
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: