Thursday, 6 June 2013
Debug : Actionable Email Approval
SOA relies on SDPM layer to send/receive notifications.
If the human tasks are not updated after being actioned upon by emails , there could be issues with SDPM layer.
1. During SOA Start up
Generally , when the SOA server starts , we should observe the following trace in the diagnostic log
[NOTIFICATION] [] [oracle.sdp.messaging.driver.email] [tid:
[ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default
(self-tuning)'] [userId: <anonymous>] [ecid:
0000JrlbamN9pYppKOCCye1HPCGg000002,0] [APP: usermessagingdriver-email] Email
Server: {email_server_name}
[NOTIFICATION] [] [oracle.sdp.messaging.driver.email] [tid:
[ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default
(self-tuning)'] [userId: <anonymous>] [ecid:
0000JrlbamN9pYppKOCCye1HPCGg000002,0] [APP: usermessagingdriver-email]
MailDriver: receiver on
[NOTIFICATION] [SDP-26033] [oracle.sdp.messaging.driver.base] [tid:
[ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default
(self-tuning)'] [userId: <anonymous>] [ecid:
0000JrlbamN9pYppKOCCye1HPCGg000002,0] [APP: usermessagingdriver-email]
Started messaging driver:
Farm_soa_domain/soa_domain/soa_server1/usermessagingdriver-email:oracle_sdpmes
sagingdriver_email#Email-Driver
It's important to check for the following trace messages in the log
MailDriver: receiver on &
Started messaging driver
If these messages appear in the log , it means that SDPM is up and running.
If not , the diagnostic log would contain an exception message ,
for (e.g)
1. exception javax.mail.AuthenticationFailedException
SOLUTION:
---------
Confirm that the user password in the mail server matches with the one
provided in Email Driver Configuration page.
2.An unexpected exception was caught.[[
javax.mail.MessagingException: sun.security.validator.ValidatorException:
PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target;
This exception indicates that the configured user was not able to connect to
the email store , hence incoming notifications would not be intercepted
This exception generally happens because the mail server is secured and the
certificate is not imported to the server's trust store.
SOLUTION:
---------
Import the Mail server's certificate into SOA server's trust store.
2. After Actionable Email
we should observe the following trace in the diagnostic log
[NOTIFICATION] [SDP-26036] [oracle.sdp.messaging.driver.dispatcher] [tid:
LongRunning Work-email-adapter.rar-0] [userId: <anonymous>] [ecid:
0000JrlRSy^9pYppKOCCye1HPBUc000002,1:29402] [APP: usermessagingdriver-email]
Receiver received message with id: 51656360.7040206@oracle.com.
[NOTIFICATION] [] [oracle.soa.services.notification] [tid: Workmanager: ,
Version: 0, Scheduled=false, Started=false, Wait time: 0 ms\r\n] [userId:
<anonymous>] [ecid: 0000JrlRSy^9pYppKOCCye1HPBUc000002,1:29403] [APP:
soa-infra] <.> HWFMailer: Received an incoming Notification Message from SDPM
[NOTIFICATION] [] [oracle.sdp.messaging.driver.email] [tid: LongRunning
Work-email-adapter.rar-0] [userId: <anonymous>] [ecid:
0000JrlRSy^9pYppKOCCye1HPBUc000002,1:29402] [APP: usermessagingdriver-email]
Message processed successfully - {Subject_Email}
It's important to check for the following trace messages in the logReceiver received message with id
Message processed successfully
If these messages appear in the log , it means that actionable email has been received by the SDPM layer.
Subscribe to:
Post Comments (Atom)
Hi,
ReplyDeleteI am able to get the actionable mail, but after reply the mail with comments , task was not getting updated in workflow.
Kindly guide me.
Hi,
ReplyDeleteI am able to get the actionable mail, but after reply the mail with comments , task was not getting updated in workflow.
Kindly guide me.
Hi,
DeleteWere you able resolve this?
Please share.