Keywords: Tomcat - Amazon Web Services - Technical issue - Other
I am facing issues with a thread/runnable submitted by a java Scheduled Executor Service which is runs a daily email service. I believe in the old code was not being handled properly during shutdown. and also sending it at the wrong time. After changing the email content and the code, two emails are now being sent ,one being the updated version and the other one being the old one
Further changes to the email content and redeploying to the server does not spawn additional "automatic email" threads but somehow the old badly created runnable still fires daily.
Failed Attempted fixes:
When application was taken down , emails are not sent. When redeployed , two emails are sent ( "new version" and "old version")
-Tunneled into the bitnami server to manually shutdown / restart tomcat and apache
Please do advise , thanks!