Error while starting Flowable

Hello Colleagues,

I’m facing errors while starting flowable apps

:: Flowable :: (v6.4.2) :: Spring Boot :: (v2.1.6.RELEASE)

2021-02-16 22:23:49.985 INFO 1093 — [nio2-443-exec-1] o.f.u.m.a.FlowableModelerApplication : Starting FlowableModelerApplication v6.4.2 on vlgsp6a54e with PID 1093 (/data/apache-tomcat-9.0.22/webapps/flowable-modeler/WEB-INF/classes started by root in /)
2021-02-16 22:23:49.992 INFO 1093 — [nio2-443-exec-1] o.f.u.m.a.FlowableModelerApplication : No active profile set, falling back to default profiles: default
2021-02-16 22:23:51.405 INFO 1093 — [nio2-443-exec-1] trationDelegate$BeanPostProcessorChecker : Bean ‘org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration’ of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$f8abcccb] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-02-16 22:23:51.433 INFO 1093 — [nio2-443-exec-1] o.s.w.c.ContextLoader : Root WebApplicationContext: initialization completed in 1296 ms
2021-02-16 22:23:52.385 INFO 1093 — [nio2-443-exec-1] c.z.h.HikariDataSource : flowable-ui-modeler - Starting…
2021-02-16 22:23:52.389 WARN 1093 — [nio2-443-exec-1] c.z.h.u.DriverDataSource : Registered driver with driverClassName=com.mysql.jdbc.Driver was not found, trying direct instantiation.
2021-02-16 22:23:52.411 INFO 1093 — [nio2-443-exec-1] c.z.h.HikariDataSource : flowable-ui-modeler - Start completed.
2021-02-16 22:23:52.415 INFO 1093 — [nio2-443-exec-1] o.f.u.m.c.DatabaseConfiguration : database product name: ‘MySQL’
2021-02-16 22:23:52.415 INFO 1093 — [nio2-443-exec-1] o.f.u.m.c.DatabaseConfiguration : using database type: mysql
2021-02-16 22:23:52.852 INFO 1093 — [nio2-443-exec-1] o.f.u.m.c.DatabaseConfiguration : Configuring Liquibase
2021-02-16 22:23:53.307 INFO 1093 — [nio2-443-exec-1] l.e.j.JdbcExecutor : SELECT COUNT() FROM flowable.ACT_DE_DATABASECHANGELOGLOCK
2021-02-16 22:23:53.312 INFO 1093 — [nio2-443-exec-1] l.e.j.JdbcExecutor : SELECT COUNT(
) FROM flowable.ACT_DE_DATABASECHANGELOGLOCK
2021-02-16 22:23:53.315 INFO 1093 — [nio2-443-exec-1] l.e.j.JdbcExecutor : SELECT LOCKED FROM flowable.ACT_DE_DATABASECHANGELOGLOCK WHERE ID=1
2021-02-16 22:23:53.334 INFO 1093 — [nio2-443-exec-1] l.l.StandardLockService : Successfully acquired change log lock
2021-02-16 22:23:54.060 INFO 1093 — [nio2-443-exec-1] l.e.j.JdbcExecutor : SELECT MD5SUM FROM flowable.ACT_DE_DATABASECHANGELOG WHERE MD5SUM IS NOT NULL LIMIT 1
2021-02-16 22:23:54.062 INFO 1093 — [nio2-443-exec-1] l.e.j.JdbcExecutor : SELECT COUNT(*) FROM flowable.ACT_DE_DATABASECHANGELOG
2021-02-16 22:23:54.063 INFO 1093 — [nio2-443-exec-1] l.c.StandardChangeLogHistoryService : Reading from flowable.ACT_DE_DATABASECHANGELOG
2021-02-16 22:23:54.063 INFO 1093 — [nio2-443-exec-1] l.e.j.JdbcExecutor : SELECT * FROM flowable.ACT_DE_DATABASECHANGELOG ORDER BY DATEEXECUTED ASC, ORDEREXECUTED ASC
2021-02-16 22:23:54.071 INFO 1093 — [nio2-443-exec-1] l.l.StandardLockService : Successfully released change log lock
2021-02-16 22:23:54.072 WARN 1093 — [nio2-443-exec-1] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘liquibase’ defined in class path resource [org/flowable/ui/modeler/conf/DatabaseConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [liquibase.Liquibase]: Factory method ‘liquibase’ threw exception; nested exception is org.flowable.ui.common.service.exception.InternalServerErrorException: Error creating liquibase database
2021-02-16 22:23:54.083 INFO 1093 — [nio2-443-exec-1] c.z.h.HikariDataSource : flowable-ui-modeler - Shutdown initiated…
2021-02-16 22:23:54.091 INFO 1093 — [nio2-443-exec-1] c.z.h.HikariDataSource : flowable-ui-modeler - Shutdown completed.
2021-02-16 22:23:54.104 INFO 1093 — [nio2-443-exec-1] ConditionEvaluationReportLoggingListener :

Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.
2021-02-16 22:23:54.105 ERROR 1093 — [nio2-443-exec-1] o.s.b.SpringApplication : Application run failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘liquibase’ defined in class path resource [org/flowable/ui/modeler/conf/DatabaseConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [liquibase.Liquibase]: Factory method ‘liquibase’ threw exception; nested exception is org.flowable.ui.common.service.exception.InternalServerErrorException: Error creating liquibase database
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:627) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE]
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:607) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1321) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1160) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:845) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877) ~[spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549) ~[spring-context-5.1.8.RELEASE.jar:5.1.8.RELEASE]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140) ~[spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:742) [spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:389) [spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:311) [spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE]
at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:151) [spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE]
at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:131) [spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE]
at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:91) [spring-boot-2.1.6.RELEASE.jar:2.1.6.RELEASE]
at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:171) [spring-web-5.1.8.RELEASE.jar:5.1.8.RELEASE]
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5132) [catalina.jar:9.0.22]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.22]
at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1415) [catalina.jar:9.0.22]
at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:700) [catalina.jar:9.0.22]
at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:223) [catalina.jar:9.0.22]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) [servlet-api.jar:?]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) [servlet-api.jar:?]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [catalina.jar:9.0.22]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:136) [catalina.jar:9.0.22]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) [tomcat-websocket.jar:9.0.22]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) [catalina.jar:9.0.22]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [catalina.jar:9.0.22]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:607) [catalina.jar:9.0.22]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) [catalina.jar:9.0.22]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [catalina.jar:9.0.22]
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:678) [catalina.jar:9.0.22]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) [catalina.jar:9.0.22]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [catalina.jar:9.0.22]
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) [tomcat-coyote.jar:9.0.22]
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-coyote.jar:9.0.22]
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:853) [tomcat-coyote.jar:9.0.22]
at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1676) [tomcat-coyote.jar:9.0.22]
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-coyote.jar:9.0.22]
at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1087) [tomcat-coyote.jar:9.0.22]
at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:589) [tomcat-coyote.jar:9.0.22]
at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:567) [tomcat-coyote.jar:9.0.22]
at org.apache.tomcat.util.net.SecureNio2Channel$1.completed(SecureNio2Channel.java:968) [tomcat-coyote.jar:9.0.22]
at org.apache.tomcat.util.net.SecureNio2Channel$1.completed(SecureNio2Channel.java:897) [tomcat-coyote.jar:9.0.22]
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127) [?:?]
at sun.nio.ch.Invoker$2.run(Invoker.java:219) [?:?]
at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:9.0.22]
at java.lang.Thread.run(Thread.java:830) [?:?]
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [liquibase.Liquibase]: Factory method ‘liquibase’ threw exception; nested exception is org.flowable.ui.common.service.exception.InternalServerErrorException: Error creating liquibase database
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE]
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:622) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE]
… 60 more
Caused by: org.flowable.ui.common.service.exception.InternalServerErrorException: Error creating liquibase database
at org.flowable.ui.modeler.conf.DatabaseConfiguration.liquibase(DatabaseConfiguration.java:148) ~[flowable-ui-modeler-conf-6.4.2.jar:6.4.2]
at org.flowable.ui.modeler.conf.DatabaseConfiguration$$EnhancerBySpringCGLIB$$7c053937.CGLIB$liquibase$0() ~[flowable-ui-modeler-conf-6.4.2.jar:6.4.2]
at org.flowable.ui.modeler.conf.DatabaseConfiguration$$EnhancerBySpringCGLIB$$7c053937$$FastClassBySpringCGLIB$$6cc3c2cd.invoke() ~[flowable-ui-modeler-conf-6.4.2.jar:6.4.2]

Hi @Swapnil

Is this related to your previous post?

Yvo

Hello @yvo

Yes, as I was facing error with Flowable - UI post upgrade from 6.6 version

Now, I have performed the cleanup of the server and installed fresh 6.4 version on it.

Facing this new error while starting flowable apps now