[ https://issues.apache.org/jira/browse/SYNCOPE-1644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francesco Chicchiriccò resolved SYNCOPE-1644. --------------------------------------------- Resolution: Fixed > Task run failure with multi-node deployments > -------------------------------------------- > > Key: SYNCOPE-1644 > URL: https://issues.apache.org/jira/browse/SYNCOPE-1644 > Project: Syncope > Issue Type: Bug > Components: core > Affects Versions: 2.1.9 > Reporter: Francesco Chicchiriccò > Assignee: Francesco Chicchiriccò > Priority: Major > Fix For: 2.1.10, 3.0.0 > > > Under certain conditions: > * multi-node deployment > * LB in front > * task or report created and executed by two subsequent calls to LB, reaching > two different back-end nodes (typically from Console) > an error is raised: > {code} > org.quartz.SchedulerException: Job instantiation failed [See nested > exception: org.springframework.beans.factory.NoSuchBeanDefinitionException: > No bean named 'taskJob379a7e29-e7cf-4373-9a7e-29e7cfa373b6' available] > {code} > This happens because > [AutowiringSpringBeanJobFactory|https://github.com/apache/syncope/blob/syncope-2.1.9/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/job/AutowiringSpringBeanJobFactory.java] > is expecting a singleton bean for each task or report to run: such a bean is > registered upon task or report create, but remains in memory only for the > node on which create has happened. -- This message was sent by Atlassian Jira (v8.3.4#803005)