camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Drew Varner (JIRA)" <>
Subject [jira] Created: (CAMEL-3056) dummyTrustManager does not work as described
Date Sat, 14 Aug 2010 12:49:47 GMT
dummyTrustManager does not work as described

                 Key: CAMEL-3056
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-mail
    Affects Versions: 2.4.0
         Environment: Snow Leopard, JDK 1.6, 
            Reporter: Drew Varner
            Priority: Minor

The documentation for the Mail component ( indicates that
the {{dummyTrustManager}} option will allow you to skip over the certificate check. Using
that option in a Mail component's URI results in:

Caused by: Couldn't connect using SSL socket factory class null to host,
port:, -1; Exception: java.lang.ClassNotFoundException:
	at com.sun.mail.util.SocketFetcher.getSocket(
	at com.sun.mail.iap.Protocol.<init>(
	at com.sun.mail.imap.protocol.IMAPProtocol.<init>(
	at com.sun.mail.imap.IMAPStore.protocolConnect(
	... 13 more
Caused by: java.lang.ClassNotFoundException:

This is because of a decision made in CAMEL-1215 to move it to test. I think the documentation
implies that this is a tool you could use (cautiously) in the development phase, and shouldn't
be restricted to the unit tests. Either way, the class needs to be moved back into {{camel-mail.jar}}
or the documentation needs to remove this option.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message