Upgrading to version 6.5.0 from 6.4.1 is failing

Hello Team,

I’ve a springboot application which is deployed in CF with flowable version 6.4.1. And, now I need to upgrade it to 6.5.0, which is done via pom.xml. But I’m getting issues in that, here are the logs

 2020-08-11T23:45:17.44+0530 [APP/PROC/WEB/0] OUT 2020-08-11 18:15:17.441  WARN 6 --- [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eventRegistryEngine' defined in class path resource [org/flowable/spring/boot/eventregistry/EventRegistryServicesAutoConfiguration$AlreadyInitializedEventRegistryConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.flowable.eventregistry.impl.EventRegistryEngine]: Factory method 'eventRegistryEngine' threw exception; nested exception is java.lang.IllegalStateException: Event registry has not been initialized
   2020-08-11T23:45:17.44+0530 [APP/PROC/WEB/0] OUT 2020-08-11 18:15:17.442  INFO 6 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Shutting down ExecutorService 'applicationTaskExecutor'
   2020-08-11T23:45:17.64+0530 [APP/PROC/WEB/0] OUT 2020-08-11 18:15:17.647  INFO 6 --- [           main] ConditionEvaluationReportLoggingListener :
   2020-08-11T23:45:17.64+0530 [APP/PROC/WEB/0] OUT Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT 2020-08-11 18:15:17.840 ERROR 6 --- [           main] o.s.boot.SpringApplication               : Application run failed
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eventRegistryEngine' defined in class path resource [org/flowable/spring/boot/eventregistry/EventRegistryServicesAutoConfiguration$AlreadyInitializedEventRegistryConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.flowable.eventregistry.impl.EventRegistryEngine]: Factory method 'eventRegistryEngine' threw exception; nested exception is java.lang.IllegalStateException: Event registry has not been initialized
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:656) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:636) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1338) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1177) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:557) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:882) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:878) ~[spring-context-5.2.5.RELEASE.jar:5.2.5.RELEASE]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550) ~[spring-context-5.2.5.RELEASE.jar:5.2.5.RELEASE]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141) ~[spring-boot-2.2.6.RELEASE.jar:2.2.6.RELEASE]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747) ~[spring-boot-2.2.6.RELEASE.jar:2.2.6.RELEASE]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) ~[spring-boot-2.2.6.RELEASE.jar:2.2.6.RELEASE]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) ~[spring-boot-2.2.6.RELEASE.jar:2.2.6.RELEASE]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:152) [spring-boot-2.2.6.RELEASE.jar:2.2.6.RELEASE]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:132) [spring-boot-2.2.6.RELEASE.jar:2.2.6.RELEASE]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:92) [spring-boot-2.2.6.RELEASE.jar:2.2.6.RELEASE]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:172) [spring-web-5.2.7.RELEASE.jar:5.2.7.RELEASE]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5128) [catalina.jar:9.0.37]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.37]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717) [catalina.jar:9.0.37]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690) [catalina.jar:9.0.37]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705) [catalina.jar:9.0.37]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1133) [catalina.jar:9.0.37]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1866) [catalina.jar:9.0.37]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_262]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_262]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) [tomcat-util.jar:9.0.37]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112) [na:1.8.0_262]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1045) [catalina.jar:9.0.37]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:429) [catalina.jar:9.0.37]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1576) [catalina.jar:9.0.37]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309) [catalina.jar:9.0.37]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123) [catalina.jar:9.0.37]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423) [catalina.jar:9.0.37]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366) [catalina.jar:9.0.37]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:936) [catalina.jar:9.0.37]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841) [catalina.jar:9.0.37]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.37]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384) [catalina.jar:9.0.37]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374) [catalina.jar:9.0.37]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_262]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) [tomcat-util.jar:9.0.37]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134) [na:1.8.0_262]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909) [catalina.jar:9.0.37]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262) [catalina.jar:9.0.37]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.37]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421) [catalina.jar:9.0.37]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.37]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930) [catalina.jar:9.0.37]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.37]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.startup.Catalina.start(Catalina.java:738) [catalina.jar:9.0.37]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_262]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_262]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_262]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_262]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:342) [bootstrap.jar:9.0.37]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:473) [bootstrap.jar:9.0.37]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.flowable.eventregistry.impl.EventRegistryEngine]: Factory method 'eventRegistryEngine' threw exception; nested exception is java.lang.IllegalStateException: Event registry has not been initialized
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:651) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     ... 60 common frames omitted
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT Caused by: java.lang.IllegalStateException: Event registry has not been initialized
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.flowable.spring.boot.eventregistry.EventRegistryServicesAutoConfiguration$AlreadyInitializedEventRegistryConfiguration.eventRegistryEngine(EventRegistryServicesAutoConfiguration.java:73) ~[flowable-spring-boot-autoconfigure-6.5.0.jar:6.5.0]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_262]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_262]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_262]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_262]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     ... 61 common frames omitted
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT [CONTAINER] org.apache.catalina.startup.HostConfig             SEVERE  Error deploying web application directory [/home/vcap/app/.java-buildpack/tomcat/webapps/ROOT]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT java.lang.IllegalStateException: Error starting child
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:720)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1133)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1866)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1045)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:429)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1576)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:936)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.startup.Catalina.start(Catalina.java:738)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at java.lang.reflect.Method.invoke(Method.java:498)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:342)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:473)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     ... 37 more
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eventRegistryEngine' defined in class path resource [org/flowable/spring/boot/eventregistry/EventRegistryServicesAutoConfiguration$AlreadyInitializedEventRegistryConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.flowable.eventregistry.impl.EventRegistryEngine]: Factory method 'eventRegistryEngine' threw exception; nested exception is java.lang.IllegalStateException: Event registry has not been initialized
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:656)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:636)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1338)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1177)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:557)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:882)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:878)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:152)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:132)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:92)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:172)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5128)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     ... 38 more
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.flowable.eventregistry.impl.EventRegistryEngine]: Factory method 'eventRegistryEngine' threw exception; nested exception is java.lang.IllegalStateException: Event registry has not been initialized
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:651)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     ... 60 more
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT Caused by: java.lang.IllegalStateException: Event registry has not been initialized
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.flowable.spring.boot.eventregistry.EventRegistryServicesAutoConfiguration$AlreadyInitializedEventRegistryConfiguration.eventRegistryEngine(EventRegistryServicesAutoConfiguration.java:73)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at java.lang.reflect.Method.invoke(Method.java:498)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT     ... 61 more
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT [CONTAINER] org.apache.catalina.startup.HostConfig             INFO    Deployment of web application directory [/home/vcap/app/.java-buildpack/tomcat/webapps/ROOT] has finished in [59,293] ms
   2020-08-11T23:45:17.84+0530 [APP/PROC/WEB/0] OUT [CONTAINER] pplicationStartupFailureDetectingLifecycleListener SEVERE  Error: Application '' failed (state = FAILED): see Tomcat's logs for details. Halting Tomcat.

