My Oracle Support Banner

E-MCF: javax.mail.MessagingException: Connect failed; nested exception is: java.net.ConnectException: Connection refused at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:106) (Doc ID 2228474.1)

Last updated on DECEMBER 06, 2019

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.53 and later
Information in this document applies to any platform.

Symptoms

Sample Environment below:

Tools 8.53.13

FSCM 9.2  Production application

Web server / gateway on Linux platform

 

Issue occurred as below:

Mails are not being fetched by the AE EOAWEMC process.

The email test from the sample page ( Integration Broker > MCF > Sample pages > Email Test ) shows connection error as "Cannot connect to mail server"

Error in gateway's errorlog.html file:

ErrorLevel Standard Gateway Exception
Description GetMailTargetConnector (Host=XXXX.XXXX.com; User=XXXXX@company.com): Cannot connect to mail server
Stack Trace
javax.mail.MessagingException: Connect failed;
nested exception is:
java.net.ConnectException: Connection refused
at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:106)
at javax.mail.Service.connect(Service.java:233)
at com.peoplesoft.pt.integrationgateway.targetconnector.pop3.MCFMailBox.open(MCFMailBox.java:385)
at com.peoplesoft.pt.integrationgateway.targetconnector.GetMailTargetConnector.processMessage(GetMailTargetConnector.java:510)
at com.peoplesoft.pt.integrationgateway.targetconnector.GetMailTargetConnector.send(GetMailTargetConnector.java:135)
at com.peoplesoft.pt.integrationgateway.service.BasicConnectorInvocator.execute(BasicConnectorInvocator.java:131)
at com.peoplesoft.pt.integrationgateway.framework.GatewayManager.invokeService(GatewayManager.java:147)
at com.peoplesoft.pt.integrationgateway.framework.GatewayManager.connect(GatewayManager.java:191)
at com.peoplesoft.pt.integrationgateway.listeningconnector.PeopleSoftListeningConnector.doPost(PeopleSoftListeningConnector.java:186)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.