Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-4228

Mail exception is not logged

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.9.2, 4.10.0
    • 4.9.0
    • None
    • None
    • 4.9.2

      I have this stacktrace in log tool (live view) and I do not retrieve this exception in log file :

      Catégorie : org.ametys.core.schedule.AmetysJob$org.ametys.core.schedule.SendMail
      Message : 
      An exception occurred during the execution of the Schedulable 'org.ametys.core.schedule.SendMail'

      Emplacement : org.ametys.core.schedule.AmetysJob.execute(AmetysJob.java:163)

      Pile d'appels :
      org.eclipse.angus.mail.util.MailConnectException: Couldn't connect to host, port: onisepfr.mail.protection.outlook.com, 25; timeout -1;
      nested exception is:
      java.net.ConnectException: Connexion terminée par expiration du délai d'attente
      at org.eclipse.angus.mail.smtp.SMTPTransport#openServer:2243
      at org.eclipse.angus.mail.smtp.SMTPTransport#protocolConnect:729
      at jakarta.mail.Service#connect:345
      at org.ametys.core.util.mail.SendMailHelper$MailSender#sendMail:926
      at org.ametys.core.util.mail.SendMailHelper$MailBuilder#sendMail:668
      at org.ametys.plugins.core.impl.schedule.SendMailSchedulable#execute:82
      at org.ametys.core.schedule.AmetysJob#execute:157
      at org.quartz.core.JobRunShell#run:202
      at org.quartz.simpl.SimpleThreadPool$WorkerThread#run:573
      Caused by: java.net.ConnectException: Connexion terminée par expiration du délai d'attente
      at java.base/sun.nio.ch.Net#connect0 (Native Method)
      at java.base/sun.nio.ch.Net#connect:589
      at java.base/sun.nio.ch.Net#connect:578
      at java.base/sun.nio.ch.NioSocketImpl#connect:583
      at java.base/java.net.SocksSocketImpl#connect:327
      at java.base/java.net.Socket#connect:751
      at java.base/java.net.Socket#connect:686
      at org.eclipse.angus.mail.util.SocketFetcher#createSocket:368
      at org.eclipse.angus.mail.util.SocketFetcher#getSocket:243
      at org.eclipse.angus.mail.smtp.SMTPTransport#openServer:2193
      ... 8 more

            Unassigned Unassigned
            ogehin Olivier Gehin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: