You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Florian Holeczek (JIRA)" <ji...@apache.org> on 2011/09/11 01:29:09 UTC

[jira] [Closed] (JSPWIKI-11) Non-JNDI mail configuration throws Exceptions during password recovery

     [ https://issues.apache.org/jira/browse/JSPWIKI-11?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Florian Holeczek closed JSPWIKI-11.
-----------------------------------


> Non-JNDI mail configuration throws Exceptions during password recovery
> ----------------------------------------------------------------------
>
>                 Key: JSPWIKI-11
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-11
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Authentication&Authorization
>    Affects Versions: 2.5.139-beta
>         Environment: Sun JDK 1.5
>            Reporter: Janne Jalkanen
>            Assignee: Andrew Jaquith
>             Fix For: 2.6.0
>
>
> The following configuration in jspwiki.properties does not seem to work:
> mail.smtp.host=mail.ecyrd.com
> mail.from=house-elf@suomigo.net
> mail.smtp.starttls.enable=false
> No JNDI configuration is done.
> 2007-10-26 15:40:14,300 [TP-Processor3] ERROR com.ecyrd.jspwiki.util.MailUtil SuomiGo:/LostPassword.jsp SuomiGo:http://
> www.suomigo.net/LostPassword.jsp - JavaMail initialization error: Name mail is not bound in this Context
> 2007-10-26 15:40:15,141 [TP-Processor3] ERROR com.ecyrd.jspwiki.util.MailUtil SuomiGo:/LostPassword.jsp SuomiGo:http://
> www.suomigo.net/LostPassword.jsp - javax.mail.MessagingException: Can't send command to SMTP host;
>   nested exception is:
>         javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.
> security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
> 2007-10-26 15:40:16,550 [TP-Processor3] ERROR JSPWiki SuomiGo:/LostPassword.jsp SuomiGo:http://www.suomigo.net/LostPass
> word.jsp - Tried to reset password and got another exception: javax.mail.MessagingException: Can't send command to SMTP
>  host;
>   nested exception is:
>         javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.
> security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
> Apparently fallback from JNDI to regular jspwiki.properties is not working properly.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira