<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Common DB for activiti-app and activiti-rest? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/common-db-for-activiti-app-and-activiti-rest/m-p/22871#M9958</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I have updated these to files to use MySQL. Activiti-app works. I can see it saving data in the DB.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;activiti-rest fails to start. My db.properties file is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;db=activiti6&lt;BR /&gt;jdbc.driver=com.mysql.jdbc.Driver&lt;BR /&gt;jdbc.url=jdbc:mysql://localhost:3306/activiti6?characterEncoding=UTF-8&lt;BR /&gt;jdbc.username=root&lt;BR /&gt;jdbc.password=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my activiti-app.properties file (the DB section anyway) is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;datasource.driver=com.mysql.jdbc.Driver&lt;BR /&gt;datasource.url=jdbc:mysql://localhost:3306/activiti6?characterEncoding=UTF-8&lt;/P&gt;&lt;P&gt;datasource.username=root&lt;BR /&gt;datasource.password=&lt;BR /&gt;hibernate.dialect=org.hibernate.dialect.MySQLDialect&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I have something incorrect here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Jun 2017 18:54:03 GMT</pubDate>
    <dc:creator>nbppp2</dc:creator>
    <dc:date>2017-06-29T18:54:03Z</dc:date>
    <item>
      <title>Common DB for activiti-app and activiti-rest?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/common-db-for-activiti-app-and-activiti-rest/m-p/22865#M9952</link>
      <description>Hi,I'm relatively new to activiti. For the past few days I've been reading parts of the user guide (mostly the REST API part) and researched the different web apps that come with activiti 6 (activiti-app, activiti-rest, activiti-admin). I noticed that activiti-app and activiti-rest work with differe</description>
      <pubDate>Mon, 26 Jun 2017 09:26:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/common-db-for-activiti-app-and-activiti-rest/m-p/22865#M9952</guid>
      <dc:creator>avirankatz</dc:creator>
      <dc:date>2017-06-26T09:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: Common DB for activiti-app and activiti-rest?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/common-db-for-activiti-app-and-activiti-rest/m-p/22866#M9953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having the same issue. I currently haven't configured the activiti-app/activiti-rest to use anything other than the in memory DB that the war files are deployed with. Have you configured them to use a different DB yet?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2017 21:57:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/common-db-for-activiti-app-and-activiti-rest/m-p/22866#M9953</guid>
      <dc:creator>nbppp2</dc:creator>
      <dc:date>2017-06-28T21:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Common DB for activiti-app and activiti-rest?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/common-db-for-activiti-app-and-activiti-rest/m-p/22867#M9954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can&amp;nbsp;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;configure DB setting by editing the following&amp;nbsp;&lt;SPAN style="color: #3d3d3d;"&gt;properties file.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;activiti-6.0.0/wars/activiti-app/WEB-INF/classes/META-INF/activiti-app/activiti-app.properties&lt;/LI&gt;&lt;LI&gt;activiti-6.0.0/wars/activiti-rest/WEB-INF/classes/db.properties&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2017 01:40:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/common-db-for-activiti-app-and-activiti-rest/m-p/22867#M9954</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-29T01:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: Common DB for activiti-app and activiti-rest?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/common-db-for-activiti-app-and-activiti-rest/m-p/22868#M9955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I configured both files as you suggested. It works for activiti-app (thank you!), but activiti-rest fails to load for some reason. I can see the following exception in the log:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; font-family: andale mono,monospace;"&gt;09:07:21,444 [localhost-startStop-1] WARN&amp;nbsp; org.springframework.web.context.support.AnnotationConfigWebApplicationContext&amp;nbsp; - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'demoDataConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected org.activiti.engine.IdentityService org.activiti.rest.conf.DemoDataConfiguration.identityService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'identityService' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.activiti.engine.IdentityService]: Factory method 'identityService' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.activiti.engine.ProcessEngine]: Factory method 'processEngine' threw exception; nested exception is java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineFactoryBean': FactoryBean threw exception on object creation; nested exception is com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Database may be already in use: "Locked by another process". Possible solutions: close all other connection(s); use the server mode [90020-176]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2017 06:12:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/common-db-for-activiti-app-and-activiti-rest/m-p/22868#M9955</guid>
      <dc:creator>avirankatz</dc:creator>
      <dc:date>2017-06-29T06:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Common DB for activiti-app and activiti-rest?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/common-db-for-activiti-app-and-activiti-rest/m-p/22869#M9956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you use H2 Database? If so, this error is&amp;nbsp;may be specification of H2 database, according to the following link.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/spark-jobserver/spark-jobserver/issues/748" title="https://github.com/spark-jobserver/spark-jobserver/issues/748" rel="nofollow noopener noreferrer"&gt;Concurrency issues with H2 file mode · Issue #748 · spark-jobserver/spark-jobserver · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you use real database like Postgresql?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2017 06:25:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/common-db-for-activiti-app-and-activiti-rest/m-p/22869#M9956</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-29T06:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: Common DB for activiti-app and activiti-rest?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/common-db-for-activiti-app-and-activiti-rest/m-p/22870#M9957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're right, I was using H2. After switching to PostgreSQL everything works as expected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2017 09:10:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/common-db-for-activiti-app-and-activiti-rest/m-p/22870#M9957</guid>
      <dc:creator>avirankatz</dc:creator>
      <dc:date>2017-06-29T09:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Common DB for activiti-app and activiti-rest?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/common-db-for-activiti-app-and-activiti-rest/m-p/22871#M9958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I have updated these to files to use MySQL. Activiti-app works. I can see it saving data in the DB.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;activiti-rest fails to start. My db.properties file is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;db=activiti6&lt;BR /&gt;jdbc.driver=com.mysql.jdbc.Driver&lt;BR /&gt;jdbc.url=jdbc:mysql://localhost:3306/activiti6?characterEncoding=UTF-8&lt;BR /&gt;jdbc.username=root&lt;BR /&gt;jdbc.password=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my activiti-app.properties file (the DB section anyway) is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;datasource.driver=com.mysql.jdbc.Driver&lt;BR /&gt;datasource.url=jdbc:mysql://localhost:3306/activiti6?characterEncoding=UTF-8&lt;/P&gt;&lt;P&gt;datasource.username=root&lt;BR /&gt;datasource.password=&lt;BR /&gt;hibernate.dialect=org.hibernate.dialect.MySQLDialect&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I have something incorrect here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2017 18:54:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/common-db-for-activiti-app-and-activiti-rest/m-p/22871#M9958</guid>
      <dc:creator>nbppp2</dc:creator>
      <dc:date>2017-06-29T18:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Common DB for activiti-app and activiti-rest?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/common-db-for-activiti-app-and-activiti-rest/m-p/22872#M9959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;gt; Do I have something incorrect here?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;gt; activiti-rest fails to start. My db.properties file is&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Please upload this&amp;nbsp;failure's exception log.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2017 20:38:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/common-db-for-activiti-app-and-activiti-rest/m-p/22872#M9959</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-29T20:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Common DB for activiti-app and activiti-rest?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/common-db-for-activiti-app-and-activiti-rest/m-p/22873#M9960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SEVERE: Exception sending context initialized event to listener instance of class org.activiti.rest.servlet.WebConfigurer&lt;BR /&gt;org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'demoDataConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected org.activiti.engine.IdentityService org.activiti.rest.conf.DemoDataConfiguration.identityService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'identityService' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.activiti.engine.IdentityService]: Factory method 'identityService' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.activiti.engine.ProcessEngine]: Factory method 'processEngine' threw exception; nested exception is java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineFactoryBean' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.activiti.spring.ProcessEngineFactoryBean]: Factory method 'processEngineFactoryBean' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineConfiguration' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl]: Factory method 'processEngineConfiguration' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.RuntimeException: Failed to load class of driverClassName com.mysql.jdbc.Driver&lt;BR /&gt; at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)&lt;BR /&gt; at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)&lt;BR /&gt; at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)&lt;BR /&gt; at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839)&lt;BR /&gt; at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)&lt;BR /&gt; at org.activiti.rest.servlet.WebConfigurer.contextInitialized(WebConfigurer.java:45)&lt;BR /&gt; at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4994)&lt;BR /&gt; at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5492)&lt;BR /&gt; at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)&lt;BR /&gt; at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)&lt;BR /&gt; at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)&lt;BR /&gt; at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)&lt;BR /&gt; at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1247)&lt;BR /&gt; at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1897)&lt;BR /&gt; at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)&lt;BR /&gt; at java.util.concurrent.FutureTask.run(FutureTask.java:266)&lt;BR /&gt; at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)&lt;BR /&gt; at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)&lt;BR /&gt; at java.lang.Thread.run(Thread.java:748)&lt;BR /&gt;Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected org.activiti.engine.IdentityService org.activiti.rest.conf.DemoDataConfiguration.identityService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'identityService' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.activiti.engine.IdentityService]: Factory method 'identityService' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.activiti.engine.ProcessEngine]: Factory method 'processEngine' threw exception; nested exception is java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineFactoryBean' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.activiti.spring.ProcessEngineFactoryBean]: Factory method 'processEngineFactoryBean' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineConfiguration' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl]: Factory method 'processEngineConfiguration' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.RuntimeException: Failed to load class of driverClassName com.mysql.jdbc.Driver&lt;BR /&gt; at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)&lt;BR /&gt; at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)&lt;BR /&gt; at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)&lt;BR /&gt; ... 24 more&lt;BR /&gt;Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'identityService' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.activiti.engine.IdentityService]: Factory method 'identityService' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.activiti.engine.ProcessEngine]: Factory method 'processEngine' threw exception; nested exception is java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineFactoryBean' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.activiti.spring.ProcessEngineFactoryBean]: Factory method 'processEngineFactoryBean' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineConfiguration' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl]: Factory method 'processEngineConfiguration' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.RuntimeException: Failed to load class of driverClassName com.mysql.jdbc.Driver&lt;BR /&gt; at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1123)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)&lt;BR /&gt; at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)&lt;BR /&gt; at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192)&lt;BR /&gt; at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)&lt;BR /&gt; at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)&lt;BR /&gt; at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)&lt;BR /&gt; ... 26 more&lt;BR /&gt;Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.activiti.engine.IdentityService]: Factory method 'identityService' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.activiti.engine.ProcessEngine]: Factory method 'processEngine' threw exception; nested exception is java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineFactoryBean' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.activiti.spring.ProcessEngineFactoryBean]: Factory method 'processEngineFactoryBean' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineConfiguration' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl]: Factory method 'processEngineConfiguration' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.RuntimeException: Failed to load class of driverClassName com.mysql.jdbc.Driver&lt;BR /&gt; at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)&lt;BR /&gt; at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)&lt;BR /&gt; ... 38 more&lt;BR /&gt;Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.activiti.engine.ProcessEngine]: Factory method 'processEngine' threw exception; nested exception is java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineFactoryBean' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.activiti.spring.ProcessEngineFactoryBean]: Factory method 'processEngineFactoryBean' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineConfiguration' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl]: Factory method 'processEngineConfiguration' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.RuntimeException: Failed to load class of driverClassName com.mysql.jdbc.Driver&lt;BR /&gt; at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1123)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)&lt;BR /&gt; at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)&lt;BR /&gt; at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:380)&lt;BR /&gt; at org.activiti.rest.conf.ActivitiEngineConfiguration$$EnhancerBySpringCGLIB$$6a2c3f2f.processEngine(&amp;lt;generated&amp;gt;)&lt;BR /&gt; at org.activiti.rest.conf.ActivitiEngineConfiguration.identityService(ActivitiEngineConfiguration.java:157)&lt;BR /&gt; at org.activiti.rest.conf.ActivitiEngineConfiguration$$EnhancerBySpringCGLIB$$6a2c3f2f.CGLIB$identityService$0(&amp;lt;generated&amp;gt;)&lt;BR /&gt; at org.activiti.rest.conf.ActivitiEngineConfiguration$$EnhancerBySpringCGLIB$$6a2c3f2f$$FastClassBySpringCGLIB$$8dca4d3c.invoke(&amp;lt;generated&amp;gt;)&lt;BR /&gt; at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)&lt;BR /&gt; at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:355)&lt;BR /&gt; at org.activiti.rest.conf.ActivitiEngineConfiguration$$EnhancerBySpringCGLIB$$6a2c3f2f.identityService(&amp;lt;generated&amp;gt;)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;BR /&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt; at java.lang.reflect.Method.invoke(Method.java:498)&lt;BR /&gt; at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)&lt;BR /&gt; ... 39 more&lt;BR /&gt;Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.activiti.engine.ProcessEngine]: Factory method 'processEngine' threw exception; nested exception is java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineFactoryBean' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.activiti.spring.ProcessEngineFactoryBean]: Factory method 'processEngineFactoryBean' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineConfiguration' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl]: Factory method 'processEngineConfiguration' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.RuntimeException: Failed to load class of driverClassName com.mysql.jdbc.Driver&lt;BR /&gt; at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)&lt;BR /&gt; at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)&lt;BR /&gt; ... 60 more&lt;BR /&gt;Caused by: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineFactoryBean' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.activiti.spring.ProcessEngineFactoryBean]: Factory method 'processEngineFactoryBean' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineConfiguration' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl]: Factory method 'processEngineConfiguration' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.RuntimeException: Failed to load class of driverClassName com.mysql.jdbc.Driver&lt;BR /&gt; at org.activiti.rest.conf.ActivitiEngineConfiguration.processEngine(ActivitiEngineConfiguration.java:108)&lt;BR /&gt; at org.activiti.rest.conf.ActivitiEngineConfiguration$$EnhancerBySpringCGLIB$$6a2c3f2f.CGLIB$processEngine$5(&amp;lt;generated&amp;gt;)&lt;BR /&gt; at org.activiti.rest.conf.ActivitiEngineConfiguration$$EnhancerBySpringCGLIB$$6a2c3f2f$$FastClassBySpringCGLIB$$8dca4d3c.invoke(&amp;lt;generated&amp;gt;)&lt;BR /&gt; at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)&lt;BR /&gt; at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:355)&lt;BR /&gt; at org.activiti.rest.conf.ActivitiEngineConfiguration$$EnhancerBySpringCGLIB$$6a2c3f2f.processEngine(&amp;lt;generated&amp;gt;)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;BR /&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt; at java.lang.reflect.Method.invoke(Method.java:498)&lt;BR /&gt; at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)&lt;BR /&gt; ... 61 more&lt;BR /&gt;Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineFactoryBean' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.activiti.spring.ProcessEngineFactoryBean]: Factory method 'processEngineFactoryBean' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineConfiguration' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl]: Factory method 'processEngineConfiguration' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.RuntimeException: Failed to load class of driverClassName com.mysql.jdbc.Driver&lt;BR /&gt; at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1123)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)&lt;BR /&gt; at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)&lt;BR /&gt; at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331)&lt;BR /&gt; at org.activiti.rest.conf.ActivitiEngineConfiguration$$EnhancerBySpringCGLIB$$6a2c3f2f.processEngineFactoryBean(&amp;lt;generated&amp;gt;)&lt;BR /&gt; at org.activiti.rest.conf.ActivitiEngineConfiguration.processEngine(ActivitiEngineConfiguration.java:106)&lt;BR /&gt; ... 71 more&lt;BR /&gt;Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.activiti.spring.ProcessEngineFactoryBean]: Factory method 'processEngineFactoryBean' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineConfiguration' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl]: Factory method 'processEngineConfiguration' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.RuntimeException: Failed to load class of driverClassName com.mysql.jdbc.Driver&lt;BR /&gt; at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)&lt;BR /&gt; at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)&lt;BR /&gt; ... 82 more&lt;BR /&gt;Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineConfiguration' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl]: Factory method 'processEngineConfiguration' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.RuntimeException: Failed to load class of driverClassName com.mysql.jdbc.Driver&lt;BR /&gt; at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1123)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)&lt;BR /&gt; at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)&lt;BR /&gt; at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:380)&lt;BR /&gt; at org.activiti.rest.conf.ActivitiEngineConfiguration$$EnhancerBySpringCGLIB$$6a2c3f2f.processEngineConfiguration(&amp;lt;generated&amp;gt;)&lt;BR /&gt; at org.activiti.rest.conf.ActivitiEngineConfiguration.processEngineFactoryBean(ActivitiEngineConfiguration.java:95)&lt;BR /&gt; at org.activiti.rest.conf.ActivitiEngineConfiguration$$EnhancerBySpringCGLIB$$6a2c3f2f.CGLIB$processEngineFactoryBean$10(&amp;lt;generated&amp;gt;)&lt;BR /&gt; at org.activiti.rest.conf.ActivitiEngineConfiguration$$EnhancerBySpringCGLIB$$6a2c3f2f$$FastClassBySpringCGLIB$$8dca4d3c.invoke(&amp;lt;generated&amp;gt;)&lt;BR /&gt; at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)&lt;BR /&gt; at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:355)&lt;BR /&gt; at org.activiti.rest.conf.ActivitiEngineConfiguration$$EnhancerBySpringCGLIB$$6a2c3f2f.processEngineFactoryBean(&amp;lt;generated&amp;gt;)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;BR /&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt; at java.lang.reflect.Method.invoke(Method.java:498)&lt;BR /&gt; at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)&lt;BR /&gt; ... 83 more&lt;BR /&gt;Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl]: Factory method 'processEngineConfiguration' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.RuntimeException: Failed to load class of driverClassName com.mysql.jdbc.Driver&lt;BR /&gt; at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)&lt;BR /&gt; at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)&lt;BR /&gt; ... 104 more&lt;BR /&gt;Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.RuntimeException: Failed to load class of driverClassName com.mysql.jdbc.Driver&lt;BR /&gt; at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1123)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)&lt;BR /&gt; at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)&lt;BR /&gt; at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:380)&lt;BR /&gt; at org.activiti.rest.conf.ActivitiEngineConfiguration$$EnhancerBySpringCGLIB$$6a2c3f2f.dataSource(&amp;lt;generated&amp;gt;)&lt;BR /&gt; at org.activiti.rest.conf.ActivitiEngineConfiguration.processEngineConfiguration(ActivitiEngineConfiguration.java:115)&lt;BR /&gt; at org.activiti.rest.conf.ActivitiEngineConfiguration$$EnhancerBySpringCGLIB$$6a2c3f2f.CGLIB$processEngineConfiguration$9(&amp;lt;generated&amp;gt;)&lt;BR /&gt; at org.activiti.rest.conf.ActivitiEngineConfiguration$$EnhancerBySpringCGLIB$$6a2c3f2f$$FastClassBySpringCGLIB$$8dca4d3c.invoke(&amp;lt;generated&amp;gt;)&lt;BR /&gt; at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)&lt;BR /&gt; at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:355)&lt;BR /&gt; at org.activiti.rest.conf.ActivitiEngineConfiguration$$EnhancerBySpringCGLIB$$6a2c3f2f.processEngineConfiguration(&amp;lt;generated&amp;gt;)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;BR /&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt; at java.lang.reflect.Method.invoke(Method.java:498)&lt;BR /&gt; at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)&lt;BR /&gt; ... 105 more&lt;BR /&gt;Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.RuntimeException: Failed to load class of driverClassName com.mysql.jdbc.Driver&lt;BR /&gt; at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)&lt;BR /&gt; at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)&lt;BR /&gt; ... 126 more&lt;BR /&gt;Caused by: java.lang.RuntimeException: Failed to load class of driverClassName com.mysql.jdbc.Driver&lt;BR /&gt; at com.zaxxer.hikari.HikariConfig.setDriverClassName(HikariConfig.java:323)&lt;BR /&gt; at org.activiti.rest.conf.ActivitiEngineConfiguration.dataSource(ActivitiEngineConfiguration.java:52)&lt;BR /&gt; at org.activiti.rest.conf.ActivitiEngineConfiguration$$EnhancerBySpringCGLIB$$6a2c3f2f.CGLIB$dataSource$1(&amp;lt;generated&amp;gt;)&lt;BR /&gt; at org.activiti.rest.conf.ActivitiEngineConfiguration$$EnhancerBySpringCGLIB$$6a2c3f2f$$FastClassBySpringCGLIB$$8dca4d3c.invoke(&amp;lt;generated&amp;gt;)&lt;BR /&gt; at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)&lt;BR /&gt; at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:355)&lt;BR /&gt; at org.activiti.rest.conf.ActivitiEngineConfiguration$$EnhancerBySpringCGLIB$$6a2c3f2f.dataSource(&amp;lt;generated&amp;gt;)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;BR /&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt; at java.lang.reflect.Method.invoke(Method.java:498)&lt;BR /&gt; at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)&lt;BR /&gt; ... 127 more&lt;BR /&gt;Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver&lt;BR /&gt; at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)&lt;BR /&gt; at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)&lt;BR /&gt; at com.zaxxer.hikari.HikariConfig.setDriverClassName(HikariConfig.java:318)&lt;BR /&gt; ... 138 more&lt;/P&gt;&lt;P&gt;Jun 29, 2017 2:18:39 PM org.apache.catalina.core.StandardContext listenerStop&lt;BR /&gt;SEVERE: Exception sending context destroyed event to listener instance of class org.activiti.rest.servlet.WebConfigurer&lt;BR /&gt;java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered?&lt;BR /&gt; at org.springframework.web.context.support.WebApplicationContextUtils.getRequiredWebApplicationContext(WebApplicationContextUtils.java:83)&lt;BR /&gt; at org.activiti.rest.servlet.WebConfigurer.contextDestroyed(WebConfigurer.java:92)&lt;BR /&gt; at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5035)&lt;BR /&gt; at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5687)&lt;BR /&gt; at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)&lt;BR /&gt; at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)&lt;BR /&gt; at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)&lt;BR /&gt; at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)&lt;BR /&gt; at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)&lt;BR /&gt; at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1247)&lt;BR /&gt; at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1897)&lt;BR /&gt; at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)&lt;BR /&gt; at java.util.concurrent.FutureTask.run(FutureTask.java:266)&lt;BR /&gt; at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)&lt;BR /&gt; at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)&lt;BR /&gt; at java.lang.Thread.run(Thread.java:748)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2017 20:45:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/common-db-for-activiti-app-and-activiti-rest/m-p/22873#M9960</guid>
      <dc:creator>nbppp2</dc:creator>
      <dc:date>2017-06-29T20:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: Common DB for activiti-app and activiti-rest?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/common-db-for-activiti-app-and-activiti-rest/m-p/22874#M9961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The cause is the follwing error.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where is JDBC driver located?&lt;/P&gt;&lt;P&gt;If you locate&amp;nbsp;&lt;SPAN&gt;JDBC driver in application server's classpath , you can reslove.&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN class=""&gt;{Tomcat_HOME}/lib&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 09:33:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/common-db-for-activiti-app-and-activiti-rest/m-p/22874#M9961</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-30T09:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Common DB for activiti-app and activiti-rest?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/common-db-for-activiti-app-and-activiti-rest/m-p/22875#M9962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all, thank you for the help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondly I copied over the MySQL connector, and activiti-rest launches. However I still can't seem to get the same data via the web editor and the REST API. I am still just getting only demo data from the REST API, the process I created via the web editor is not listed when I go to&amp;nbsp;&lt;A class="link-titled" href="http://localhost:8080/activiti-rest/service/repository/process-definitions" title="http://localhost:8080/activiti-rest/service/repository/process-definitions" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/activiti-rest/service/repository/process-definitions&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking at the DB I see the data in 2 different tables. act_de_models and act_re_models.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there some additional configuration needed to have them use the same tables?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 15:05:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/common-db-for-activiti-app-and-activiti-rest/m-p/22875#M9962</guid>
      <dc:creator>nbppp2</dc:creator>
      <dc:date>2017-06-30T15:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Common DB for activiti-app and activiti-rest?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/common-db-for-activiti-app-and-activiti-rest/m-p/22876#M9963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; However I still can't seem to get the same data via the web editor and the REST API.&lt;BR /&gt;&amp;gt; I am still just getting only demo data from the REST API, the process I created via the web editor is not listed when I go to &lt;A href="http://localhost:8080/activiti-rest/service/repository/process-definitions" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/activiti-rest/service/repository/process-definitions&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you published your app(inclued your models)?&lt;BR /&gt;The REST API that you used is to get process definitions that deployed in process engine.&lt;/P&gt;&lt;P&gt;If you haven't published, you cannot get your models from the REST API(service/repository/process-definitions).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 20:58:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/common-db-for-activiti-app-and-activiti-rest/m-p/22876#M9963</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-30T20:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Common DB for activiti-app and activiti-rest?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/common-db-for-activiti-app-and-activiti-rest/m-p/22877#M9964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello, i&amp;nbsp;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;copied&lt;SPAN&gt;&amp;nbsp;webapps\activiti-app\WEB-INF\lib\mysql-connector-java-5.1.30.jar to&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;webapps\activiti-rest\WEB-INF\lib\&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;I also copied webapps\activiti-app\WEB-INF\lib\&lt;SPAN style="background-color: #ffffff;"&gt;mysql-connector-java-5.1.30.jar to tomcat&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff;"&gt;\lib.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;It show me "&amp;nbsp;&amp;nbsp;java.lang.ClassNotFoundException: com.mysql.jdbc.Driver&amp;nbsp; ".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Can u help me? thanks&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;A __default_attr="126388" __jive_macro_name="user" _jive_internal="true" data-id="126388" data-objecttype="3" data-type="person" href="https://community.alfresco.com/people/daisuke-yoshimoto" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt;‌&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 17:43:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/common-db-for-activiti-app-and-activiti-rest/m-p/22877#M9964</guid>
      <dc:creator>upliu</dc:creator>
      <dc:date>2017-10-12T17:43:37Z</dc:date>
    </item>
  </channel>
</rss>

