I've been dealing with this issue on and off for YEARS, dating back to CF 5 and 6.
Out of the blue, Coldfusion just stops delivering email, and the mail just keeps building up in the queue.
To restart the service I can restart coldfusion OR run the following code:
<cfset sFactory = CreateObject("java","coldfusion.server.ServiceFactory")>
<cfset MailSpoolService = sFactory.mailSpoolService>
<cfset MailSpoolService.start()>
The solution above is a fix noted on stackoverflow: https://stackoverflow.com/questions/94932/coldfusion-mail-queue-stops-processing
My goal would be to find a log or something that would help point me to the cause of the issue.
Is there a log that will tell me what is causing the mailspoolservice to crash? I can't seem to locate any errors in the CF Admin.
I have also tried to regenerate this issue, and I can't.
I'm currently running CF9 latest hotfixes applied, on windows 2008 r2
My smtp log was on information, moved it up to debug.
The Mail log doesnt reflect any errors relating to events at the time of the error. For example error happened at 10am and last entry was 2 days ago. Mail sent doesnt get updated beyond the date/time of last message sent and doesnt include any error. No application errors either. Was hoping there was a java level log.
– steve Apr 01 '13 at 16:27