mercredi 24 juin 2015

EJB Schedule Annotation Stopped working

I have a method that sends an email at a specific time using the EJB @Schedule annotation. It was working completely fine before and was working for the last few weeks, and was sending the emails at the designated time. However today, it has stopped working and I haven't changed any of the code in that method. I did however, do some JUnit test cases and I tried to create a test case for the send email method, in which I invoked the send email method manually in the code for the test case. I think that may have messed up the EJB timer, since my method stopped working soon after I started running the JUnit test cases. Any thoughts?

Aucun commentaire:

Enregistrer un commentaire