karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Tran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-2139) IOException: Broken Pipe display by Mina SSHd in the log
Date Fri, 25 Jan 2013 00:11:13 GMT

    [ https://issues.apache.org/jira/browse/KARAF-2139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13562174#comment-13562174
] 

Dan Tran commented on KARAF-2139:
---------------------------------

It also throw an exception when I remote login into karaf shel

ssh karaf@mykarafhost -p mykarafsshport

here is exception

2013-01-24 16:09:30,774 | WARN  | NioProcessor-16  | KarafJaasAuthenticator           | shell.ssh.KarafJaa
h null not available to obtain information from user
javax.security.auth.login.LoginException: null not available to obtain information from user
        at org.apache.karaf.jaas.modules.properties.PropertiesLoginModule.login(PropertiesLoginModule.java
        at org.apache.karaf.jaas.boot.ProxyLoginModule.login(ProxyLoginModule.java:83)[karaf-jaas-boot.jar
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_03]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_03]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_03
        at java.lang.reflect.Method.invoke(Method.java:601)[:1.7.0_03]
        at javax.security.auth.login.LoginContext.invoke(LoginContext.java:784)[:1.7.0_03]
        at javax.security.auth.login.LoginContext.access$000(LoginContext.java:203)[:1.7.0_03]
        at javax.security.auth.login.LoginContext$4.run(LoginContext.java:698)[:1.7.0_03]
        at javax.security.auth.login.LoginContext$4.run(LoginContext.java:696)[:1.7.0_03]
        at java.security.AccessController.doPrivileged(Native Method)[:1.7.0_03]
        at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:695)[:1.7.0_03]
        at javax.security.auth.login.LoginContext.login(LoginContext.java:594)[:1.7.0_03]
        at org.apache.karaf.shell.ssh.KarafJaasAuthenticator.authenticate(KarafJaasAuthenticator.java:127)
        at org.apache.sshd.server.auth.UserAuthPublicKey.auth(UserAuthPublicKey.java:71)[24:org.apache.ssh
        at org.apache.sshd.server.session.ServerSession.userAuth(ServerSession.java:392)[24:org.apache.ssh
        at org.apache.sshd.server.session.ServerSession.handleMessage(ServerSession.java:201)[24:org.apach
        at org.apache.sshd.common.session.AbstractSession.decode(AbstractSession.java:566)[24:org.apache.s
        at org.apache.sshd.common.session.AbstractSession.messageReceived(AbstractSession.java:236)[24:org
        at org.apache.sshd.common.AbstractSessionIoHandler.messageReceived(AbstractSessionIoHandler.java:5
        at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilte
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterCh
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47)
        at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilt
        at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:109)[26:o
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterCh
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:71
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.j
        at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcesso
        at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)[26:org.apache.m
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)[:1.7.0_03]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)[:1.7.0_03]
        at java.lang.Thread.run(Thread.java:722)[:1.7.0_03]
                
> IOException: Broken Pipe display by Mina SSHd in the log
> --------------------------------------------------------
>
>                 Key: KARAF-2139
>                 URL: https://issues.apache.org/jira/browse/KARAF-2139
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-instance, karaf-shell
>    Affects Versions: 2.2.9
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.11, 2.3.1, 3.0.0
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message