on 2015 Nov 07 9:20 PM
Hi Experts,
We are in Sourcing 10.0.
Need help , we are facing an issue in receiving notifications.
Mail gets stuck in Queued messages with status Awaiting Retry.
we have checked system properties also that is maintained correctly.
I have attached Background Task Status error.
Can anyone help me on this what could be an issue.
Any leads would be of great help!!!!
Regards,
Geetika
Request clarification before answering.
Hi Geetika,
The [EOF] error usually comes when the server drops the connection. This can have multiple causes:
Note: if this is happening only for some email types the issue could be in the email template. Check if any templates were changed recently or LocalisedResources associated with them.
Bogdan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Bogdan,
Many thanks for your input.
We were trying to create user accounts in the production system for the first time , and we faced this issue.
we have checked with the respective teams for connections and ports. Still we were unable to figure out the cause.
Can you suggest any other configurations that could cause this issue.
Regards,
geetika
Hi,
I can assume you have already checked and compared system properties from PROD to QA/DEV, so I don't think it is a configuration issue.
It looks more like a connectivity issue. Is your PROD server load-balanced? - if yes, make sure all servers in the cluster are on the 'allow relay' list in the SMTP server.
If the team that manages the SMTP server is available they can quickly provide inputs whether your PROD system is actually connecting or not.
Bogdan
Hi Bogdan,
Thanks a lot for your support.
Yes we have checked system properties it is same as maintained in DEV/QA.
SMTP team is saying they are not receiving any request at their end.
Can you please help me in this: I wanted to know if there is a configuration problem from CLM end,can there be a possibility mails gets triggered and stuck in in Queued messages or they should not come in Queued messages only?
Any leads would be of great help!!
Regards,
Geetika
Hi Geetika,
The core process in Sourcing is (in short):
So, what is happening in your case is OK, as per the core process. The email is not sent, and the message is kept in Queued list for retry.
You should go through all the steps below and check where is the issue.
Bogdan
Hi Bogdan
I am working along with Geetika and we added two new entries in the system config,
We requested one smtp user from the services team and configured the same in CLM.
The messages are now stuck in Queue with status Pending.
Error in background task status says,
1. Unexpected Error Processing Event.
Log Level:Error
Timestamp:11/08/2015 11:41 PM (IST)
Session ID:7c4bf9c36fa67b69d75c7adcab5a2ac379f9e8
User:daemon
Description:Schedule Mail Event Daemon
Message:Unexpected Error Processing Event.
Description:
Exception:java.lang.NumberFormatException: For input string: "messaging.smtp.username"
Stack Trace:java.lang.NumberFormatException: For input string: "messaging.smtp.username"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:449)
at java.lang.Integer.parseInt(Integer.java:499)
at com.sap.odp.comp.messaging.daemon.ScheduleMailEventDaemon.incrementRetry(ScheduleMailEventDaemon.java:870)
at com.sap.odp.comp.messaging.daemon.ScheduleMailEventDaemon.sendMessages(ScheduleMailEventDaemon.java:531)
at com.sap.odp.comp.messaging.daemon.ScheduleMailEventDaemon.sendMail(ScheduleMailEventDaemon.java:226)
at com.sap.odp.comp.messaging.daemon.ScheduleMailEventDaemon.processHook(ScheduleMailEventDaemon.java:171)
at com.sap.odp.comp.daemon.AbsTransientEventDaemon.process(AbsTransientEventDaemon.java:85)
at com.sap.odp.comp.daemon.ResponsibleTransientEventDaemon.process(ResponsibleTransientEventDaemon.java:167)
at com.sap.odp.comp.daemon.SystemEventServiceManager$TransientEventExecutor.run(SystemEventServiceManag...
2. Cannot send message to
Log Level:Error
Timestamp:11/08/2015 11:43 PM (IST)
Session ID:7c4bf9c36fa67b69d75c7adcab5a2ac379f9e8
User:daemon
Description:Schedule Mail Event Daemon
Message:Cannot send message to:
Description:
Exception:com.sun.mail.smtp.SMTPSendFailedException: 550 5.7.1 Client does not have permissions to send as this sender
Stack Trace:com.sun.mail.smtp.SMTPSendFailedException: 550 5.7.1 Client does not have permissions to send as this sender
at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1515)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1054)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:634)
at javax.mail.Transport.send0(Transport.java:189)
at javax.mail.Transport.send(Transport.java:140)
at com.sap.odp.comp.messaging.daemon.ScheduleMailEventDaemon.sendMessages(ScheduleMailEventDaemon.java:486)
at com.sap.odp.comp.messaging.daemon.ScheduleMailEventDaemon.sendMail(ScheduleMailEventDaemon.java:226)
at com.sap.odp.comp.messaging.daemon.ScheduleMailEventDaemon.processHook(ScheduleMailEventDaemon.java:171)
at com.sap.odp.comp.daemon.AbsTransientEventDaemon.process(AbsTransientEventDaemon.java:85)
at com.sap.odp.comp.daemon.ResponsibleTransientEventDaemon.process(ResponsibleTransientEventDaemon.java:167)
at com.sap.odp.comp.daemon.SystemEventSe...
Kindly advice.
Regards
Piyush
Hi Piyush,
For Error 1: check system property messaging.backoffintervalmins. It should have a number value.
For Error 2: you are connecting to the SMTP with userA@abc.com (from system prop) and trying to send an email 'from' userB@abc.com (email from address) ... The SMTP server doesn't allow that.
From this error it looks like your Sourcing system is actually connecting to the SMTP server. I'm puzzled as to why your email team said they are not receiving any connections.
Bogdan
Hi Bogdan
Thanks for a quick response.
System Property messaging.backoffintervalmins.is now maintained with the value of the smtp user.
I am still unable to proceed forward ,however.
Does the SMTP user name/password need to be maintained in " ".
Also can you please advice on maintaining this config for smtp user / pass correctly.
The messages are now in Pending State and the Daemon seems to be trying to push it but failing with the same two exceptions.
If this is fixed,we can go live tomorrow.
Regards
Piyush
Hi Piyush,
I'm not sure I follow you... from your email I understand that you have put the smtp username in backoffintervalmins property... ?!
The correct config depends on your setup; I cannot recommend anything without understanding your setup and what you want to achieve.
Bogdan
Hi Bogdan
As suggested , backoffintervalmins is set to 5.
I tried maintaining blank entry in messaging.smtp.username and messaging.smtp.password with no luck.
Current Config.
1. messaging.smtp.username - smtpuser
2. messaging.smtp.password - *******
3. messaging.backoffintervalmis - 5
In the Mail Config > Company > Source Email is set to - smtpuser@****.co.in
Does this seem appropriate ?
Acknowledge your support.
Regards
Piyush
Hi Bogdan,
we maintained 3 system properties which Piyush has mentioned in the above replies and updated companies email correspondingly.
For production server smtp settings are different from dev/qa, that's why there was a need to add smtp username, password in the system properties.
Regards,
Geetika
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.