Win a copy of Head First Android this week in the Android forum!

Jaine Steer

Greenhorn
+ Follow
since Dec 05, 2011
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
2
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Jaine Steer

Can you call setDebug(true) on your email prior to sending it? That will turn on session debugging, which will help find the cause.

I am not sure how to do this. This is an application that is provided by the vendor. I do have access to the Oracle Application server, but would not know where this type of command would go.

Also, for the second listed exception, this SMTP server has not changed. In this case, it was for a virtual system, but I have the same intermittent behaviour occurring in both physical and virtual systems. In the case of the physical system, this also hosts production for the entire 2600 strong org, so I am reasonably confident that it is not that it is up and running. I do not expect that it is that I am blocked, as all emails in the test environment are set to my own address, and it would not make sense that I do not receive (say) #5, and yet #6 comes through. How do I find out if the server is too busy? I have been shown the Microsoft Exchange server output from one of these failed email attempts, and the information in the Message subject column of the Message Tracking Results outpup is showing "wrong email".

This may be off track, but is there a way of trying to identify what went into the Exchange server?
9 years ago
I am using an application that is supposed to send up to 6 notifications. This is not happening consistently - sometimes I get all 6, sometimes the 4,5 or 6 is missing - in any combination. Note if #4 fails to deliver, this does not mean that #5 and/or 6 do not come through.

The error in the Oracle application server log shows the following message



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)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
Caused by: javax.mail.SendFailedException: Sending failed;
nested exception is:
javax.mail.SendFailedException:
at javax.mail.Transport.send0(Transport.java:219)
at javax.mail.Transport.send(Transport.java:81)
at org.apache.commons.mail.Email.sendMimeMessage(Email.java:863)


on a different occassion, the error was

Caused by: javax.mail.SendFailedException: Sending failed;
nested exception is:
javax.mail.MessagingException: Could not connect to SMTP host: mail.test.xxx.xxx.xxx.au, port: 25
at javax.mail.Transport.send0(Transport.java:219)
at javax.mail.Transport.send(Transport.java:81)
at org.apache.commons.mail.Email.sendMimeMessage(Email.java:863)
9 years ago