You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jeff Clark (JIRA)" <ji...@apache.org> on 2013/11/07 15:19:18 UTC

[jira] [Created] (KARAF-2551) Karaf hangs on logout with ssh session connected

Jeff Clark created KARAF-2551:
---------------------------------

             Summary: Karaf hangs on logout with ssh session connected
                 Key: KARAF-2551
                 URL: https://issues.apache.org/jira/browse/KARAF-2551
             Project: Karaf
          Issue Type: Bug
          Components: karaf-shell
    Affects Versions: 2.3.3
         Environment: Windows 7 64-bit, Java 1.7 64-bit
            Reporter: Jeff Clark


I have run into situations where I cannot close Karaf.  I have had this issue under different circumstances, but the following steps are reproducing the issue without fail on my system.  I can also reproduce this situation in 2.3.1, 2.3.2, 2.3.3, & 3.0.0.RC1, all using the binaries downloaded from karaf.apache.org.

Open Karaf (either using the bin\karaf.bat command or start as a service)
Log into this instance of Karaf via ssh (I'm using putty)
>From the ssh session, hit tab and then 'y' to list all commands
Hit tab again and then 'y' to list all commands again.
Go back to the original Karaf & type 'logout' (or stop the service if running as a service)

The ssh session becomes unresponsive, and the Karaf console hangs.  I've even let it sit overnight, and it never terminates.  I have to kill the java process to.

I've also tried these same steps, but after listing all commands twice from the ssh session, issue 'logout from the ssh session.  In this case, the ssh session hangs on the logout command.  If I try to log out of the main Karaf terminal, it will then hang as well.

It seems the only way I can ensure that I can close Karaf after listing all commands twice from the ssh session is to issue the 'logout' from the ssh session, then close the putty window.  Then if I logout of the main Karaf terminal, it will close down.

I've tried other combinations of commands other than listing all commands twice (tab, then 'y') from the ssh session.  Sometimes this hang occurs, sometimes it does not, it's hard to predict.  Listing the commands twice as documented above consistently turns up this issue.




--
This message was sent by Atlassian JIRA
(v6.1#6144)