AL̲̳I
AL̲̳I

Reputation: 2461

Web application to send email alerts

I have developed an application that checks some values from the database and send email alerts to the specific user. When I upload the war file on tomcat it works fine but the next day it stops sending emails. And then when I restart "Servlet Server (Tomcat)" service it works fine again. or if I undeploy and then deploy again it works fine. I have other applications running on the same server that collects the data from the sensors continuously, they are fine. But this is the only application that send email to the users. So any guess, what is wrong going on here.

Can there be any configuration issue with the email Account I am sending the emails from? I set the Mailbox quota to unlimited!!

Remember: Application is working fine, but I have to restart tomcat server daily!!!!

Upvotes: 0

Views: 762

Answers (1)

sheidaei
sheidaei

Reputation: 10332

It seems that you have to do lots of investigation on this issue. I suggest you turn on your logging feature on you app and try to get as detail information as possible in your log file. Then you can figure out what is going on. It might be a bottle-neck in the system that you have to sit on it for a while to throw exceptions.

Upvotes: 2

Related Questions