camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] Resolved: (CAMEL-3056) dummyTrustManager does not work as described
Date Sat, 14 Aug 2010 15:49:48 GMT


Claus Ibsen resolved CAMEL-3056.

         Assignee: Claus Ibsen
    Fix Version/s: 2.5.0
       Resolution: Fixed

Thanks I have updated the documentation.

> dummyTrustManager does not work as described
> --------------------------------------------
>                 Key: CAMEL-3056
>                 URL:
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-mail
>    Affects Versions: 2.4.0
>         Environment: Snow Leopard, JDK 1.6, 
>            Reporter: Drew Varner
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.5.0
> 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:
> {quote}
> 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:
> {quote}
> 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