I have a strange problem with the userapp. It seems to be losing emails.


We have a driver policy that checks Project Accounts. When those
accounts have an end date in the upcoming month, the process driver
sends an email (from policy) to the project account itself, and then
starts a workflow for the prolongation of the account. The workflow has
1 approval step with mail and 1 modify entity step to set the new end
date.

The problem is: All the emails that are sent via the driver itself are
delivered okay.. but the approval step in the workflow does not always
send mail.

When i look in the logging i see the following lines for a correctly
sent email from the UA (confirmed by the Exchange logging)


Code:
--------------------

20:08:09,688 INFO [STDOUT] DEBUG [RBPM] [com.novell.soa.notification.TemplateManagerFactory :create] NotificationService/TemplateManagerImplName: com.novell.soa.notification.impl.vdx.TemplateManag er
20:08:09,688 INFO [STDOUT] DEBUG [RBPM] [com.novell.soa.notification.TemplateManagerFactory :create] TemplateManager instance create
20:08:09,704 INFO [STDOUT] TRACE [RBPM] [com.novell.soa.notification.impl.jms.JMSSubscriber :handleMessage] jms subscriber received:*removed for readability*

--------------------


In a failed case, i see this logging:


Code:
--------------------

20:22:14,412 INFO [STDOUT] DEBUG [RBPM] [com.novell.soa.notification.TemplateManagerFactory :create] NotificationService/TemplateManagerImplName: com.novell.soa.notification.impl.vdx.TemplateManag er
20:22:14,412 INFO [STDOUT] DEBUG [RBPM] [com.novell.soa.notification.TemplateManagerFactory :create] TemplateManager instance create
20:22:14,428 INFO [STDOUT] TRACE [RBPM] [com.novell.soa.notification.impl.jms.JMSSubscriber :handleMessage] jms subscriber received:*removed for readability*
20:22:45,506 INFO [STDOUT] TRACE [RBPM] [com.novell.soa.notification.impl.MailEngine:run] Trying to (re) establish mailserver connection. Will try this every 300000 ms
20:22:50,569 INFO [STDOUT] TRACE [RBPM] [com.novell.soa.notification.impl.NotificationThrea d:run] QUEUE EMPTY WAITING...

--------------------


You can see that the UA is trying to re-establish the mailserver
connection after which it states that the queue is empty. Strange thing
is that it seems to loose that email (Exchange logging does not log an
incoming SMTP request).

When we login to the UA, the task is assigned to the correct manager, so
the workflow is forwarded correctly. There is just no email
notification. Can anyone explain this ?

I have not yet been able to see if this only happens when the UA is
re-establishing connection or that it also happens on different
occasions. Fact is that we get a lot of complaints that managers just
don't get their notification emails while the user itself got the
notification from the driver policy.

Note:
This is UA 4.0.2 Patch C, but this has been happening since UA 3.7...


--
Sjoerdk
------------------------------------------------------------------------
Sjoerdk's Profile: https://forums.netiq.com/member.php?userid=1135
View this thread: https://forums.netiq.com/showthread.php?t=48180