<?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: Database Tables are not Created on start up in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/database-tables-are-not-created-on-start-up/m-p/11471#M5081</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Devendra,&lt;/P&gt;&lt;P&gt;Without error it is difficult to trace the issue, however i think you should checked this link of db configuration&amp;nbsp;&lt;A class="link-titled" href="https://www.activiti.org/userguide/index.html#databaseConfiguration" title="https://www.activiti.org/userguide/index.html#databaseConfiguration" rel="nofollow noopener noreferrer"&gt;Activiti DB configuration&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rupesh&lt;/P&gt;&lt;P&gt;EnProwess Technologies&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 May 2018 11:06:28 GMT</pubDate>
    <dc:creator>rupeshsawaliya</dc:creator>
    <dc:date>2018-05-09T11:06:28Z</dc:date>
    <item>
      <title>Database Tables are not Created on start up</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/database-tables-are-not-created-on-start-up/m-p/11470#M5080</link>
      <description>Hi,I am using activiti 6.activiti.cfg.xml :&amp;lt;beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"&amp;gt;&amp;lt;bean id=</description>
      <pubDate>Wed, 09 May 2018 10:49:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/database-tables-are-not-created-on-start-up/m-p/11470#M5080</guid>
      <dc:creator>deven09</dc:creator>
      <dc:date>2018-05-09T10:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Database Tables are not Created on start up</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/database-tables-are-not-created-on-start-up/m-p/11471#M5081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Devendra,&lt;/P&gt;&lt;P&gt;Without error it is difficult to trace the issue, however i think you should checked this link of db configuration&amp;nbsp;&lt;A class="link-titled" href="https://www.activiti.org/userguide/index.html#databaseConfiguration" title="https://www.activiti.org/userguide/index.html#databaseConfiguration" rel="nofollow noopener noreferrer"&gt;Activiti DB configuration&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rupesh&lt;/P&gt;&lt;P&gt;EnProwess Technologies&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2018 11:06:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/database-tables-are-not-created-on-start-up/m-p/11471#M5081</guid>
      <dc:creator>rupeshsawaliya</dc:creator>
      <dc:date>2018-05-09T11:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Database Tables are not Created on start up</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/database-tables-are-not-created-on-start-up/m-p/11472#M5082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rupesh for&amp;nbsp;quick response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;configured using the same link. But no luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2018 11:20:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/database-tables-are-not-created-on-start-up/m-p/11472#M5082</guid>
      <dc:creator>deven09</dc:creator>
      <dc:date>2018-05-09T11:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: Database Tables are not Created on start up</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/database-tables-are-not-created-on-start-up/m-p/11473#M5083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried second option where instead of&amp;nbsp;org.activiti.engine.impl.cfg.StandaloneProcessEngineConfiguration I am using&amp;nbsp;org.activiti.spring.SpringProcessEngineConfiguration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;activiti.cfg.xml:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;lt;bean id="transactionManager"&lt;BR /&gt; class="org.springframework.jdbc.datasource.DataSourceTransactionManager"&amp;gt;&lt;BR /&gt; &amp;lt;property name="dataSource" ref="dataSource" /&amp;gt;&lt;BR /&gt; &amp;lt;/bean&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration"&amp;gt;&lt;BR /&gt; &amp;lt;property name="dataSource" ref="dataSource" /&amp;gt;&lt;BR /&gt; &amp;lt;property name="transactionManager" ref="transactionManager" /&amp;gt;&lt;BR /&gt; &amp;lt;property name="databaseSchemaUpdate" value="true" /&amp;gt;&lt;BR /&gt; &amp;lt;property name="asyncExecutorActivate" value="false" /&amp;gt;&lt;BR /&gt; &amp;lt;/bean&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;bean id="processEngine" class="org.activiti.spring.ProcessEngineFactoryBean"&amp;gt;&lt;BR /&gt; &amp;lt;property name="processEngineConfiguration" ref="processEngineConfiguration" /&amp;gt;&lt;BR /&gt; &amp;lt;/bean&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;bean id="repositoryService" factory-bean="processEngine"&lt;BR /&gt; factory-method="getRepositoryService" /&amp;gt;&lt;BR /&gt; &amp;lt;bean id="runtimeService" factory-bean="processEngine"&lt;BR /&gt; factory-method="getRuntimeService" /&amp;gt;&lt;BR /&gt; &amp;lt;bean id="taskService" factory-bean="processEngine"&lt;BR /&gt; factory-method="getTaskService" /&amp;gt;&lt;BR /&gt; &amp;lt;bean id="historyService" factory-bean="processEngine"&lt;BR /&gt; factory-method="getHistoryService" /&amp;gt;&lt;BR /&gt; &amp;lt;bean id="managementService" factory-bean="processEngine"&lt;BR /&gt; factory-method="getManagementService" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tx:annotation-driven transaction-manager="transactionManager" /&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;datasorce:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;lt;bean id="dataSource" class="org.springframework.jdbc.datasource.SimpleDriverDataSource"&amp;gt;&lt;BR /&gt; &amp;lt;property name="driverClass" value="${jdbc.driverClassName}" /&amp;gt;&lt;BR /&gt; &amp;lt;property name="url" value="${jdbc.url}" /&amp;gt;&lt;BR /&gt; &amp;lt;property name="username" value="${jdbc.username}" /&amp;gt;&lt;BR /&gt; &amp;lt;property name="password" value="${jdbc.password}" /&amp;gt;&lt;BR /&gt; &amp;lt;/bean&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;And now I am getting this error:&amp;nbsp;&lt;SPAN style="background-color: #f6f6f6;"&gt;Table 'test.act_ge_property' doesn't exist&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener&lt;BR /&gt;org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine': FactoryBean threw exception on object creation; nested exception is org.apache.ibatis.exceptions.PersistenceException: &lt;BR /&gt;### Error querying database. Cause: java.sql.SQLSyntaxErrorException: Table 'test.act_ge_property' doesn't exist&lt;BR /&gt;### The error may exist in org/activiti/db/mapping/entity/Property.xml&lt;BR /&gt;### The error may involve org.activiti.engine.impl.persistence.entity.PropertyEntityImpl.selectProperty-Inline&lt;BR /&gt;### The error occurred while setting parameters&lt;BR /&gt;### SQL: select * from ACT_GE_PROPERTY where NAME_ = ?&lt;BR /&gt;### Cause: java.sql.SQLSyntaxErrorException: Table 'test.act_ge_property' doesn't exist&lt;BR /&gt; at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:170)&lt;BR /&gt; at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:101)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1645)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getObjectForBeanInstance(AbstractAutowireCapableBeanFactory.java:1178)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:257)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)&lt;BR /&gt; at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:368)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1250)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1099)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:541)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)&lt;BR /&gt; at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)&lt;BR /&gt; at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:760)&lt;BR /&gt; at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:869)&lt;BR /&gt; at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)&lt;BR /&gt; at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:409)&lt;BR /&gt; at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:291)&lt;BR /&gt; at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103)&lt;BR /&gt; at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4884)&lt;BR /&gt; at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5347)&lt;BR /&gt; at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)&lt;BR /&gt; at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1410)&lt;BR /&gt; at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1400)&lt;BR /&gt; at java.util.concurrent.FutureTask.run(FutureTask.java:266)&lt;BR /&gt; at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)&lt;BR /&gt; at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)&lt;BR /&gt; at java.lang.Thread.run(Thread.java:748)&lt;BR /&gt;Caused by: org.apache.ibatis.exceptions.PersistenceException: &lt;BR /&gt;### Error querying database. Cause: java.sql.SQLSyntaxErrorException: Table 'test.act_ge_property' doesn't exist&lt;BR /&gt;### The error may exist in org/activiti/db/mapping/entity/Property.xml&lt;BR /&gt;### The error may involve org.activiti.engine.impl.persistence.entity.PropertyEntityImpl.selectProperty-Inline&lt;BR /&gt;### The error occurred while setting parameters&lt;BR /&gt;### SQL: select * from ACT_GE_PROPERTY where NAME_ = ?&lt;BR /&gt;### Cause: java.sql.SQLSyntaxErrorException: Table 'test.act_ge_property' doesn't exist&lt;BR /&gt; at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)&lt;BR /&gt; at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:150)&lt;BR /&gt; at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:141)&lt;BR /&gt; at org.apache.ibatis.session.defaults.DefaultSqlSession.selectOne(DefaultSqlSession.java:77)&lt;BR /&gt; at org.activiti.engine.impl.db.DbSqlSession.selectById(DbSqlSession.java:364)&lt;BR /&gt; at org.activiti.engine.impl.db.DbSqlSession.selectById(DbSqlSession.java:348)&lt;BR /&gt; at org.activiti.engine.impl.db.DbSqlSession.dbSchemaUpdate(DbSqlSession.java:910)&lt;BR /&gt; at org.activiti.engine.impl.db.DbSqlSession.performSchemaOperationsProcessEngineBuild(DbSqlSession.java:1318)&lt;BR /&gt; at org.activiti.engine.impl.SchemaOperationsProcessEngineBuild.execute(SchemaOperationsProcessEngineBuild.java:28)&lt;BR /&gt; at org.activiti.engine.impl.interceptor.CommandInvoker$1.run(CommandInvoker.java:37)&lt;BR /&gt; at org.activiti.engine.impl.interceptor.CommandInvoker.executeOperation(CommandInvoker.java:78)&lt;BR /&gt; at org.activiti.engine.impl.interceptor.CommandInvoker.executeOperations(CommandInvoker.java:57)&lt;BR /&gt; at org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:42)&lt;BR /&gt; at org.activiti.engine.impl.interceptor.TransactionContextInterceptor.execute(TransactionContextInterceptor.java:48)&lt;BR /&gt; at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:63)&lt;BR /&gt; at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:47)&lt;BR /&gt; at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140)&lt;BR /&gt; at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:45)&lt;BR /&gt; at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:29)&lt;BR /&gt; at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:44)&lt;BR /&gt; at org.activiti.engine.impl.ProcessEngineImpl.&amp;lt;init&amp;gt;(ProcessEngineImpl.java:81)&lt;BR /&gt; at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.buildProcessEngine(ProcessEngineConfigurationImpl.java:665)&lt;BR /&gt; at org.activiti.spring.SpringProcessEngineConfiguration.buildProcessEngine(SpringProcessEngineConfiguration.java:65)&lt;BR /&gt; at org.activiti.spring.ProcessEngineFactoryBean.getObject(ProcessEngineFactoryBean.java:57)&lt;BR /&gt; at org.activiti.spring.ProcessEngineFactoryBean.getObject(ProcessEngineFactoryBean.java:32)&lt;BR /&gt; at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:163)&lt;BR /&gt; ... 29 more&lt;BR /&gt;Caused by: java.sql.SQLSyntaxErrorException: Table 'test.act_ge_property' doesn't exist&lt;BR /&gt; at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:536)&lt;BR /&gt; at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:513)&lt;BR /&gt; at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:115)&lt;BR /&gt; at com.mysql.cj.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:1983)&lt;BR /&gt; at com.mysql.cj.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1826)&lt;BR /&gt; at com.mysql.cj.jdbc.PreparedStatement.execute(PreparedStatement.java:1153)&lt;BR /&gt; at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:63)&lt;BR /&gt; at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)&lt;BR /&gt; at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63)&lt;BR /&gt; at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:324)&lt;BR /&gt; at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)&lt;BR /&gt; at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)&lt;BR /&gt; at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:83)&lt;BR /&gt; at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:148)&lt;BR /&gt; ... 53 more&lt;/P&gt;&lt;P&gt;May 09, 2018 7:36:28 PM org.apache.catalina.core.StandardContext startInternal&lt;BR /&gt;SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file&lt;BR /&gt;May 09, 2018 7:36:28 PM org.apache.catalina.core.StandardContext startInternal&lt;BR /&gt;SEVERE: Context [/workflow] startup failed due to previous errors&lt;BR /&gt;May 09, 2018 7:36:28 PM org.apache.catalina.core.ApplicationContext log&lt;BR /&gt;INFO: Closing Spring root WebApplicationContext&lt;BR /&gt;May 09, 2018 7:36:28 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc&lt;BR /&gt;WARNING: The web application [workflow] registered the JDBC driver [com.mysql.cj.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.&lt;BR /&gt;May 09, 2018 7:36:28 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads&lt;BR /&gt;WARNING: The web application [workflow] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:&lt;BR /&gt; java.lang.Object.wait(Native Method)&lt;BR /&gt; java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)&lt;BR /&gt; com.mysql.cj.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:43)&lt;BR /&gt;May 09, 2018 7:36:28 PM org.apache.coyote.AbstractProtocol start&lt;BR /&gt;INFO: Starting ProtocolHandler ["http-nio-8080"]&lt;BR /&gt;May 09, 2018 7:36:28 PM org.apache.coyote.AbstractProtocol start&lt;BR /&gt;INFO: Starting ProtocolHandler ["ajp-nio-8009"]&lt;BR /&gt;May 09, 2018 7:36:28 PM org.apache.catalina.startup.Catalina start&lt;BR /&gt;INFO: Server startup in 9405 ms&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2018 08:25:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/database-tables-are-not-created-on-start-up/m-p/11473#M5083</guid>
      <dc:creator>deven09</dc:creator>
      <dc:date>2018-05-10T08:25:32Z</dc:date>
    </item>
  </channel>
</rss>

