Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-26215

Sending mail fails due to exception reading response

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 6.1.20 EE GA2, 6.2.0 CE M2
    • Fix Version/s: --Sprint 11/12, 6.2.0 CE M2
    • Labels:
      None
    • Environment:
      Tomcat 6.0 + MySQL 5. 6.0.x GIT ID: 430d2b729e53c53425483e0c3816ab468a3101f8.
      Tomcat 7.0 + MySQL 5. 6.1.x GIT ID: f2e635c88fc1f008865e04b058e2117a9eea99b5.
      Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: 0c6c2c89d5eca7d7459fc23e074e60c52e4d28f1.
    • Fix Priority:
      4

      Description

      Steps to reproduce:

      1. Go to Control Panel > Server Administration > Mail.
      2. Configure the mail server settings.
      3. Go to Portal Instances.
      4. Change Mail Domain to gmail.com.
      5. Go to Users and Organizations.
      6. Try to create a new user with existing email address.

      The mail doesn't send. Display error message in the console.

      Error Messages:

      08:19:00,818 INFO  [PluginPackageUtil:1409] Checking for available updates
      08:19:00,820 INFO  [PluginPackageUtil:1453] Finished checking for available updates in 1 ms
      08:20:02,400 ERROR [MailEngine:567] Exception reading response
      08:20:02,403 ERROR [MailEngine:154] sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
              at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:174)
              at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:238)
              at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:320)
              at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:219)
              at sun.security.validator.Validator.validate(Validator.java:218)
              at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:126)
              at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:209)
              at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:249)
              at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1053)
              at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:128)
              at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:529)
              at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:465)
              at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884)
              at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1120)
              at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:744)
              at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)
              at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:97)
              at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
              at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
              at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:75)
      

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            pani.gui Pani Gui (Inactive)
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              8 years, 38 weeks, 2 days ago

                Packages

                Version Package
                --Sprint 11/12
                6.2.0 CE M2