No MSMQ processing - users not receiving task notifications
kbt164285
PRODUCTIssue
Users are not receiving their K2 task notification emails. The Email events work. There are no errors in the K2 host server log, MSMQ diagnostic log or Eventbus.ClientRecorderError logged at the time of the task assignment. It is also possible to see that the queue exists and messages gets queued into it.
Symptoms
At the very beginning of the latest K2 host server log, these three error messages can be seen:
Resolution
The error messages mentioned above normally mean that the Message Queuing service was not started (or was not fully started) at the time of the K2 service startup. As the K2 host server service initializes its MSMQ processing thread (EventBus Server) at startup this means that there won't be MSMQ messages processing until you restart the K2 service to ensure correct initialization of the MSMQ thread.
To resolve this issue you need to do the following:
1. Ensure that the Message Queuing service is started on the K2 server (just in case, you may want to restart it and wait for 5 minutes to ensure it is fully initialized.)
2. Restart the K2 service and make sure that:
A) In the beginning of the host server log file there are no error messages similar to those which were mentioned above.
B) Verify that task notifications work.
To prevent this situation from happening in the future you may want to configure the K2 service startup to Automatic (Delayed Start) while keeping Message Queuing configured for Automatic start. Another option will be to configure dependency on MSMQ service for K2 (sc config "K2 blackpearl Server" depend= MSMQ).