Super Contributor.
Super Contributor.

(OO) Support Tip: Parallel execution of 'Schedule Flow' operation failed

If multiple steps based on the '/HPE Solutions/Library/Integrations/Hewlett-Packard/Operations Orchestration/10.x/Scheduling/Schedule Flow' operation are executed in parallel, sometimes some of the steps may fail with the following exception.

  at com.hp.oo.content.oo.services.impl.SchedulingServiceImpl.validateResponse(SchedulingServiceImpl.java:242)
  at com.hp.oo.content.oo.services.impl.SchedulingServiceImpl.scheduleFlow(SchedulingServiceImpl.java:53)
  at com.hp.oo.content.oo.actions.scheduling.ScheduleFlow.scheduleFlow(ScheduleFlow.java:106)
  Caused by: java.lang.Exception:
  at com.hp.oo.content.oo.services.impl.SchedulingService

At the time same, server.log of Central records an exception like below:

  YYYY-MM-DD 14:48:00,633 [http-nio-8080-exec-1] (SchedulerController.java:138) ERROR - Unable to store Trigger with name: '1501480080618' and group: 'DEFAULT', because one already exists with this identification.
  org.quartz.ObjectAlreadyExistsException: Unable to store Trigger with name: '1501480080618' and group: 'DEFAULT', because one already exists with this identification.
  at org.quartz.impl.jdbcjobstore.JobStoreSupport.storeTrigger(JobStoreSupport.java:1179)
  at org.quartz.core.QuartzScheduler.scheduleJob(QuartzScheduler.java:932)
  at org.quartz.impl.StdScheduler.scheduleJob(StdScheduler.java:258)
  at com.hp.oo.scheduler.services.SchedulerServiceImpl.createFlowSchedule(SchedulerServiceImpl.java:232)

To avoid the failure and exception, try using 'Wait For Lock' and 'Release Lock' operations before and after a 'Schedule Flow' step, or upgrading your Central to 10.70 that includes some improvements of schedule creation process with the scheduler library(quartz).

Labels (1)
0 Replies
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.