Robbie Gemmell created PROTON-612: ------------------------------------- Summary: [proton-j] SslEngineFacadeFactory causes warnings to be logged due to optional dependency not being present, even when it isnt required Key: PROTON-612 URL: https://issues.apache.org/jira/browse/PROTON-612 Project: Qpid Proton Issue Type: Bug Components: proton-j Affects Versions: 0.7 Reporter: Robbie Gemmell
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. {noformat} 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 {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)