NotificationManager.sendEmail Sending the email to the following server failed
: null:25
----------------------------------------------------------------------------------------
Key: EMAIL-109
URL: https://issues.apache.org/jira/browse/EMAIL-109
Project: Commons Email
Issue Type: Bug
Reporter: Jaine Steer
Priority: Blocker
We have a third party product that intermittently does not send emails. One of
the application server log files has provided the following clue. I am not very
conversant with any versions that we have installed, but will be able to find
out anything that is needed if I make a request back through our DBA.
The error in the logfile is shown here.
11:21:10 WARN AJPRequestHandler-ApplicationServerThread-11 [
NotificationManager.sendEmail ] Sending the email to the following
server failed : null:25
org.apache.commons.mail.EmailException: Sending the email to the following
server failed : null:25
at org.apache.commons.mail.Email.sendMimeMessage(Email.java:873)
at org.apache.commons.mail.Email.send(Email.java:898)
at
com.intaz.safetsmart.notification.NotificationManager.sendEmail(NotificationManager.java:204)
at
com.intaz.safetsmart.notification.NotificationManager.sendNotification(NotificationManager.java:130)
at
com.intaz.safetsmart.workflow.action.notify.RoleIfIncidentClassification.execute(RoleIfIncidentClassification.java:110)
at
com.intaz.safetsmart.workflow.Workflow.executeActionHandler(Workflow.java:531)
at
com.intaz.safetsmart.workflow.Workflow.executeActionHandler(Workflow.java:438)
at
com.intaz.safetsmart.workflow.WorkflowDefinition.processInitialEvent(WorkflowDefinition.java:308)
at
com.intaz.safetsmart.workflow.WorkflowDefinition.processInitialEvent(WorkflowDefinition.java:161)
at
com.intaz.safetsmart.workflow.WorkflowEngine.checkForNewWorkflows(WorkflowEngine.java:180)
at
com.intaz.safetsmart.workflow.WorkflowEngine.processEvent(WorkflowEngine.java:92)
at
com.intaz.safetsmart.presentation.generic.WizardObject.save(WizardObject.java:560)
at
com.intaz.safetsmart.presentation.handler.GenericHandler.handleRequest(GenericHandler.java:469)
at
com.intaz.safetsmart.presentation.ControllerServlet.performTask(ControllerServlet.java:119)
at
com.intaz.safetsmart.presentation.BaseServlet.doPost(BaseServlet.java:26)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
at
com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
at
com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at
com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
at
com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira