Bonita Ubuntu TomCat MySQL

I have try to install on a fresh Ubuntu server the BPM :

  Version
Operating system  
Ubuntu 18.04 LTS 64 bits
Java Virtual Machine  
OpenJDK 8 or 11 (see note 1)
Application Server  
Apache Tomcat 8.5.x (x > 40)
Database (see note 2)
MySQL 8.0.14 and higher in the 8.0.x line (see note 3)

Unfortunately it seem that I miss something and or a step :-(

There are unclear steps to achieve the installation :

Unbuntu installed

MySQL installed

here are the log bolita :

2019-12-18 18:19:37.582 +0000 FINE: org.jboss.narayana.tomcat.jta.TransactionLifecycleListener Initializing Narayana
2019-12-18 18:19:37.760 +0000 INFO: com.arjuna.ats.arjuna ARJUNA012170: TransactionStatusManager started on port 45463 and host 127.0.0.1 with service com.arjuna.ats.arjuna.recovery.ActionStatusService
2019-12-18 18:19:38.705 +0000 INFO: org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/bonita] No Spring WebApplicationInitializer types detected on classpath
2019-12-18 18:19:38.811 +0000 INFO: org.bonitasoft.platform.setup.ScriptExecutor configuration for Database vendor: mysql
2019-12-18 18:19:38.813 +0000 INFO: org.bonitasoft.platform.setup.PlatformSetup System property org.bonitasoft.platform.setup.folder is set to /opt/Bonita/server/../setup
2019-12-18 18:19:38.817 +0000 INFO: org.bonitasoft.platform.setup.PlatformSetup Connected to 'mysql' database with url: 'jdbc:mysql://localhost:3306/bonita_journal?dontTrackOpenResources=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&allowPublicKeyRetrieval=true' with user: 'bonita@localhost'
2019-12-18 18:19:38.880 +0000 INFO: org.bonitasoft.platform.setup.PlatformSetup Platform is already created.
2019-12-18 18:19:38.880 +0000 INFO: org.bonitasoft.platform.setup.PlatformSetup Upgrading default configuration with files from folder: /opt/Bonita/server/../setup/platform_conf/initial
2019-12-18 18:19:38.913 +0000 INFO: org.bonitasoft.engine.EngineInitializer Initializing Bonita Engine...
2019-12-18 18:19:40.792 +0000 WARNING: org.bonitasoft.engine.service.impl.BonitaSpringContext Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'schedulerExecutor' defined in class path resource [bonita-platform-community.xml]: Unsatisfied dependency expressed through bean property 'BOSSchedulerService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scheduler' defined in class path resource [bonita-platform-community.xml]: Cannot resolve reference to bean 'jobService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jobService' defined in class path resource [bonita-platform-community.xml]: Cannot resolve reference to bean 'tenantRecorderSyncForPlatform' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantRecorderSyncForPlatform' defined in class path resource [bonita-platform-community.xml]: Cannot resolve reference to bean 'persistenceService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'persistenceService' defined in class path resource [bonita-platform-community.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.bonitasoft.engine.persistence.TenantHibernatePersistenceService]: Constructor threw exception; nested exception is org.hibernate.engine.jndi.JndiException: Unable to lookup JNDI name [java:comp/env/bonitaDS]
2019-12-18 18:19:40.793 +0000 SEVERE: org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/bonita] Exception sending context initialized event to listener instance of class [org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener]
java.lang.RuntimeException: Error while initializing the Engine
        at org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener.contextInitialized(EngineInitializerListener.java:35)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4770)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5236)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:624)
        at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1833)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'schedulerExecutor' defined in class path resource [bonita-platform-community.xml]: Unsatisfied dependency expressed through bean property 'BOSSchedulerService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scheduler' defined in class path resource [bonita-platform-community.xml]: Cannot resolve reference to bean 'jobService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jobService' defined in class path resource [bonita-platform-community.xml]: Cannot resolve reference to bean 'tenantRecorderSyncForPlatform' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantRecorderSyncForPlatform' defined in class path resource [bonita-platform-community.xml]: Cannot resolve reference to bean 'persistenceService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'persistenceService' defined in class path resource [bonita-platform-community.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.bonitasoft.engine.persistence.TenantHibernatePersistenceService]: Constructor threw exception; nested exception is org.hibernate.engine.jndi.JndiException: Unable to lookup JNDI name [java:comp/env/bonitaDS]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1499)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1379)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:592)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
        at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:849)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549)
        at org.bonitasoft.engine.service.impl.SpringBeanAccessor.getContext(SpringBeanAccessor.java:61)
        at org.bonitasoft.engine.service.impl.SpringBeanAccessor.getService(SpringBeanAccessor.java:45)
        at org.bonitasoft.engine.service.impl.SpringPlatformServiceAccessor.getPlatformSessionService(SpringPlatformServiceAccessor.java:96)
        at org.bonitasoft.engine.EngineInitializer.getPlatformSessionService(EngineInitializer.java:95)
        at org.bonitasoft.engine.EngineInitializer.initializeEngine(EngineInitializer.java:57)
        at org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener.contextInitialized(EngineInitializerListener.java:33)
        ... 13 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scheduler' defined in class path resource [bonita-platform-community.xml]: Cannot resolve reference to bean 'jobService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jobService' defined in class path resource [bonita-platform-community.xml]: Cannot resolve reference to bean 'tenantRecorderSyncForPlatform' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantRecorderSyncForPlatform' defined in class path resource [bonita-platform-community.xml]: Cannot resolve reference to bean 'persistenceService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'persistenceService' defined in class path resource [bonita-platform-community.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.bonitasoft.engine.persistence.TenantHibernatePersistenceService]: Constructor threw exception; nested exception is org.hibernate.engine.jndi.JndiException: Unable to lookup JNDI name [java:comp/env/bonitaDS]
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:378)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110)
        at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:676)
        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:188)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1325)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1171)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
        at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
        at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:277)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1247)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1167)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1484)
        ... 29 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jobService' defined in class path resource [bonita-platform-community.xml]: Cannot resolve reference to bean 'tenantRecorderSyncForPlatform' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantRecorderSyncForPlatform' defined in class path resource [bonita-platform-community.xml]: Cannot resolve reference to bean 'persistenceService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'persistenceService' defined in class path resource [bonita-platform-community.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.bonitasoft.engine.persistence.TenantHibernatePersistenceService]: Constructor threw exception; nested exception is org.hibernate.engine.jndi.JndiException: Unable to lookup JNDI name [java:comp/env/bonitaDS]
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:378)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110)
        at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:676)
        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:188)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1325)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1171)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
        at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:367)
        ... 44 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantRecorderSyncForPlatform' defined in class path resource [bonita-platform-community.xml]: Cannot resolve reference to bean 'persistenceService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'persistenceService' defined in class path resource [bonita-platform-community.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.bonitasoft.engine.persistence.TenantHibernatePersistenceService]: Constructor threw exception; nested exception is org.hibernate.engine.jndi.JndiException: Unable to lookup JNDI name [java:comp/env/bonitaDS]
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:378)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110)
        at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:676)
        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:188)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1325)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1171)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
        at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:367)
        ... 56 more

 

Regards

Karim

I think you still have the same error: in log files it complains about failing to locate the class com.mysql.jdbc.MysqlDataSourceFactory but by default, in Bonita + Tomcat bundle, it should try to load com.mysql.cj.jdbc.MysqlDataSourceFactory (there is an additional “cj” in the name) that is provided by jar file mysql-connector-java-8.0.14.jar.

My recommendation would be to restore the default internal.properties provided with Bonita + Tomcat bundle.

Can you share the following files:

  • BonitaCommunity-7.10.0/server/logs/catalina.out
  • BonitaCommunity-7.10.0/setup/database.properties
  • BonitaCommunity-7.10.0/server/conf/Catalina/localhost/bonita.xml

 

From the log file I can see that Bonita server setup tool can connect successfully to the database and report that Bonita tables were created:

2019-12-18 18:19:38.817 +0000 INFO: org.bonitasoft.platform.setup.PlatformSetup Connected to 'mysql' database with url: 'jdbc:mysql://localhost:3306/bonita_journal?dontTrackOpenResources=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&allowPublicKeyRetrieval=true' with user: 'bonita@localhost'
2019-12-18 18:19:38.880 +0000 INFO: org.bonitasoft.platform.setup.PlatformSetup Platform is already created.
2019-12-18 18:19:38.880 +0000 INFO: org.bonitasoft.platform.setup.PlatformSetup Upgrading default configuration with files from folder: /opt/Bonita/server/../setup/platform_conf/initial

 

But after that I see:

org.hibernate.engine.jndi.JndiException: Unable to lookup JNDI name [java:comp/env/bonitaDS]

meaning that Bonita Engine failed to find the data source (DS) it need to use to access to the database. With the files I asked I want to make sure that the settings defined in database.properties were correctly used by setup tool to create the data source configuration file (i.e. bonita.xml).

Thanks.

Catalina.out :

 

NOTE: Picked up JDK_JAVA_OPTIONS:  --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
2019-12-18 18:19:37.208 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Server version:        Apache Tomcat/8.5.40
2019-12-18 18:19:37.214 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Server built:          Apr 10 2019 14:31:19 UTC
2019-12-18 18:19:37.215 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Server number:         8.5.40.0
2019-12-18 18:19:37.215 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener OS Name:               Linux
2019-12-18 18:19:37.216 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener OS Version:            4.15.0-72-generic
2019-12-18 18:19:37.216 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Architecture:          amd64
2019-12-18 18:19:37.217 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Java Home:             /usr/lib/jvm/java-11-openjdk-amd64
2019-12-18 18:19:37.217 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener JVM Version:           11.0.4+11-post-Ubuntu-1ubuntu218.04.3
2019-12-18 18:19:37.218 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener JVM Vendor:            Ubuntu
2019-12-18 18:19:37.218 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener CATALINA_BASE:         /opt/Bonita/server
2019-12-18 18:19:37.219 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener CATALINA_HOME:         /opt/Bonita/server
2019-12-18 18:19:37.222 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED
2019-12-18 18:19:37.222 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED
2019-12-18 18:19:37.223 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
2019-12-18 18:19:37.223 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Djava.util.logging.config.file=/opt/Bonita/server/conf/logging.properties
2019-12-18 18:19:37.224 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
2019-12-18 18:19:37.224 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
2019-12-18 18:19:37.224 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
2019-12-18 18:19:37.225 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
2019-12-18 18:19:37.225 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Dorg.bonitasoft.platform.setup.folder=/opt/Bonita/server/../setup
2019-12-18 18:19:37.226 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Dsysprop.bonita.db.vendor=mysql
2019-12-18 18:19:37.226 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Dsysprop.bonita.bdm.db.vendor=mysql
2019-12-18 18:19:37.227 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Dcom.arjuna.ats.arjuna.common.propertiesFile=/opt/Bonita/server/conf/jbossts-properties.xml
2019-12-18 18:19:37.227 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Dorg.bonitasoft.engine.incident.folder=/opt/Bonita/server/logs
2019-12-18 18:19:37.227 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Dfile.encoding=UTF-8
2019-12-18 18:19:37.228 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Xshare:auto
2019-12-18 18:19:37.228 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Xms1024m
2019-12-18 18:19:37.229 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Xmx1024m
2019-12-18 18:19:37.229 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -XX:+HeapDumpOnOutOfMemoryError
2019-12-18 18:19:37.230 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Djava.security.egd=file:/dev/./urandom
2019-12-18 18:19:37.230 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Dignore.endorsed.dirs=
2019-12-18 18:19:37.230 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Dcatalina.base=/opt/Bonita/server
2019-12-18 18:19:37.231 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Dcatalina.home=/opt/Bonita/server
2019-12-18 18:19:37.231 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Djava.io.tmpdir=/opt/Bonita/server/temp
2019-12-18 18:19:37.231 +0000 INFO: org.apache.catalina.core.AprLifecycleListener The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/usr/java/packages/lib:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib]
2019-12-18 18:19:37.286 +0000 INFO: org.apache.coyote.http11.Http11NioProtocol Initializing ProtocolHandler ["http-nio-8080"]
2019-12-18 18:19:37.301 +0000 INFO: org.apache.tomcat.util.net.NioSelectorPool Using a shared selector for servlet write/read
2019-12-18 18:19:37.326 +0000 INFO: org.apache.coyote.http11.Http11NioProtocol Initializing ProtocolHandler ["https-jsse-nio-8443"]
2019-12-18 18:19:37.575 +0000 SEVERE: org.apache.catalina.core.StandardService Failed to initialize connector [Connector[HTTP/1.1-8443]]
org.apache.catalina.LifecycleException: Failed to initialize component [Connector[HTTP/1.1-8443]]
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:112)
        at org.apache.catalina.core.StandardService.initInternal(StandardService.java:552)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
        at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:875)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:639)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:662)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:309)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
Caused by: org.apache.catalina.LifecycleException: Protocol handler initialization failed
        at org.apache.catalina.connector.Connector.initInternal(Connector.java:995)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
        ... 12 more
Caused by: java.lang.IllegalArgumentException: /opt/Bonita/server/conf/localhost-rsa.jks (No such file or directory)
        at org.apache.tomcat.util.net.AbstractJsseEndpoint.createSSLContext(AbstractJsseEndpoint.java:100)
        at org.apache.tomcat.util.net.AbstractJsseEndpoint.initialiseSsl(AbstractJsseEndpoint.java:72)
        at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:244)
        at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:1105)
        at org.apache.tomcat.util.net.AbstractJsseEndpoint.init(AbstractJsseEndpoint.java:224)
        at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:581)
        at org.apache.coyote.http11.AbstractHttp11Protocol.init(AbstractHttp11Protocol.java:68)
        at org.apache.catalina.connector.Connector.initInternal(Connector.java:993)
        ... 13 more
Caused by: java.io.FileNotFoundException: /opt/Bonita/server/conf/localhost-rsa.jks (No such file or directory)
        at java.base/java.io.FileInputStream.open0(Native Method)
        at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
        at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
        at java.base/java.io.FileInputStream.<init>(FileInputStream.java:112)
        at java.base/sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:86)
        at java.base/sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:184)
        at org.apache.tomcat.util.file.ConfigFileLoader.getInputStream(ConfigFileLoader.java:89)
        at org.apache.tomcat.util.net.SSLUtilBase.getStore(SSLUtilBase.java:190)
        at org.apache.tomcat.util.net.SSLHostConfigCertificate.getCertificateKeystore(SSLHostConfigCertificate.java:206)
        at org.apache.tomcat.util.net.SSLUtilBase.getKeyManagers(SSLUtilBase.java:272)
        at org.apache.tomcat.util.net.SSLUtilBase.createSSLContext(SSLUtilBase.java:239)
        at org.apache.tomcat.util.net.AbstractJsseEndpoint.createSSLContext(AbstractJsseEndpoint.java:98)
        ... 20 more

2019-12-18 18:19:37.578 +0000 INFO: org.apache.coyote.ajp.AjpNioProtocol Initializing ProtocolHandler ["ajp-nio-8009"]
2019-12-18 18:19:37.580 +0000 INFO: org.apache.tomcat.util.net.NioSelectorPool Using a shared selector for servlet write/read
2019-12-18 18:19:37.581 +0000 INFO: org.apache.catalina.startup.Catalina Initialization processed in 916 ms
2019-12-18 18:19:37.822 +0000 INFO: org.apache.catalina.core.StandardService Starting service [Catalina]
2019-12-18 18:19:37.823 +0000 INFO: org.apache.catalina.core.StandardEngine Starting Servlet Engine: Apache Tomcat/8.5.40
2019-12-18 18:19:37.831 +0000 INFO: org.apache.catalina.startup.HostConfig Deploying configuration descriptor [/opt/Bonita/server/conf/Catalina/localhost/bonita.xml]
2019-12-18 18:19:38.441 +0000 WARNING: org.apache.catalina.core.NamingContextListener naming.jmxRegistrationFailed
Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.
2019-12-18 18:19:38.684 +0000 WARNING: org.apache.catalina.core.NamingContextListener naming.jmxRegistrationFailed
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.dom4j.io.SAXContentHandler (file:/opt/Bonita/server/webapps/bonita/WEB-INF/lib/dom4j-1.6.1.jar) to method com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser$LocatorProxy.getEncoding()
WARNING: Please consider reporting this to the maintainers of org.dom4j.io.SAXContentHandler
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2019-12-18 18:19:41.277 +0000 SEVERE: org.apache.catalina.core.StandardContext One or more listeners failed to start. Full details will be found in the appropriate container log file
2019-12-18 18:19:41.281 +0000 SEVERE: org.apache.catalina.core.StandardContext Context [/bonita] startup failed due to previous errors
2019-12-18 18:19:41.320 +0000 WARNING: org.apache.catalina.deploy.NamingResourcesImpl Failed to retrieve JNDI resource [RawBonitaDS] for container [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/bonita]] so no cleanup was performed for that resource
javax.naming.NamingException: Could not load resource factory class [Root exception is java.lang.ClassNotFoundException: com.mysql.jdbc.MysqlDataSourceFactory]
        at org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:66)
        at java.naming/javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:325)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:839)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:173)
        at org.apache.catalina.deploy.NamingResourcesImpl.cleanUp(NamingResourcesImpl.java:1034)
        at org.apache.catalina.deploy.NamingResourcesImpl.stopInternal(NamingResourcesImpl.java:1002)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
        at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5488)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:624)
        at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1833)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.MysqlDataSourceFactory
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1364)
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1185)
        at org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:61)
        ... 19 more

2019-12-18 18:19:41.324 +0000 WARNING: org.apache.catalina.deploy.NamingResourcesImpl Failed to retrieve JNDI resource [RawBusinessDataDS] for container [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/bonita]] so no cleanup was performed for that resource
javax.naming.NamingException: Could not load resource factory class [Root exception is java.lang.ClassNotFoundException: com.mysql.jdbc.MysqlDataSourceFactory]
        at org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:66)
        at java.naming/javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:325)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:839)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:173)
        at org.apache.catalina.deploy.NamingResourcesImpl.cleanUp(NamingResourcesImpl.java:1034)
        at org.apache.catalina.deploy.NamingResourcesImpl.stopInternal(NamingResourcesImpl.java:1002)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
        at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5488)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:624)
        at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1833)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.MysqlDataSourceFactory
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1364)
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1185)
        at org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:61)
        ... 19 more

2019-12-18 18:19:41.336 +0000 INFO: org.apache.catalina.startup.HostConfig Deployment of configuration descriptor [/opt/Bonita/server/conf/Catalina/localhost/bonita.xml] has finished in [3,504] ms
2019-12-18 18:19:41.337 +0000 INFO: org.apache.catalina.startup.HostConfig Deploying web application directory [/opt/Bonita/server/webapps/manager]
2019-12-18 18:19:41.393 +0000 INFO: org.apache.catalina.startup.HostConfig Deployment of web application directory [/opt/Bonita/server/webapps/manager] has finished in [56] ms
2019-12-18 18:19:41.393 +0000 INFO: org.apache.catalina.startup.HostConfig Deploying web application directory [/opt/Bonita/server/webapps/ROOT]
2019-12-18 18:19:41.410 +0000 INFO: org.apache.catalina.startup.HostConfig Deployment of web application directory [/opt/Bonita/server/webapps/ROOT] has finished in [17] ms
2019-12-18 18:19:41.416 +0000 INFO: org.apache.coyote.http11.Http11NioProtocol Starting ProtocolHandler ["http-nio-8080"]
2019-12-18 18:19:41.436 +0000 INFO: org.apache.coyote.ajp.AjpNioProtocol Starting ProtocolHandler ["ajp-nio-8009"]
2019-12-18 18:19:41.440 +0000 INFO: org.apache.catalina.startup.Catalina Server startup in 3858 ms
2019-12-18 18:33:21.489 +0000 INFO: org.apache.catalina.startup.HostConfig Undeploying context [/bonita]
2019-12-18 18:33:21.494 +0000 INFO: org.apache.catalina.startup.HostConfig Deploying configuration descriptor [/opt/Bonita/server/conf/Catalina/localhost/bonita.xml]
2019-12-18 18:33:21.754 +0000 WARNING: org.apache.catalina.core.NamingContextListener naming.jmxRegistrationFailed
2019-12-18 18:33:21.765 +0000 WARNING: org.apache.catalina.core.NamingContextListener naming.jmxRegistrationFailed
2019-12-18 18:33:23.718 +0000 SEVERE: org.apache.catalina.core.StandardContext One or more listeners failed to start. Full details will be found in the appropriate container log file
2019-12-18 18:33:23.720 +0000 SEVERE: org.apache.catalina.core.StandardContext Context [/bonita] startup failed due to previous errors
2019-12-18 18:33:23.754 +0000 WARNING: org.apache.catalina.deploy.NamingResourcesImpl Failed to retrieve JNDI resource [RawBonitaDS] for container [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/bonita]] so no cleanup was performed for that resource
javax.naming.NamingException: Could not load resource factory class [Root exception is java.lang.ClassNotFoundException: com.mysql.jdbc.MysqlDataSourceFactory]
        at org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:66)
        at java.naming/javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:325)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:839)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:173)
        at org.apache.catalina.deploy.NamingResourcesImpl.cleanUp(NamingResourcesImpl.java:1034)
        at org.apache.catalina.deploy.NamingResourcesImpl.stopInternal(NamingResourcesImpl.java:1002)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
        at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5488)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:624)
        at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1833)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.MysqlDataSourceFactory
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1364)
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1185)
        at org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:61)
        ... 19 more

2019-12-18 18:33:23.757 +0000 WARNING: org.apache.catalina.deploy.NamingResourcesImpl Failed to retrieve JNDI resource [RawBusinessDataDS] for container [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/bonita]] so no cleanup was performed for that resource
javax.naming.NamingException: Could not load resource factory class [Root exception is java.lang.ClassNotFoundException: com.mysql.jdbc.MysqlDataSourceFactory]
        at org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:66)
        at java.naming/javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:325)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:839)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:173)
        at org.apache.catalina.deploy.NamingResourcesImpl.cleanUp(NamingResourcesImpl.java:1034)
        at org.apache.catalina.deploy.NamingResourcesImpl.stopInternal(NamingResourcesImpl.java:1002)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
        at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5488)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:624)
        at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1833)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.MysqlDataSourceFactory
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1364)
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1185)
        at org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:61)
        ... 19 more

2019-12-18 18:33:23.764 +0000 INFO: org.apache.catalina.startup.HostConfig Deployment of configuration descriptor [/opt/Bonita/server/conf/Catalina/localhost/bonita.xml] has finished in [2,269] ms
2019-12-18 18:35:04.953 +0000 WARNING: org.apache.catalina.core.NamingContextListener naming.jmxRegistrationFailed
2019-12-18 18:35:04.964 +0000 WARNING: org.apache.catalina.core.NamingContextListener naming.jmxRegistrationFailed
2019-12-18 18:35:06.776 +0000 SEVERE: org.apache.catalina.core.StandardContext One or more listeners failed to start. Full details will be found in the appropriate container log file
2019-12-18 18:35:06.777 +0000 SEVERE: org.apache.catalina.core.StandardContext Context [/bonita] startup failed due to previous errors
2019-12-18 18:35:06.804 +0000 WARNING: org.apache.catalina.deploy.NamingResourcesImpl Failed to retrieve JNDI resource [RawBonitaDS] for container [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/bonita]] so no cleanup was performed for that resource
javax.naming.NamingException: Could not load resource factory class [Root exception is java.lang.ClassNotFoundException: com.mysql.jdbc.MysqlDataSourceFactory]
        at org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:66)
        at java.naming/javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:325)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:839)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:173)
        at org.apache.catalina.deploy.NamingResourcesImpl.cleanUp(NamingResourcesImpl.java:1034)
        at org.apache.catalina.deploy.NamingResourcesImpl.stopInternal(NamingResourcesImpl.java:1002)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
        at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5488)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
        at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1377)
        at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:694)
        at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:218)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:136)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610)
        at org.apache.catalina.valves.RequestFilterValve.process(RequestFilterValve.java:348)
        at org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java:52)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:798)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:808)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.MysqlDataSourceFactory
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1364)
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1185)
        at org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:61)
        ... 43 more

2019-12-18 18:35:06.807 +0000 WARNING: org.apache.catalina.deploy.NamingResourcesImpl Failed to retrieve JNDI resource [RawBusinessDataDS] for container [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/bonita]] so no cleanup was performed for that resource
javax.naming.NamingException: Could not load resource factory class [Root exception is java.lang.ClassNotFoundException: com.mysql.jdbc.MysqlDataSourceFactory]
        at org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:66)
        at java.naming/javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:325)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:839)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:173)
        at org.apache.catalina.deploy.NamingResourcesImpl.cleanUp(NamingResourcesImpl.java:1034)
        at org.apache.catalina.deploy.NamingResourcesImpl.stopInternal(NamingResourcesImpl.java:1002)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
        at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5488)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
        at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1377)
        at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:694)
        at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:218)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:136)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610)
        at org.apache.catalina.valves.RequestFilterValve.process(RequestFilterValve.java:348)
        at org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java:52)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:798)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:808)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.MysqlDataSourceFactory
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1364)
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1185)
        at org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:61)
        ... 43 more

2019-12-18 18:45:49.732 +0000 INFO: org.apache.catalina.core.StandardServer A valid shutdown command was received via the shutdown port. Stopping the Server instance.
2019-12-18 18:45:49.733 +0000 INFO: org.apache.coyote.http11.Http11NioProtocol Pausing ProtocolHandler ["http-nio-8080"]
2019-12-18 18:45:49.741 +0000 INFO: org.apache.coyote.http11.Http11NioProtocol Pausing ProtocolHandler ["https-jsse-nio-8443"]
2019-12-18 18:45:49.741 +0000 INFO: org.apache.coyote.ajp.AjpNioProtocol Pausing ProtocolHandler ["ajp-nio-8009"]
2019-12-18 18:45:49.747 +0000 INFO: org.apache.catalina.core.StandardService Stopping service [Catalina]
2019-12-18 18:45:49.767 +0000 INFO: org.apache.coyote.http11.Http11NioProtocol Stopping ProtocolHandler ["http-nio-8080"]
2019-12-18 18:45:49.770 +0000 INFO: org.apache.coyote.ajp.AjpNioProtocol Stopping ProtocolHandler ["ajp-nio-8009"]
2019-12-18 18:45:49.775 +0000 INFO: org.apache.coyote.http11.Http11NioProtocol Destroying ProtocolHandler ["http-nio-8080"]
2019-12-18 18:45:49.777 +0000 INFO: org.apache.coyote.http11.Http11NioProtocol Stopping ProtocolHandler ["https-jsse-nio-8443"]
2019-12-18 18:45:49.777 +0000 INFO: org.apache.coyote.http11.Http11NioProtocol Destroying ProtocolHandler ["https-jsse-nio-8443"]
2019-12-18 18:45:49.777 +0000 INFO: org.apache.coyote.ajp.AjpNioProtocol Destroying ProtocolHandler ["ajp-nio-8009"]
NOTE: Picked up JDK_JAVA_OPTIONS:  --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
2019-12-18 18:46:01.861 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Server version:        Apache Tomcat/8.5.40
2019-12-18 18:46:01.866 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Server built:          Apr 10 2019 14:31:19 UTC
2019-12-18 18:46:01.867 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Server number:         8.5.40.0
2019-12-18 18:46:01.867 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener OS Name:               Linux
2019-12-18 18:46:01.868 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener OS Version:            4.15.0-72-generic
2019-12-18 18:46:01.868 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Architecture:          amd64
2019-12-18 18:46:01.869 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Java Home:             /usr/lib/jvm/java-11-openjdk-amd64
2019-12-18 18:46:01.869 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener JVM Version:           11.0.4+11-post-Ubuntu-1ubuntu218.04.3
2019-12-18 18:46:01.870 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener JVM Vendor:            Ubuntu
2019-12-18 18:46:01.870 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener CATALINA_BASE:         /opt/Bonita/server
2019-12-18 18:46:01.871 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener CATALINA_HOME:         /opt/Bonita/server
2019-12-18 18:46:01.873 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED
2019-12-18 18:46:01.874 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED
2019-12-18 18:46:01.875 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
2019-12-18 18:46:01.875 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Djava.util.logging.config.file=/opt/Bonita/server/conf/logging.properties
2019-12-18 18:46:01.876 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
2019-12-18 18:46:01.876 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
2019-12-18 18:46:01.877 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
2019-12-18 18:46:01.877 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
2019-12-18 18:46:01.877 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Dorg.bonitasoft.platform.setup.folder=/opt/Bonita/server/../setup
2019-12-18 18:46:01.878 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Dsysprop.bonita.db.vendor=mysql
2019-12-18 18:46:01.878 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Dsysprop.bonita.bdm.db.vendor=mysql
2019-12-18 18:46:01.878 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Dcom.arjuna.ats.arjuna.common.propertiesFile=/opt/Bonita/server/conf/jbossts-properties.xml
2019-12-18 18:46:01.879 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Dorg.bonitasoft.engine.incident.folder=/opt/Bonita/server/logs
2019-12-18 18:46:01.879 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Dfile.encoding=UTF-8
2019-12-18 18:46:01.880 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Xshare:auto
2019-12-18 18:46:01.880 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Xms1024m
2019-12-18 18:46:01.880 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Xmx1024m
2019-12-18 18:46:01.881 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -XX:+HeapDumpOnOutOfMemoryError
2019-12-18 18:46:01.881 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Djava.security.egd=file:/dev/./urandom
2019-12-18 18:46:01.881 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Dignore.endorsed.dirs=
2019-12-18 18:46:01.882 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Dcatalina.base=/opt/Bonita/server
2019-12-18 18:46:01.882 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Dcatalina.home=/opt/Bonita/server
2019-12-18 18:46:01.883 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Djava.io.tmpdir=/opt/Bonita/server/temp
2019-12-18 18:46:01.883 +0000 INFO: org.apache.catalina.core.AprLifecycleListener The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/usr/java/packages/lib:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib]
2019-12-18 18:46:01.937 +0000 INFO: org.apache.coyote.http11.Http11NioProtocol Initializing ProtocolHandler ["http-nio-8080"]
2019-12-18 18:46:01.953 +0000 INFO: org.apache.tomcat.util.net.NioSelectorPool Using a shared selector for servlet write/read
2019-12-18 18:46:01.977 +0000 INFO: org.apache.coyote.http11.Http11NioProtocol Initializing ProtocolHandler ["https-jsse-nio-8443"]
2019-12-18 18:46:02.228 +0000 SEVERE: org.apache.catalina.core.StandardService Failed to initialize connector [Connector[HTTP/1.1-8443]]
org.apache.catalina.LifecycleException: Failed to initialize component [Connector[HTTP/1.1-8443]]
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:112)
        at org.apache.catalina.core.StandardService.initInternal(StandardService.java:552)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
        at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:875)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:639)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:662)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:309)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
Caused by: org.apache.catalina.LifecycleException: Protocol handler initialization failed
        at org.apache.catalina.connector.Connector.initInternal(Connector.java:995)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
        ... 12 more
Caused by: java.lang.IllegalArgumentException: /opt/Bonita/server/conf/localhost-rsa.jks (No such file or directory)
        at org.apache.tomcat.util.net.AbstractJsseEndpoint.createSSLContext(AbstractJsseEndpoint.java:100)
        at org.apache.tomcat.util.net.AbstractJsseEndpoint.initialiseSsl(AbstractJsseEndpoint.java:72)
        at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:244)
        at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:1105)
        at org.apache.tomcat.util.net.AbstractJsseEndpoint.init(AbstractJsseEndpoint.java:224)
        at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:581)
        at org.apache.coyote.http11.AbstractHttp11Protocol.init(AbstractHttp11Protocol.java:68)
        at org.apache.catalina.connector.Connector.initInternal(Connector.java:993)
        ... 13 more
Caused by: java.io.FileNotFoundException: /opt/Bonita/server/conf/localhost-rsa.jks (No such file or directory)
        at java.base/java.io.FileInputStream.open0(Native Method)
        at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
        at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
        at java.base/java.io.FileInputStream.<init>(FileInputStream.java:112)
        at java.base/sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:86)
        at java.base/sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:184)
        at org.apache.tomcat.util.file.ConfigFileLoader.getInputStream(ConfigFileLoader.java:89)
        at org.apache.tomcat.util.net.SSLUtilBase.getStore(SSLUtilBase.java:190)
        at org.apache.tomcat.util.net.SSLHostConfigCertificate.getCertificateKeystore(SSLHostConfigCertificate.java:206)
        at org.apache.tomcat.util.net.SSLUtilBase.getKeyManagers(SSLUtilBase.java:272)
        at org.apache.tomcat.util.net.SSLUtilBase.createSSLContext(SSLUtilBase.java:239)
        at org.apache.tomcat.util.net.AbstractJsseEndpoint.createSSLContext(AbstractJsseEndpoint.java:98)
        ... 20 more

2019-12-18 18:46:02.232 +0000 INFO: org.apache.coyote.ajp.AjpNioProtocol Initializing ProtocolHandler ["ajp-nio-8009"]
2019-12-18 18:46:02.234 +0000 INFO: org.apache.tomcat.util.net.NioSelectorPool Using a shared selector for servlet write/read
2019-12-18 18:46:02.237 +0000 INFO: org.apache.catalina.startup.Catalina Initialization processed in 931 ms
2019-12-18 18:46:02.475 +0000 INFO: org.apache.catalina.core.StandardService Starting service [Catalina]
2019-12-18 18:46:02.475 +0000 INFO: org.apache.catalina.core.StandardEngine Starting Servlet Engine: Apache Tomcat/8.5.40
2019-12-18 18:46:02.483 +0000 INFO: org.apache.catalina.startup.HostConfig Deploying configuration descriptor [/opt/Bonita/server/conf/Catalina/localhost/bonita.xml]
2019-12-18 18:46:03.119 +0000 WARNING: org.apache.catalina.core.NamingContextListener naming.jmxRegistrationFailed
Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.
2019-12-18 18:46:03.380 +0000 WARNING: org.apache.catalina.core.NamingContextListener naming.jmxRegistrationFailed
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.dom4j.io.SAXContentHandler (file:/opt/Bonita/server/webapps/bonita/WEB-INF/lib/dom4j-1.6.1.jar) to method com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser$LocatorProxy.getEncoding()
WARNING: Please consider reporting this to the maintainers of org.dom4j.io.SAXContentHandler
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2019-12-18 18:46:05.963 +0000 SEVERE: org.apache.catalina.core.StandardContext One or more listeners failed to start. Full details will be found in the appropriate container log file
2019-12-18 18:46:05.966 +0000 SEVERE: org.apache.catalina.core.StandardContext Context [/bonita] startup failed due to previous errors
2019-12-18 18:46:06.006 +0000 WARNING: org.apache.catalina.deploy.NamingResourcesImpl Failed to retrieve JNDI resource [RawBonitaDS] for container [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/bonita]] so no cleanup was performed for that resource
javax.naming.NamingException: Could not load resource factory class [Root exception is java.lang.ClassNotFoundException: com.mysql.jdbc.MysqlDataSourceFactory]
        at org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:66)
        at java.naming/javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:325)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:839)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:173)
        at org.apache.catalina.deploy.NamingResourcesImpl.cleanUp(NamingResourcesImpl.java:1034)
        at org.apache.catalina.deploy.NamingResourcesImpl.stopInternal(NamingResourcesImpl.java:1002)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
        at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5488)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:624)
        at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1833)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.MysqlDataSourceFactory
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1364)
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1185)
        at org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:61)
        ... 19 more

2019-12-18 18:46:06.010 +0000 WARNING: org.apache.catalina.deploy.NamingResourcesImpl Failed to retrieve JNDI resource [RawBusinessDataDS] for container [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/bonita]] so no cleanup was performed for that resource
javax.naming.NamingException: Could not load resource factory class [Root exception is java.lang.ClassNotFoundException: com.mysql.jdbc.MysqlDataSourceFactory]
        at org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:66)
        at java.naming/javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:325)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:839)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:173)
        at org.apache.catalina.deploy.NamingResourcesImpl.cleanUp(NamingResourcesImpl.java:1034)
        at org.apache.catalina.deploy.NamingResourcesImpl.stopInternal(NamingResourcesImpl.java:1002)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
        at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5488)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:624)
        at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1833)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.MysqlDataSourceFactory
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1364)
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1185)
        at org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:61)
        ... 19 more

2019-12-18 18:46:06.022 +0000 INFO: org.apache.catalina.startup.HostConfig Deployment of configuration descriptor [/opt/Bonita/server/conf/Catalina/localhost/bonita.xml] has finished in [3,538] ms
2019-12-18 18:46:06.023 +0000 INFO: org.apache.catalina.startup.HostConfig Deploying web application directory [/opt/Bonita/server/webapps/manager]
2019-12-18 18:46:06.078 +0000 INFO: org.apache.catalina.startup.HostConfig Deployment of web application directory [/opt/Bonita/server/webapps/manager] has finished in [55] ms
2019-12-18 18:46:06.079 +0000 INFO: org.apache.catalina.startup.HostConfig Deploying web application directory [/opt/Bonita/server/webapps/ROOT]
2019-12-18 18:46:06.099 +0000 INFO: org.apache.catalina.startup.HostConfig Deployment of web application directory [/opt/Bonita/server/webapps/ROOT] has finished in [20] ms
2019-12-18 18:46:06.106 +0000 INFO: org.apache.coyote.http11.Http11NioProtocol Starting ProtocolHandler ["http-nio-8080"]
2019-12-18 18:46:06.130 +0000 INFO: org.apache.coyote.ajp.AjpNioProtocol Starting ProtocolHandler ["ajp-nio-8009"]
2019-12-18 18:46:06.153 +0000 INFO: org.apache.catalina.startup.Catalina Server startup in 3915 ms
2019-12-18 18:48:02.060 +0000 WARNING: org.apache.catalina.core.NamingContextListener naming.jmxRegistrationFailed
2019-12-18 18:48:02.071 +0000 WARNING: org.apache.catalina.core.NamingContextListener naming.jmxRegistrationFailed
2019-12-18 18:48:04.104 +0000 SEVERE: org.apache.catalina.core.StandardContext One or more listeners failed to start. Full details will be found in the appropriate container log file
2019-12-18 18:48:04.105 +0000 SEVERE: org.apache.catalina.core.StandardContext Context [/bonita] startup failed due to previous errors
2019-12-18 18:48:04.140 +0000 WARNING: org.apache.catalina.deploy.NamingResourcesImpl Failed to retrieve JNDI resource [RawBonitaDS] for container [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/bonita]] so no cleanup was performed for that resource
javax.naming.NamingException: Could not load resource factory class [Root exception is java.lang.ClassNotFoundException: com.mysql.jdbc.MysqlDataSourceFactory]
        at org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:66)
        at java.naming/javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:325)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:839)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:173)
        at org.apache.catalina.deploy.NamingResourcesImpl.cleanUp(NamingResourcesImpl.java:1034)
        at org.apache.catalina.deploy.NamingResourcesImpl.stopInternal(NamingResourcesImpl.java:1002)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
        at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5488)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
        at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1377)
        at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:694)
        at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:218)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:136)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610)
        at org.apache.catalina.valves.RequestFilterValve.process(RequestFilterValve.java:348)
        at org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java:52)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:798)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:808)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.MysqlDataSourceFactory
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1364)
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1185)
        at org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:61)
        ... 43 more

2019-12-18 18:48:04.144 +0000 WARNING: org.apache.catalina.deploy.NamingResourcesImpl Failed to retrieve JNDI resource [RawBusinessDataDS] for container [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/bonita]] so no cleanup was performed for that resource
javax.naming.NamingException: Could not load resource factory class [Root exception is java.lang.ClassNotFoundException: com.mysql.jdbc.MysqlDataSourceFactory]
        at org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:66)
        at java.naming/javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:325)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:839)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:173)
        at org.apache.catalina.deploy.NamingResourcesImpl.cleanUp(NamingResourcesImpl.java:1034)
        at org.apache.catalina.deploy.NamingResourcesImpl.stopInternal(NamingResourcesImpl.java:1002)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
        at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5488)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
        at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1377)
        at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:694)
        at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:218)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:136)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610)
        at org.apache.catalina.valves.RequestFilterValve.process(RequestFilterValve.java:348)
        at org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java:52)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:798)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:808)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.MysqlDataSourceFactory
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1364)
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1185)
        at org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:61)
        ... 43 more

2019-12-18 18:50:25.457 +0000 WARNING: org.apache.catalina.core.NamingContextListener naming.jmxRegistrationFailed
2019-12-18 18:50:25.467 +0000 WARNING: org.apache.catalina.core.NamingContextListener naming.jmxRegistrationFailed
2019-12-18 18:50:27.450 +0000 SEVERE: org.apache.catalina.core.StandardContext One or more listeners failed to start. Full details will be found in the appropriate container log file
2019-12-18 18:50:27.451 +0000 SEVERE: org.apache.catalina.core.StandardContext Context [/bonita] startup failed due to previous errors
2019-12-18 18:50:27.480 +0000 WARNING: org.apache.catalina.deploy.NamingResourcesImpl Failed to retrieve JNDI resource [RawBonitaDS] for container [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/bonita]] so no cleanup was performed for that resource
javax.naming.NamingException: Could not load resource factory class [Root exception is java.lang.ClassNotFoundException: com.mysql.jdbc.MysqlDataSourceFactory]
        at org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:66)
        at java.naming/javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:325)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:839)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:173)
        at org.apache.catalina.deploy.NamingResourcesImpl.cleanUp(NamingResourcesImpl.java:1034)
        at org.apache.catalina.deploy.NamingResourcesImpl.stopInternal(NamingResourcesImpl.java:1002)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
        at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5488)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
        at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1377)
        at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:694)
        at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:218)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:136)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610)
        at org.apache.catalina.valves.RequestFilterValve.process(RequestFilterValve.java:348)
        at org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java:52)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:798)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:808)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.MysqlDataSourceFactory
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1364)
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1185)
        at org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:61)
        ... 43 more

2019-12-18 18:50:27.482 +0000 WARNING: org.apache.catalina.deploy.NamingResourcesImpl Failed to retrieve JNDI resource [RawBusinessDataDS] for container [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/bonita]] so no cleanup was performed for that resource
javax.naming.NamingException: Could not load resource factory class [Root exception is java.lang.ClassNotFoundException: com.mysql.jdbc.MysqlDataSourceFactory]
        at org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:66)
        at java.naming/javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:325)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:839)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:173)
        at org.apache.catalina.deploy.NamingResourcesImpl.cleanUp(NamingResourcesImpl.java:1034)
        at org.apache.catalina.deploy.NamingResourcesImpl.stopInternal(NamingResourcesImpl.java:1002)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
        at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5488)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
        at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1377)
        at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:694)
        at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:218)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:136)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610)
        at org.apache.catalina.valves.RequestFilterValve.process(RequestFilterValve.java:348)
        at org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java:52)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:798)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:808)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.MysqlDataSourceFactory
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1364)
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1185)
        at org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:61)
        ... 43 more

2019-12-18 18:51:13.191 +0000 INFO: org.apache.catalina.core.StandardServer A valid shutdown command was received via the shutdown port. Stopping the Server instance.
2019-12-18 18:51:13.191 +0000 INFO: org.apache.coyote.http11.Http11NioProtocol Pausing ProtocolHandler ["http-nio-8080"]
2019-12-18 18:51:13.197 +0000 INFO: org.apache.coyote.http11.Http11NioProtocol Pausing ProtocolHandler ["https-jsse-nio-8443"]
2019-12-18 18:51:13.197 +0000 INFO: org.apache.coyote.ajp.AjpNioProtocol Pausing ProtocolHandler ["ajp-nio-8009"]
2019-12-18 18:51:13.203 +0000 INFO: org.apache.catalina.core.StandardService Stopping service [Catalina]
2019-12-18 18:51:13.232 +0000 INFO: org.apache.coyote.http11.Http11NioProtocol Stopping ProtocolHandler ["http-nio-8080"]
2019-12-18 18:51:13.234 +0000 INFO: org.apache.coyote.ajp.AjpNioProtocol Stopping ProtocolHandler ["ajp-nio-8009"]
2019-12-18 18:51:13.240 +0000 INFO: org.apache.coyote.http11.Http11NioProtocol Destroying ProtocolHandler ["http-nio-8080"]
2019-12-18 18:51:13.241 +0000 INFO: org.apache.coyote.http11.Http11NioProtocol Stopping ProtocolHandler ["https-jsse-nio-8443"]
2019-12-18 18:51:13.242 +0000 INFO: org.apache.coyote.http11.Http11NioProtocol Destroying ProtocolHandler ["https-jsse-nio-8443"]
2019-12-18 18:51:13.242 +0000 INFO: org.apache.coyote.ajp.AjpNioProtocol Destroying ProtocolHandler ["ajp-nio-8009"]

/server/conf/Catalina/localhost/bonita.xml

 

<?xml version='1.0' encoding='utf-8'?>
<Context>

    <!--  To not persist the session after reboot tomcat -->
    <Manager pathname="" />

    <!-- #################################################################################################################### -->
    <!-- ##############   BETWEEN THESE 2 SECTIONS IS A TEMPLATE MODIFIED BY BONITA SETUP TOOL.              ################ -->
    <!-- #######   BELOW VALUES SURROUNDED BY '@@' MUST NOT BE TOUCHED, AS THEY ARE USED INTERNALLY BY SETUP TOOL.   ######## -->
    <!-- #########      FOR OTHER VALUES, DO NOT CHANGE ANYTHING UNLESS YOU ARE SURE OF WHAT YOU ARE DOING.      ############ -->
    <!-- ##############          YOU CAN ADD CUSTOM CONFIGURATION ABOVE AND BELOW THIS TEMPLATE.            ################# -->
    <!-- #################################################################################################################### -->

    <!-- ##################################################### -->
    <!-- Configure Datasource for Bonita standard database -->
    <!-- ##################################################### -->
    <Resource name="RawBonitaDS"
              auth="Container"
              type="com.mysql.jdbc.jdbc2.optional.MysqlXADataSource"
              class="com.mysql.jdbc.jdbc2.optional.MysqlXADataSource"
              factory="com.mysql.jdbc.MysqlDataSourceFactory"
              description="Raw Bonita Datasource"
              closeMethod="close"
              loginTimeout="0"
              serverName="localhost"
              portNumber="3306"
              port="3306"
              databaseName="bonita_journal"
              user="bonita"
              password="St@lle19"
              explicitUrl="true"
              url="jdbc:mysql://localhost:3306/bonita_journal?dontTrackOpenResources=true&amp;useUnicode=true&amp;characterEncoding=UTF-8&amp;useSSL=false&amp;allowPublicKeyRetrieval=true" />

    <Resource name="bonitaDS"
              uniqueName="jdbc/bonitaDSXA"
              auth="Container"
              factory="org.jboss.narayana.tomcat.jta.TransactionalDataSourceFactory"
              transactionManager="TransactionManager"
              type="javax.sql.XADataSource"
              initialSize="8"
              maxTotal="50"
              minIdle="8"
              maxIdle="16"
              defaultAutoCommit="false"
              validationQuery="SELECT 1"
              removeAbandonedOnBorrow="true"
              removeAbandonedOnMaintenance="true"
              logAbandoned="true"
              testOnBorrow="true"
              xaDataSource="RawBonitaDS" />

    <Resource name="bonitaSequenceManagerDS"
              auth="Container"
              type="javax.sql.DataSource"
              factory="org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory"
              maxTotal="5"
              minIdle="1"
              maxIdle="5"
              maxWaitMillis="10000"
              initialSize="1"
              removeAbandonedOnBorrow="true"
              removeAbandonedOnMaintenance="true"
              logAbandoned="true"
              testOnBorrow="true"
              validationQuery="SELECT 1"
              username="bonita"
              password="St@lle19"
              driverClassName="com.mysql.jdbc.Driver"
              url="jdbc:mysql://localhost:3306/bonita_journal?dontTrackOpenResources=true&amp;useUnicode=true&amp;characterEncoding=UTF-8&amp;useSSL=false&amp;allowPublicKeyRetrieval=true" />

    <!-- ##################################################### -->
    <!-- Configure Business Data Datasource -->
    <!-- ##################################################### -->
    <Resource name="RawBusinessDataDS"
              auth="Container"
              type="com.mysql.jdbc.jdbc2.optional.MysqlXADataSource"
              class="com.mysql.jdbc.jdbc2.optional.MysqlXADataSource"
              factory="com.mysql.jdbc.MysqlDataSourceFactory"
              description="Raw Bonita Business Data Datasource"
              closeMethod="close"
              loginTimeout="0"
              serverName="s-p-bpmpoc-01"
              portNumber="3306"
              port="3306"
              databaseName="bonita_data"
              user="bonita"
              password="St@lle19"
              explicitUrl="true"
              url="jdbc:mysql://s-p-bpmpoc-01:3306/bonita_data?dontTrackOpenResources=true&amp;useUnicode=true&amp;characterEncoding=UTF-8&amp;useSSL=false&amp;allowPublicKeyRetrieval=true" />

    <Resource
            name="BusinessDataDS"
            uniqueName="jdbc/BusinessDataDSXA"
            auth="Container"
            factory="org.jboss.narayana.tomcat.jta.TransactionalDataSourceFactory"
            transactionManager="TransactionManager"
            type="javax.sql.XADataSource"
            initialSize="4"
            maxTotal="20"
            minIdle="4"
            maxIdle="10"
            defaultAutoCommit="false"
            removeAbandonedOnBorrow="true"
            removeAbandonedOnMaintenance="true"
            logAbandoned="true"
            testOnBorrow="true"
            validationQuery="SELECT 1"
            xaDataSource="RawBusinessDataDS" />

    <Resource name="NotManagedBizDataDS"
              auth="Container"
              type="javax.sql.DataSource"
              factory="org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory"
              maxTotal="5"
              minIdle="1"
              maxIdle="5"
              maxWaitMillis="10000"
              initialSize="1"
              removeAbandonedOnBorrow="true"
              removeAbandonedOnMaintenance="true"
              logAbandoned="true"
              testOnBorrow="true"
              validationQuery="SELECT 1"
              username="bonita"
              password="St@lle19"
              driverClassName="com.mysql.jdbc.Driver"
              url="jdbc:mysql://s-p-bpmpoc-01:3306/bonita_data?dontTrackOpenResources=true&amp;useUnicode=true&amp;characterEncoding=UTF-8&amp;useSSL=false&amp;allowPublicKeyRetrieval=true" />

    <!-- #################################################################################################################### -->
    <!-- ########################         END OF TEMPLATE MODIFIED BY BONITA SETUP TOOL             ######################### -->
    <!-- ###################            YOU CAN ADD CUSTOM CONFIGURATION *BELOW* THIS TEMPLATE              ################# -->
    <!-- #################################################################################################################### -->

</Context>

/setup/database.properties  :

####################################################################################
#
# Modify the following values to suit your database needs.
# Fore more information, see file ../HOW_TO_CONFIGURE_AND_RUN.txt
#
####################################################################################


#########################################
# Bonita database properties
#########################################

# valid values are (h2, postgres, sqlserver, oracle, mysql)
db.vendor=mysql
# when using h2, no server or port setting is needed since connexion is made using file protocol mode using relative directory:
#db.server.name=bpmpoc-01
db.server.name=localhost
db.server.port=3306
# if your database name contains a backslash (\) character, you must double it (\\):
db.database.name=bonita_journal
db.user=bonita
# if your database password contains a backslash (\) character, you must double it (\\):
db.password=password

###################################
# Business Data database properties
###################################
# valid values are (h2, postgres, sqlserver, oracle, mysql)
bdm.db.vendor=mysql
bdm.db.server.name=bpmpoc-01
bdm.db.server.port=3306
bdm.db.database.name=bonita_data
bdm.db.user=bonita
bdm.db.password=password


# IMPORTANT NOTE regarding H2 database:
# in case you move whole setup folder to another directory, you must change property below
# to point to original folder containing h2 database folder
# new value can be relative or absolute since it still points to the right folder
# WARNING for Windows users: keep forward slashes like below (instead of backslashes):
#h2.database.dir=../h2_database

 

Can you let me know which version of Bonita are you using?

BonitaCommunity-7.9.4-tomcat.zip

 

That's the file that I download

From the log file I see the following error:

Could not load resource factory class [Root exception is java.lang.ClassNotFoundException: com.mysql.jdbc.MysqlDataSourceFactory]

Did you by any chance edit the file named internal.properties located in BonitaCommunity-7.9.4-tomcat/setup/ folder?

I'm asking this question because this file as a reference by default to com.mysql.cj.jdbc.MysqlDataSourceFactory (there is an additional "cj" in the name) that is provided by a jar file (mysql-connector-java-8.0.14.jar) included in BonitaCommunity-7.9.4-tomcat.zip.

I did a search on a brand new Bonita + Tomcat bundle (BonitaCommunity-7.9.4-tomcat.zip) and I could not find any reference to com.mysql.jdbc.MysqlDataSourceFactory so I guess this is a modification on your side.

Dear Antoine,

Thank you for this remark

Yes this modification come from my side cause I couldn't find the mysql-connector-java-8.0.14.jar  file in the Bonita + Tomcat bundle (BonitaCommunity-7.9.4-tomcat.zip) ...

 

Dear Antoine and other,

 

I'm still stuck and the issue is the DB

here after the catalina.out file :

 

