Uploaded image for project: 'JSPWiki'
  1. JSPWiki
  2. JSPWIKI-11

Non-JNDI mail configuration throws Exceptions during password recovery

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.139-beta
    • 2.6.0
    • 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.

      Attachments

        Activity

          People

            ajaquith Andrew R. Jaquith
            jalkanen Janne Jalkanen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: