[
https://issues.apache.org/jira/browse/KARAF-6542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16998858#comment-16998858
]
ASF subversion and git services commented on KARAF-6542:
--------------------------------------------------------
Commit 5519525ec1cbef7929a93ba9190502c7b5505125 in karaf's branch
refs/heads/karaf-4.2.x from Jean-Baptiste Onofré
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=5519525 ]
[KARAF-6542] Fix sshd server refresh issue
Credit To: J. Brébec
(cherry picked from commit 71a21656a10d440047941f75abafc7081c67ecbf)
> Refreshing sshd cause the ssh service to be unavailable
> -------------------------------------------------------
>
> Key: KARAF-6542
> URL: https://issues.apache.org/jira/browse/KARAF-6542
> Project: Karaf
> Issue Type: Bug
> Components: karaf
> Affects Versions: 4.2.6
> Reporter: J. Brébec
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Fix For: 4.3.0, 4.2.8
>
> Attachments: KARAF6542.patch
>
>
> When a feature cause the bundle org.apache.sshd to be refreshed, then the ssh
> server is stopped and restarted. however, the restart doesn't work and the
> ssh service is then unavailable.
>
> For example, installing bouncycastle into Karaf stop the ssh service.
> Restarting Karaf fixes this issue.
>
> This issue come from a conflict between the thread context class loader
> (which can see the "old" sshd bundle) and a ServiceLoader pattern used in
> sshd. The ssh server failed to start with a ClassNotFound exception.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)