title: WebSphere WorkManager Cluster Double Execution of the Job
body: <p>I have an Application deployed on WebSphere 8.5 with Java 1.7.1, defined with a cluster of 2 nodes.
  In this application there is an EJB that, through a work manager submit an Async Job.</p>
  
  <p>The problem is that on WAS 8.5 the Job is executed two times on both node of the cluster. In WAS 6.1 this did not happen.</p>
  
  <p>The work is submitted by an Alarm Manager. Below the code extracted:</p>
  
  <pre><code>WorkManager wm = serviceLocator.getWorkManager("NameOfCustomWorkManager");            
  AsynchScope scope = wm.findAsynchScope("scopeName");
  
  if (scope == null) 
      scope = wm.createAsynchScope("scopeName");
  
  AlarmManager alarmManager = scope.getAlarmManager();        
  
  alarmManager.create(listener, "Alarm Context Info", (int) (DateUtils.getNextTime(nextTime) - System.currentTimeMillis()));  --Fired on a certain hours     
  
  logger.info("Alarm fired.");
  </code></pre>
  
  <p>Somebody know if on was 8.5 there are additional configuration to avoid the problem described?</p>