Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: No Longer Reproducible
    • Affects Version/s: 6.1.20 EE GA2, 6.1.30 EE GA3, 6.2.0 CE M4
    • Fix Version/s: 6.1.X EE, 6.2.0 CE RC3
    • Labels:
      None
    • Environment:
    • Story Points:
      2
    • Fix Priority:
      4

      Description

      1. Deploy Mail portlet
      2. Add Mail portlet
      3. Click the Add Account button
      4. Add Email Account
        It will throw the following exceptions:
        06:08:32,027 INFO  [com.liferay.portal.plugin.PluginPackageUtil][PluginPackageUtil:1473] Finished checking for available updates in 2508 ms
        06:10:24,657 ERROR [http-bio-5080-exec-5][MailManager:131] com.liferay.mail.MailException: com.liferay.mail.MailException: com.liferay.mail.MailException: javax.mail.AuthenticationFailedException
        com.liferay.mail.MailException: com.liferay.mail.MailException: com.liferay.mail.MailException: javax.mail.AuthenticationFailedException
                at com.liferay.mail.imap.IMAPConnection.testConnection(IMAPConnection.java:198)
                at com.liferay.mail.mailbox.IMAPMailbox.validateAccount(IMAPMailbox.java:531)
                at com.liferay.mail.mailbox.BaseMailbox.addAccount(BaseMailbox.java:39)
                at com.liferay.mail.util.MailManager.addAccount(MailManager.java:103)
                at org.apache.jsp.update_005faccount_jsp._jspService(update_005faccount_jsp.java:306)
                at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
                at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
                at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
                at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:79)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
                at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
                at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:593)
                at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:530)
                at com.liferay.portlet.PortletRequestDispatcherImpl.dispatch(PortletRequestDispatcherImpl.java:322)
                at com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:105)
                at com.liferay.util.bridges.mvc.MVCPortlet.include(MVCPortlet.java:357)
                at com.liferay.util.bridges.mvc.MVCPortlet.include(MVCPortlet.java:373)
                at com.liferay.util.bridges.mvc.MVCPortlet.doDispatch(MVCPortlet.java:306)
                at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
                at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
                at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:64)
                at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:111)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:79)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
                at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
                at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:593)
                at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:530)
                at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:540)
                at com.liferay.portlet.InvokerPortletImpl.invokeRender(InvokerPortletImpl.java:613)
                at com.liferay.portlet.InvokerPortletImpl.render(InvokerPortletImpl.java:360)
                at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:1205)
                at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
                at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:55)
                at com.liferay.portlet.PortletContainerImpl._doRender(PortletContainerImpl.java:760)
                at com.liferay.portlet.PortletContainerImpl.render(PortletContainerImpl.java:141)
                at com.liferay.portlet.RestrictPortletContainerWrapper.render(RestrictPortletContainerWrapper.java:122)
                at com.liferay.portal.kernel.portlet.PortletContainerUtil.render(PortletContainerUtil.java:155)
                at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:373)
                at com.liferay.portal.action.LayoutAction.doExecute(LayoutAction.java:179)
                at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:81)
                at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
                at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
                at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:174)
                at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
                at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
                at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:546)
                at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:523)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
                at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
                at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:300)
                at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:79)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
                at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
                at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471)
                at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402)
                at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329)
                at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:137)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
                at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
                at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:358)
                at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
                at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
                at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:123)
                at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
                at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
                at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:300)
                at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
                at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
                at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:241)
                at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
                at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
                at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:246)
                at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
                at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
                at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:83)
                at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
                at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
                at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:88)
                at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
                at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
                at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:191)
                at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:187)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
                at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:167)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:167)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:187)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:79)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
                at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
                at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
                at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
                at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
                at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
                at java.lang.Thread.run(Unknown Source)
        Caused by: com.liferay.mail.MailException: com.liferay.mail.MailException: javax.mail.AuthenticationFailedException
                at com.liferay.mail.imap.IMAPConnection.testOutgoingConnection(IMAPConnection.java:259)
                at com.liferay.mail.imap.IMAPConnection.testConnection(IMAPConnection.java:189)
                ... 166 more
        Caused by: com.liferay.mail.MailException: javax.mail.AuthenticationFailedException
                at com.liferay.mail.imap.IMAPConnection.getTransport(IMAPConnection.java:167)
                at com.liferay.mail.imap.IMAPConnection.testOutgoingConnection(IMAPConnection.java:252)
                ... 167 more
        Caused by: javax.mail.AuthenticationFailedException
                at javax.mail.Service.connect(Service.java:306)
                at com.liferay.mail.imap.IMAPConnection.getTransport(IMAPConnection.java:161)
                ... 168 more
        

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 43 weeks, 2 days ago