Please suggest me what could be the possible reason, I’ve read a lot and tried to deploy but nothing is working.

Regards,
Ashmita Sinha

Can you share your pom.xml? It seems like the event registry dependency is missing, although that’s a default dependency of flowable-engine (which means it should come automatically when upgrading to 6.5.0).

Hello,

Here are the dependencies related to flowable which I’ve used,

version: 6.4.1

	<dependency>
		<groupId>org.flowable</groupId>
		<artifactId>flowable-bpmn-converter</artifactId>
		<version>${flowable.version}</version>
	</dependency>
	<dependency>
		<groupId>org.flowable</groupId>
		<artifactId>flowable-spring-boot-starter-process</artifactId>
		<version>${flowable.version}</version>
	</dependency>
	<dependency>
		<groupId>org.flowable</groupId>
		<artifactId>flowable-engine</artifactId>
		<version>${flowable.version}</version>
	</dependency>
	<dependency>
		<groupId>org.flowable</groupId>
		<artifactId>flowable-spring</artifactId>
		<version>${flowable.version}</version>
	</dependency>
	<dependency>
		<groupId>org.flowable</groupId>
		<artifactId>flowable-bpmn-model</artifactId>
		<version>${flowable.version}</version>
	</dependency>
	<dependency>
		<groupId>org.flowable</groupId>
		<artifactId>flowable-engine-configurator</artifactId>
		<version>${flowable.version}</version>
	</dependency>
	<dependency>
		<groupId>org.flowable</groupId>
		<artifactId>flowable-spring-configurator</artifactId>
		<version>${flowable.version}</version>
	</dependency>
	<!-- End of Flowable Dependencies-->

Regards,
Ashmita Sinha

Looking at that list of dependencies, you only need the start dependency:

 <dependency>
 		<groupId>org.flowable</groupId>
 		<artifactId>flowable-spring-boot-starter-process</artifactId>
 		<version>${flowable.version}</version>
 	</dependency>

Can you try with that?

Also, how are you instantiating the ProcessEngine? Do you have your own configuration?