[
https://issues.apache.org/jira/browse/KARAF-5993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Baptiste Onofré resolved KARAF-5993.
-----------------------------------------
Resolution: Cannot Reproduce
I'm not able to reproduce the problem. I tried with different ssh clients and
the connection stays "up". Can you provide details about the client and a test
case ? Thanks.
> Karaf Shell sshIdleTimeout only works up to 10 minutes
> ------------------------------------------------------
>
> Key: KARAF-5993
> URL: https://issues.apache.org/jira/browse/KARAF-5993
> Project: Karaf
> Issue Type: Bug
> Affects Versions: 4.1.2
> Environment: Running DDF 2.11.4, which is based on DDF 4.1.2, on
> Windows Server 2008. I have also tried it used Karaf 4.1.2.
> Reporter: Brian Gaffney
> Assignee: Jean-Baptiste Onofré
> Priority: Major
>
> Related to KARAF-5473. The fix to that bug fixes the problem stated but
> doesn't fix the underlying problem. It also does not help if not using the
> Karaf shell client, or if a specific timeout is desired. (In my case, we are
> using an environment with only an older ssh client that does not have the
> ServerAliveInterval option.)
> If sshIdleTimeout is set to less than 10 minutes, the log displays "User
> session has timed out idling after xxx ms." If 10 minutes or greater, an
> InterruptedByTimeoutException is raised, with no details.
> Searching the code, the only place I was able to find that exception is in
> Apache Mina SSHD, in ThrottlingPacketWriter.java. That appears to be an
> example, and does not appear to be used in the SSHD code.
> The stack trace only shows it was raised in
> sun.nio.ch.WindowsAsynchronousSocketChannelImpl$ReadTask.timeout.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)