Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.5.139-beta
-
None
-
Sun JDK 1.5
Description
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.