Page 1 of 1

Sending Download Ticket

Posted: Tue May 28, 2013 5:46 am
by zeropower
Hi,
I am facing a problem when send download ticket by email the first time failure"Message not sent", second try with exactly same entry it succeed, i tried also in the demo site and same happening.

Any suggestion ?

Re: Sending Download Ticket

Posted: Tue Jun 25, 2013 8:15 am
by agaspa
For security reasons, the sending of messages (email) from the online demo is disabled.
In the past we had problems with spam ...
Make sure you have configured the SMTP settings for sending e-mail messages from LogicalDOC.
Administration -> Settings -> Outgoing Email

Re: Sending Download Ticket

Posted: Wed Jul 03, 2013 9:36 am
by zeropower
Hi,
Thanks a lot for your reply.
Actually email configuration is right 100% as it works from the second try without any problem.
For the first try after log in it gives the following error:

Code: Select all

WARN 	com.logicaldoc.web.service.DocumentServiceImpl 	null

Code: Select all

java.lang.NullPointerException
     at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:599)
     at com.logicaldoc.core.communication.EMailSender.send(EMailSender.java:245)
     at com.logicaldoc.web.service.DocumentServiceImpl.sendAsEmail(DocumentServiceImpl.java:1114)
     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:305)
     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: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.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1812)
     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
     at java.lang.Thread.run(Thread.java:662) 
It will work smoothly after first try even sending hundreds of tickets of different files.

If i log out and log in again, i will get the same problem again.

It applies for all users.

Re: Sending Download Ticket

Posted: Fri Jul 05, 2013 11:13 am
by agaspa
Which version of LogicalDOC are you using?
It's a community edition or a commercial version?

Re: Sending Download Ticket

Posted: Sun Jul 07, 2013 7:18 am
by zeropower
6.5.1, Trial version.
Also i tried with 6.6.2 Community version and same happened.

Re: Sending Download Ticket

Posted: Mon Jul 08, 2013 8:55 am
by agaspa
Hi zeropower,
I checked with the technicians and they told me that this is a known bug, even if it has not been traced in the issue tracker.
It has been fixed in version 6.7.1 of LD enteprise, so if possible you should upgrade your installation to LD ee 6.7.1 (currently the latest version released).
You can request help to our support team by qualifying yourself to suppport@logicaldoc.com
Alex

Re: Sending Download Ticket

Posted: Mon Jul 08, 2013 9:59 am
by zeropower
I tried in the demo version http://demo.logicaldoc.com/ which is version 6.7.1 enterprise edition and same exactly happening, is there any limitation at demo version?

Re: Sending Download Ticket

Posted: Mon Jul 08, 2013 10:46 am
by agaspa
This behavior may be caused by your browser's cache.
Before making a new attempt on a different LD (different server or different version of the application),
you should worry about clearing the cache and cookies of your browser.

Or this problem may be specific to a certain type of browser.

After clearing the cache and cookies of my browser,
I checked the online demo (LD 6.7.1) for the issue and this feature worked properly.

I used Google Chrome versione 27.0.1453.116 m

Another question you've perhaps used a different user than admin?

Re: Sending Download Ticket

Posted: Mon Jul 08, 2013 11:59 am
by zeropower
Thanks a lot for you quick response.

I cleared my Internet Explorer cache and tried again and it works very well, i returned back to my default browser Mozilla Firefox 22.0 without clearing any cache or temp and it works also great.

I will download trial and community 6.7.1 version for testing and feed you back.

Thanks again.