NOTE: Picked up JDK_JAVA_OPTIONS:  --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
2019-12-24 13:17:31.358 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Server version:        Apache Tomcat/8.5.40
2019-12-24 13:17:31.363 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Server built:          Apr 10 2019 14:31:19 UTC
2019-12-24 13:17:31.364 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Server number:         8.5.40.0
2019-12-24 13:17:31.364 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener OS Name:               Linux
2019-12-24 13:17:31.365 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener OS Version:            4.15.0-72-generic
2019-12-24 13:17:31.365 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Architecture:          amd64
2019-12-24 13:17:31.366 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Java Home:             /usr/lib/jvm/java-11-openjdk-amd64
2019-12-24 13:17:31.366 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener JVM Version:           11.0.5+10-post-Ubuntu-0ubuntu1.118.04
2019-12-24 13:17:31.366 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener JVM Vendor:            Private Build
2019-12-24 13:17:31.367 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener CATALINA_BASE:         /opt/Bonita/server
2019-12-24 13:17:31.367 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener CATALINA_HOME:         /opt/Bonita/server
2019-12-24 13:17:31.370 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED
2019-12-24 13:17:31.370 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED
2019-12-24 13:17:31.371 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
2019-12-24 13:17:31.371 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Djava.util.logging.config.file=/opt/Bonita/server/conf/logging.properties
2019-12-24 13:17:31.372 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
2019-12-24 13:17:31.372 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
2019-12-24 13:17:31.372 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
2019-12-24 13:17:31.373 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
2019-12-24 13:17:31.374 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Dorg.bonitasoft.platform.setup.folder=/opt/Bonita/server/../setup
2019-12-24 13:17:31.374 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Dsysprop.bonita.db.vendor=mysql
2019-12-24 13:17:31.374 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Dsysprop.bonita.bdm.db.vendor=mysql
2019-12-24 13:17:31.375 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Dcom.arjuna.ats.arjuna.common.propertiesFile=/opt/Bonita/server/conf/jbossts-properties.xml
2019-12-24 13:17:31.376 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Dorg.bonitasoft.engine.incident.folder=/opt/Bonita/server/logs
2019-12-24 13:17:31.376 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Dfile.encoding=UTF-8
2019-12-24 13:17:31.376 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Xshare:auto
2019-12-24 13:17:31.377 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Xms1024m
2019-12-24 13:17:31.377 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Xmx1024m
2019-12-24 13:17:31.377 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -XX:+HeapDumpOnOutOfMemoryError
2019-12-24 13:17:31.378 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Djava.security.egd=file:/dev/./urandom
2019-12-24 13:17:31.378 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Dignore.endorsed.dirs=
2019-12-24 13:17:31.379 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Dcatalina.base=/opt/Bonita/server
2019-12-24 13:17:31.379 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Dcatalina.home=/opt/Bonita/server
2019-12-24 13:17:31.379 +0000 INFO: org.apache.catalina.startup.VersionLoggerListener Command line argument: -Djava.io.tmpdir=/opt/Bonita/server/temp
2019-12-24 13:17:31.380 +0000 INFO: org.apache.catalina.core.AprLifecycleListener The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/usr/java/packages/lib:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib]
2019-12-24 13:17:31.433 +0000 INFO: org.apache.coyote.http11.Http11NioProtocol Initializing ProtocolHandler ["http-nio-8080"]
2019-12-24 13:17:31.450 +0000 INFO: org.apache.tomcat.util.net.NioSelectorPool Using a shared selector for servlet write/read
2019-12-24 13:17:31.471 +0000 INFO: org.apache.coyote.http11.Http11NioProtocol Initializing ProtocolHandler ["https-jsse-nio-8443"]
2019-12-24 13:17:32.004 +0000 INFO: org.apache.tomcat.util.net.NioSelectorPool Using a shared selector for servlet write/read
2019-12-24 13:17:32.010 +0000 INFO: org.apache.coyote.ajp.AjpNioProtocol Initializing ProtocolHandler ["ajp-nio-8009"]
2019-12-24 13:17:32.032 +0000 INFO: org.apache.tomcat.util.net.NioSelectorPool Using a shared selector for servlet write/read
2019-12-24 13:17:32.033 +0000 INFO: org.apache.catalina.startup.Catalina Initialization processed in 1237 ms
2019-12-24 13:17:32.286 +0000 INFO: org.apache.catalina.core.StandardService Starting service [Catalina]
2019-12-24 13:17:32.286 +0000 INFO: org.apache.catalina.core.StandardEngine Starting Servlet Engine: Apache Tomcat/8.5.40
2019-12-24 13:17:32.307 +0000 INFO: org.apache.catalina.startup.HostConfig Deploying configuration descriptor [/opt/Bonita/server/conf/Catalina/localhost/bonita.xml]
2019-12-24 13:17:32.888 +0000 WARNING: org.apache.catalina.core.NamingContextListener naming.jmxRegistrationFailed
2019-12-24 13:17:33.153 +0000 WARNING: org.apache.catalina.core.NamingContextListener naming.jmxRegistrationFailed
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.dom4j.io.SAXContentHandler (file:/opt/Bonita/server/webapps/bonita/WEB-INF/lib/dom4j-1.6.1.jar) to method com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser$LocatorProxy.getEncoding()
WARNING: Please consider reporting this to the maintainers of org.dom4j.io.SAXContentHandler
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2019-12-24 13:17:35.814 +0000 SEVERE: org.apache.catalina.core.StandardContext One or more listeners failed to start. Full details will be found in the appropriate container log file
2019-12-24 13:17:35.817 +0000 SEVERE: org.apache.catalina.core.StandardContext Context [/bonita] startup failed due to previous errors
2019-12-24 13:17:35.858 +0000 WARNING: org.apache.catalina.deploy.NamingResourcesImpl Failed to retrieve JNDI resource [RawBonitaDS] for container [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/bonita]] so no cleanup was performed for that resource
javax.naming.NamingException: Could not load resource factory class [Root exception is java.lang.ClassNotFoundException: com.mysql.jdbc.MysqlDataSourceFactory]
        at org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:66)
        at java.naming/javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:325)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:839)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:173)
        at org.apache.catalina.deploy.NamingResourcesImpl.cleanUp(NamingResourcesImpl.java:1034)
        at org.apache.catalina.deploy.NamingResourcesImpl.stopInternal(NamingResourcesImpl.java:1002)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
        at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5488)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:624)
        at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1833)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.MysqlDataSourceFactory
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1364)
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1185)
        at org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:61)
        ... 19 more

2019-12-24 13:17:35.861 +0000 WARNING: org.apache.catalina.deploy.NamingResourcesImpl Failed to retrieve JNDI resource [RawBusinessDataDS] for container [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/bonita]] so no cleanup was performed for that resource
javax.naming.NamingException: Could not load resource factory class [Root exception is java.lang.ClassNotFoundException: com.mysql.jdbc.MysqlDataSourceFactory]
        at org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:66)
        at java.naming/javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:325)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:839)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:173)
        at org.apache.catalina.deploy.NamingResourcesImpl.cleanUp(NamingResourcesImpl.java:1034)
        at org.apache.catalina.deploy.NamingResourcesImpl.stopInternal(NamingResourcesImpl.java:1002)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
        at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5488)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:624)
        at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1833)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.MysqlDataSourceFactory
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1364)
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1185)
        at org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:61)
        ... 19 more

2019-12-24 13:17:35.874 +0000 INFO: org.apache.catalina.startup.HostConfig Deployment of configuration descriptor [/opt/Bonita/server/conf/Catalina/localhost/bonita.xml] has finished in [3,566] ms
2019-12-24 13:17:35.875 +0000 INFO: org.apache.catalina.startup.HostConfig Deploying web application directory [/opt/Bonita/server/webapps/manager]
2019-12-24 13:17:35.932 +0000 INFO: org.apache.catalina.startup.HostConfig Deployment of web application directory [/opt/Bonita/server/webapps/manager] has finished in [57] ms
2019-12-24 13:17:35.932 +0000 INFO: org.apache.catalina.startup.HostConfig Deploying web application directory [/opt/Bonita/server/webapps/ROOT]
2019-12-24 13:17:35.949 +0000 INFO: org.apache.catalina.startup.HostConfig Deployment of web application directory [/opt/Bonita/server/webapps/ROOT] has finished in [17] ms
2019-12-24 13:17:35.955 +0000 INFO: org.apache.coyote.http11.Http11NioProtocol Starting ProtocolHandler ["http-nio-8080"]
2019-12-24 13:17:35.976 +0000 INFO: org.apache.coyote.http11.Http11NioProtocol Starting ProtocolHandler ["https-jsse-nio-8443"]
2019-12-24 13:17:35.980 +0000 INFO: org.apache.coyote.ajp.AjpNioProtocol Starting ProtocolHandler ["ajp-nio-8009"]
2019-12-24 13:17:35.984 +0000 INFO: org.apache.catalina.startup.Catalina Server startup in 3949 ms