Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-612

[proton-j] SslEngineFacadeFactory causes warnings to be logged due to optional dependency not being present, even when it isnt required

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Done
    • proton-0.7
    • None
    • proton-j
    • None

    Description

      When using Messenger (e.g the send/recv examples), and when running some of the tests, message can be seen getting logged warnings that the SslEngineFacadeFactory has been unable to load certain classes, because the BouncyCastle dependency isn't present. This occurs despite the dependency being optional, and SSL not actually being used at the time.

      Jun 20, 2014 3:31:11 PM org.apache.qpid.proton.engine.impl.ssl.SslEngineFacadeFactory getClass
      WARNING: unable to load org.bouncycastle.openssl.PEMReader
      Jun 20, 2014 3:31:11 PM org.apache.qpid.proton.engine.impl.ssl.SslEngineFacadeFactory getClass
      WARNING: unable to load org.bouncycastle.openssl.PasswordFinder
      Jun 20, 2014 3:31:11 PM org.apache.qpid.proton.engine.impl.ssl.SslEngineFacadeFactory <clinit>
      WARNING: unable to load bouncycastle provider
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              robbie Robbie Gemmell
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: