Article - CS328847

How to avoid error message "wt.jmx.core.mbeans.Emailer - Attempt to send mail failed [Id=1; Subject='xxx']" when start Windchill Server in Windchill PDMLink

Modified: 03-Sep-2024   


Applies To

  • Windchill PDMLink 11.0

Description

  • How to avoid error message wt.jmx.core.mbeans.Emailer  - Attempt to send mail failed [Id=1; Subject='xxxx'] when start Windchill Server 
  • Method Server log output:
date/time ERROR [wt.jmx.core.mbeans.Emailer.mailer] wt.jmx.core.mbeans.Emailer  - Attempt to send mail failed [Id=1; Subject='Queue Problems']
com.sun.mail.util.MailConnectException: Couldn't connect to host, port: localhost, 25; timeout -1;
  nested exception is:
    java.net.ConnectException: Connection refused: connect
    at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2118)
    at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:712)
    at javax.mail.Service.connect(Service.java:366)
    at wt.jmx.core.mbeans.Emailer$SendEmailTask.sendMessage(Emailer.java:1492)
    at wt.jmx.core.mbeans.Emailer$SendEmailTask.run(Emailer.java:1303)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.ConnectException: Connection refused: connect
This is a printer-friendly version of Article 328847 and may be out of date. For the latest version click CS328847