Announcement Announcement Module
Collapse
No announcement yet.
email duplicate when application runs in two different servers Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • email duplicate when application runs in two different servers

    Hi everybody, i have a problem related to send an email with spring.

    I have the same application running in two differents servers (Tomcat 6). Every day at 23:55, both applications send an email to my and boss account.
    The problem, unfortunately is the mail arrives two times, because i cannot manage the fact that the request arrives at the same time, and obviously it's an undesired situation.
    I'm using and SchedulerFactoryBean with a CronTriggerBean.

    My question is if exist a mechanism with spring i could use to handle this issue. I was thinking that Clustered Scheduling with Spring and Quartz could works fine. But it's just an idea, could you give an idea.

    Thanks.

    Federico.
Working...
X