Could not connect to SMTP host: undefined, port: 25;

 2 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
TimC
Veteran Member
Posts: 84
Veteran Member
    This only errors in an update S3 activity node and not a non-update node.
    I have the OnError tab set to a configured email address..
    Trying to update AP150 jobs.
    TimC
    Veteran Member
    Posts: 84
    Veteran Member
      _PDL=TEST&_TKN=AP150&_EVT=CHG&_RTN=DATA&_LFN=ALL&_TDS=IGNORE&FC=C&ADDENDA-OPTION=N&CURRENCY-OPT=I&DISC-OPTION=N&JOB-NAME=myjob&PAY-GROUP=mgroup&PAY-INV-IMMED=N&PAY-THRU-DATE=20170211&PAYMENT-CODE=CHK&PAYMENT-DATE=20170211&PRINT-VOUCHER=N&RECONCILE-ADV-EXP=N&REPORT-SEQ=N&SEL-CASH-CODE=101&SPEC-HANDLING=N&UPDATE-OPTION=Y&USER-NAME=myuser&VOUCHER-NBR-FLAG=N&_DELIM=%09&_OUT=XML&_EOT=TRUE

      Renders the error:
      Activity failed: UpdateEMP
      S3 Transaction UpdateEMP: AGS Error no message
      javax.mail.MessagingException: Could not connect to SMTP host: undefined, port: 25;
      nested exception is:
      java.net.ConnectException: Connection refused: connect
      at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1961)
      at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:654)
      at javax.mail.Service.connect(Service.java:295)
      at javax.mail.Service.connect(Service.java:176)
      at com.lawson.bpm.processflow.utility.PFlowUtils.sendMail(PFlowUtils.java:166)
      at com.lawson.bpm.processflow.workFlow.flowGraph.FgActivity.handleActivityError(FgActivity.java:762)
      at com.lawson.bpm.processflow.workFlow.flowGraph.FgaAgs.startActivity(FgaAgs.java:334)
      at com.lawson.bpm.processflow.workFlow.flowGraph.FgActivity.execute(FgActivity.java:946)
      at com.lawson.bpm.processflow.workFlow.flowGraph.FgProcess.run(FgProcess.java:2195)
      at com.lawson.bpm.designer.runtime.LocalFlowRunner.run(Unknown Source)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      Caused by: java.net.ConnectException: Connection refused: connect
      at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
      at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)
      at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
      at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
      at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
      at java.net.Socket.connect(Socket.java:579)
      at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:319)
      at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:237)
      at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1927)
      ... 10 more


      Error encountered executing process
      TimC
      Veteran Member
      Posts: 84
      Veteran Member
        any thoughts, folks?