SMTP Problem

Problems with installing LogicalDOC? No problems, the solution is closer than you think.

Moderator: car031

vm3870
Posts: 4
Joined: Mon Jun 10, 2013 4:49 pm

SMTP Problem

Mon Jun 10, 2013 5:03 pm

Hi,

I am installed logicaldoc 6.7.0. everything went ok, until the smtp server setup shows up.
I tried to fill in using gmail smtp server but I got a problem when I use "send by email".
Here I am sending the error details and configuration parameters.

Configuration parameter of the SMTP :

smtp.authEncripted=false
smtp.connectionSecurity=1
smtp.host=smtp.gmail.com
smtp.password=XXXXXX
smtp.port=587
smtp.sender=XXXXX
smtp.username=XXXXX

Could you please guide me.
Thanks

Code: Select all

 (com.logicaldoc.web.service.DocumentServiceImpl:1123) -- Can't send command to SMTP host
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
	at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:1564)
	at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:1551)
	at com.sun.mail.smtp.SMTPTransport.ehlo(SMTPTransport.java:935)
	at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:426)
	at javax.mail.Service.connect(Service.java:288)
	at com.logicaldoc.core.communication.EMailSender.send(EMailSender.java:241)
	at com.logicaldoc.web.service.DocumentServiceImpl.sendAsEmail(DocumentServiceImpl.java:1095)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:561)
	at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
	at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
	at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at com.logicaldoc.web.CharsetFilter.doFilter(CharsetFilter.java:26)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at com.logicaldoc.web.SessionFilter.doFilter(SessionFilter.java:61)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:164)
	at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
	at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
	at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417)
	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:224)
	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:100)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:964)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:304)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:619)
mmeschieri
Posts: 242
Joined: Mon Apr 19, 2010 3:40 pm

Re: SMTP Problem

Mon Jun 10, 2013 5:20 pm

Google SMTP requires special configuration, see viewtopic.php?f=6&t=487&p=1455&hilit=gmail#p1455
vm3870
Posts: 4
Joined: Mon Jun 10, 2013 4:49 pm

Re: SMTP Problem

Mon Jun 10, 2013 5:59 pm

Hi

Thank for your reply. I saw that link and apply those instructions eventhough I am getting errors. Is there anything missing in my configuration part ? If there is any mistakes in my configuratoin please give me the correct parameter.
agaspa
Posts: 709
Joined: Tue Apr 20, 2010 8:24 am

Re: SMTP Problem

Thu Jun 13, 2013 8:41 pm

Try also the configuration explained in this page:
https://support.google.com/mail/answer/78775?hl=en

See the paragraph Still can't send mail?

Also the instructions in this page can be of some help...
https://www.activecollab.com/forums/post/17023/

Return to “Installation”

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest