Could not send email: [email protected]. The e-mail has been queued. Reason: Acquisition of thread lock expired, unable to notify [email protected]

Which IIQ version are you inquiring about?

Version 8.1

Share all details related to your problem, including any error messages you may have received.

Hi,

While trying to send email notificiation. I am getting this below error

“Could not send email: [email protected] The e-mail has been queued. Reason: Acquisition of thread lock expired, unable to notify [email protected]

I have restarted the tomcat service also but same error. Any idea what needs to be done ?

Thanks
Priyanka Jain

Hi Priyanka,

Welcome to the developer community!

Please mention the email notification type you are trying to use, you can find it at Global settings>IdentityIQ configurations>under notification settings.

This looks like a configuration setting error. It would be really helpful if you can attach a screenshot of the notification settings page(If you don’t want to do that ensure all of the port, host, and timeout settings are OK).

If you are just starting and testing things out you can also redirect all the emails to a file.

Hi Hardik,

Thanks for the reply. The issue is resolved and happened in the production. I restarted the tomcat service which released the threads.

Thanks
Priyanka Jain

3 Likes

I got the same error but I’m not able to resolve this error by restarting the tomcat server, I have even cleared the email queues but still I’m getting the same error. However, I’m able to redirect the email to file. Can anyone help me out with this?

Try changing “emailThreadLockTimeoutMinutes” under system configuration and have value like 10.

1 Like

Thanks Krishna, I resolved the issue it was because of the threads not being stopped. So, I just downloaded and installed the older version of the tomcat and passed iiq folder over it and started the server, once I started the tomcat server I received all the emails which were in Queue.

1 Like