PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 02/06/2017 8:02 AM by  TimC
Could not connect to SMTP host: undefined, port: 25;
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages
TimC
Systems Analyst
Private
Veteran Member
(220 points)
Veteran Member
Posts:84


Send Message:

--
02/03/2017 2:50 PM
    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
    Systems Analyst
    Private
    Veteran Member
    (220 points)
    Veteran Member
    Posts:84


    Send Message:

    --
    02/03/2017 3:02 PM
    _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
    Systems Analyst
    Private
    Veteran Member
    (220 points)
    Veteran Member
    Posts:84


    Send Message:

    --
    02/06/2017 8:02 AM
    any thoughts, folks?
    You are not authorized to post a reply.