<?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 Activiti 6 error creating bean processEngine databaseId must be declared for element type sql in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/activiti-6-error-creating-bean-processengine-databaseid-must-be/m-p/5671#M2774</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Everything worked in Activiti 5.20, now cannot load ApplicationContext&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class=""&gt;Caused by: org.activiti.engine.ActivitiException: Error while building ibatis SqlSessionFactory: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.builder.BuilderException: Error creating document instance.&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;Cause: org.xml.sax.SAXParseException; lineNumber: 37; columnNumber: 55; Attribute "databaseId" must be declared for element type "sql".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Standard config&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;bean&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;id&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;"dataSourceWorklowTest"&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;class&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;"org.springframework.jdbc.datasource.SimpleDriverDataSource"&lt;SPAN class=""&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;property&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;name&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;"driverClass"&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;value&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;"org.h2.Driver"&lt;SPAN class=""&gt;/&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;property&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;name&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;"url"&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;value&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;"jdbc:h2:mem:activiti;DB_CLOSE_DELAY=1000"&lt;SPAN class=""&gt;/&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;property&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;name&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;"username"&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;value&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;"sa"&lt;SPAN class=""&gt;/&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;property&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;name&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;"password"&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;value&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;""&lt;SPAN class=""&gt;/&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/&lt;/SPAN&gt;bean&lt;SPAN class=""&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;bean&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;id&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;"processEngineConfiguration"&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;class&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;"org.activiti.spring.SpringProcessEngineConfiguration"&lt;SPAN class=""&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;property&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;name&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;"dataSource"&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;ref&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;"dataSourceWorklowTest"&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;property&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;name&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;"transactionManager"&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;ref&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;"transactionManagerWorkflowTest"&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;property&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;name&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;"databaseSchemaUpdate"&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;value&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;"true"&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;property&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;name&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;"asyncExecutorActivate"&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;value&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;"false"&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;property&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;name&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;"history"&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;value&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;"none"&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/&lt;/SPAN&gt;bean&lt;SPAN class=""&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;....&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Nov 2017 23:27:00 GMT</pubDate>
    <dc:creator>llewandox23</dc:creator>
    <dc:date>2017-11-21T23:27:00Z</dc:date>
    <item>
      <title>Activiti 6 error creating bean processEngine databaseId must be declared for element type sql</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-6-error-creating-bean-processengine-databaseid-must-be/m-p/5671#M2774</link>
      <description>Everything worked in Activiti 5.20, now cannot load ApplicationContextCaused by: org.activiti.engine.ActivitiException: Error while building ibatis SqlSessionFactory: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.builder.BuilderException: Error creating document instance.&amp;nbsp; Cause:</description>
      <pubDate>Tue, 21 Nov 2017 23:27:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-6-error-creating-bean-processengine-databaseid-must-be/m-p/5671#M2774</guid>
      <dc:creator>llewandox23</dc:creator>
      <dc:date>2017-11-21T23:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti 6 error creating bean processEngine databaseId must be declared for element type sql</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-6-error-creating-bean-processengine-databaseid-must-be/m-p/5672#M2775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I replace mybatis-3.4.6.jar &lt;/P&gt;&lt;P&gt;on&lt;/P&gt;&lt;P&gt;mybatis-3.3.0.jar&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;beans xmlns="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/beans" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/beans&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; xmlns:context="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/context" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/context&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; xmlns:tx="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/tx" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/tx&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; xmlns:xsi="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; xsi:schemaLocation="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/beans" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/beans&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/beans/spring-beans.xsd" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/beans/spring-beans.xsd&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/context" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/context&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/context/spring-context-2.5.xsd" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/context/spring-context-2.5.xsd&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/tx" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/tx&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/tx/spring-tx-3.0.xsd" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/tx/spring-tx-3.0.xsd&lt;/A&gt;&lt;SPAN&gt; "&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt; &amp;lt;!-- Configuration --&amp;gt; &lt;BR /&gt; &amp;lt;context&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;roperty-placeholder location="classpath*:*.properties" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!-- Annotation based configuration --&amp;gt;&lt;BR /&gt; &amp;lt;context:annotation-config /&amp;gt;&lt;BR /&gt; &amp;lt;context:component-scan base-package="t1.t1" /&amp;gt;&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; &amp;lt;!-- Data --&amp;gt;&lt;BR /&gt; &amp;lt;bean id="dataSource"&lt;BR /&gt; class="org.apache.commons.dbcp2.BasicDataSource"&amp;gt;&lt;BR /&gt; &lt;BR /&gt; &amp;lt;property name="driverClassName" value="org.postgresql.Driver" /&amp;gt;&lt;BR /&gt; &amp;lt;property name="url" value="jdbc&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ostgresql://localhost:5432/activiti6ui2" /&amp;gt;&lt;BR /&gt; &amp;lt;property name="username" value="postgres" /&amp;gt;&lt;BR /&gt; &amp;lt;property name="password" value="" /&amp;gt;&lt;BR /&gt; &lt;BR /&gt; &amp;lt;/bean&amp;gt;&lt;/P&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;BR /&gt; &lt;BR /&gt; &amp;lt;tx:annotation-driven transaction-manager="transactionManager"/&amp;gt;&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; &amp;lt;!--&lt;BR /&gt; Activiti&lt;BR /&gt; --&amp;gt;&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; &amp;lt;bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration"&amp;gt;&lt;BR /&gt; &lt;BR /&gt; &amp;lt;property name="databaseType" value="postgres" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;property name="dataSource" ref="dataSource" /&amp;gt;&lt;BR /&gt; &lt;BR /&gt; &amp;lt;property name="transactionManager" ref="transactionManager" /&amp;gt;&lt;BR /&gt; &lt;BR /&gt; &amp;lt;property name="databaseSchemaUpdate" value="true" /&amp;gt;&lt;BR /&gt; &lt;BR /&gt; &amp;lt;property name="deploymentResources" value="classpath*:/process/*.bpmn20.xml" /&amp;gt;&lt;BR /&gt; &amp;lt;/bean&amp;gt;&lt;BR /&gt; &lt;BR /&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; &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;BR /&gt;&amp;lt;/beans&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2018 16:37:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-6-error-creating-bean-processengine-databaseid-must-be/m-p/5672#M2775</guid>
      <dc:creator>krolikzaia</dc:creator>
      <dc:date>2018-05-31T16:37:02Z</dc:date>
    </item>
  </channel>
</rss>

