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

Refreshing sshd cause the ssh service to be unavailable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.2.6
    • 4.3.0, 4.2.8
    • karaf
    • None

    Description

      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.

      Attachments

        1. KARAF6542.patch
          0.9 kB
          J. Brébec

        Issue Links

          Activity

            People

              jbonofre Jean-Baptiste Onofré
              j3rem1e J. Brébec
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: