<?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: Exception when process is about to end in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/exception-when-process-is-about-to-end/m-p/79631#M53012</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Some more infos:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems to me, that this is a bug since activiti 5.5&amp;nbsp; (Upgrade to iBatis 3.0.4).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In revision 2566 the config xmls of ibatis are still under 'src/main/resources/db/ibatis/'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;job.mapping.xml:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;mapper namespace="org.activiti.persistence"&amp;gt;&lt;BR /&gt;[…]&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;In revision 2602 (ibatis config xmls are now under 'src/main/resources/db/mapping/entity/') job.mapping.xml has been renamed/moved.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Job.xml:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;mapper namespace="org.activiti.engine.impl.persistence.entity.JobEntity"&amp;gt;&lt;BR /&gt;[…]&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;This perfectly explains to me why the lookup to 'org.activiti.persistence.selectJobCountByQueryCriteria' fails. Though I still don't know why it succeeds in the demo.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I fixed it for myself by stripping 'org.activiti.persistence.' from the strings in JobManager.java and GetPropertiesCmd.java.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This should be the same and expected behavior (that is: if there is no ambiguity e.g. another '*selectJobCountByQueryCriteria' beeing registered as a MappedStatement). Then iBatis will throw an Exception at me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would be great if you could agree with me in that this is a bug and fix this - or tell me that I'm "on the woodway".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After what I've seen in the code this is a refactoring issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@Ronald: 'It's not my fault!' - I can only repeat myself. True, it does not happen in the demo setup (which can hardly be seen as THE way to use activiti). And even if you don't officially support Postgresql I don't see any database related issues here. Yeah, yeah it's iBatis and thats database abstraction/management/handling… . But the configuration of iBatis itself should not differ from database to database nor should it be database dependent. At least not if it comes to registering MappedStatements which do not reflect different dialects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So: it's not my fault! And how does this correlate to rock solid? And do correct me if I'm wrong, mistaken, arrogant, insulting or whatever does legitimately misplease someone.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ruben&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Oct 2011 12:37:36 GMT</pubDate>
    <dc:creator>ruben1</dc:creator>
    <dc:date>2011-10-04T12:37:36Z</dc:date>
    <item>
      <title>Exception when process is about to end</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exception-when-process-is-about-to-end/m-p/79626#M53007</link>
      <description>Hi,I've a process doing some things &lt;IMG id="smileywink" class="emoticon emoticon-smileywink" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;. When I complete the last task of this process I get the following exception&lt;IMG id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;EVERE: Error while closing command contextorg.apache.ibatis.exceptions.PersistenceException: ### Error querying database.&amp;nbsp; Cause: java.lang.IllegalArgumentException: Mapped Statements</description>
      <pubDate>Thu, 29 Sep 2011 14:01:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exception-when-process-is-about-to-end/m-p/79626#M53007</guid>
      <dc:creator>ruben1</dc:creator>
      <dc:date>2011-09-29T14:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: Exception when process is about to end</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exception-when-process-is-about-to-end/m-p/79627#M53008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;PS: Is this core related and if so, how does this correlate with 'rock solid'?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PPS: Activiti 5.7&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2011 14:14:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exception-when-process-is-about-to-end/m-p/79627#M53008</guid>
      <dc:creator>ruben1</dc:creator>
      <dc:date>2011-09-29T14:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Exception when process is about to end</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exception-when-process-is-about-to-end/m-p/79628#M53009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I assume you have a small unit test and process definition that demonstrates this problem in a clean, not customized, Activiti using an officially supported database? The reason I ask this is that you seem pretty sure it is not your fault &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2011 14:32:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exception-when-process-is-about-to-end/m-p/79628#M53009</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-09-29T14:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Exception when process is about to end</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exception-when-process-is-about-to-end/m-p/79629#M53010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Ronald,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;nope, it's /it's not standard activiti (pick one, I haven't found out what the standard might be). It's like that:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bean id="dataSource" class="org.springframework.jdbc.datasource.SimpleDriverDataSource"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="driverClass" value="org.postgresql.Driver" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="url" value="jdbc:smileytongue:ostgresql://localhost:5432/activiti" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="username" value="activiti" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="password" value="activiti" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/bean&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bean id="processEngineConfiguration"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class="my.custom.JSONFormRenderingProcessEngineConfiguration"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="dataSource" ref="dataSource" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="transactionManager" ref="transactionManager" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="databaseSchemaUpdate" value="true" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jobExecutorActivate" value="false" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="customFormEngines" ref="customFormEngines" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/bean&amp;gt;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; &amp;lt;util:list id="customFormEngines"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;bean class="my.custom.activiti.JSONFormRenderingEngine"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/util:list&amp;gt;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; &amp;lt;bean id="processEngine" class="org.activiti.spring.ProcessEngineFactoryBean"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="processEngineConfiguration" ref="processEngineConfiguration" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/bean&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;'JSONFormRenderingProcessEngineConfiguration' extends 'SpringProcessEngineConfiguration' and sets&amp;nbsp; 'JSONFormRenderingEngine' as the default form renderer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And I can reproduce it with a simple process 'Start' -&amp;gt; 'Script Task' setting a process var -&amp;gt; 'End'. The Exception occurs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Greetz,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ruben&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2011 15:51:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exception-when-process-is-about-to-end/m-p/79629#M53010</guid>
      <dc:creator>ruben1</dc:creator>
      <dc:date>2011-09-29T15:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Exception when process is about to end</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exception-when-process-is-about-to-end/m-p/79630#M53011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know why, but Ibatis does intitialize it's Configuration differently when started in the demo context. I changed the config of the demo's activiti-explorer to match my postgres. No Exception when executing my process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I changed the configuration of my ProcessEngine to match that of the demo's ProcessEngine:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;lt;beans xmlns="&lt;A href="http://www.springframework.org/schema/beans" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/beans&lt;/A&gt;"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:xsi="&lt;A href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:smileytongue:="&lt;A href="http://www.springframework.org/schema/p" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/p&lt;/A&gt;"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:util="&lt;A href="http://www.springframework.org/schema/util" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/util&lt;/A&gt;"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xsi:schemaLocation="&lt;A href="http://www.springframework.org/schema/beans" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/beans&lt;/A&gt; &lt;A href="http://www.springframework.org/schema/beans/spring-beans-3.0.xsd" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/beans/spring-beans-3.0.xsd&lt;/A&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="http://www.springframework.org/schema/util" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/util&lt;/A&gt; &lt;A href="http://www.springframework.org/schema/util/spring-util-3.0.xsd" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/util/spring-util-3.0.xsd&lt;/A&gt;"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="driverClassName" value="org.postgresql.Driver" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="url" value="jdbc:smileytongue:ostgresql://localhost:5432/activiti" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="username" value="activiti" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="password" value="activiti" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/bean&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bean id="transactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="dataSource" ref="dataSource" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/bean&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bean id="processEngineConfiguration"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class="org.activiti.spring.SpringProcessEngineConfiguration"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="dataSource" ref="dataSource" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="transactionManager" ref="transactionManager" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="databaseSchemaUpdate" value="true" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jobExecutorActivate" value="true" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/bean&amp;gt;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; &amp;lt;bean id="processEngine" class="org.activiti.spring.ProcessEngineFactoryBean"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="processEngineConfiguration" ref="processEngineConfiguration" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/bean&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;!– Activiti Service Beans –&amp;gt;&lt;BR /&gt;[…]&lt;BR /&gt;&amp;lt;/beans&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;No success. Same Exception occurs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe I do something wrong. At least something is different. The demo calls ProcessEngines.getDefaultProcessEngine() twice on bootstrapping cause of the IdentityService in the applicationContext.xml.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But how can I configure the Ibatis Configuration? What magic allows a successful lookup of the key 'org.activiti.persistence.selectJobCountByQueryCriteria' when running the demo but fails in my environment?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And why is this key in JobManager prefixed with 'org.activiti.persistence.' when no such id is in any of the xml files referenced by 'org/activiti/db/mapping/mappings.xml'? And most of the other classes using the Ibatis mappings have no prefix? Only JobManager.java and GetPropertiesCmd.java have it (and not consistently).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any clues? Anyone? I don't.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;tia,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ruben&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2011 06:24:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exception-when-process-is-about-to-end/m-p/79630#M53011</guid>
      <dc:creator>ruben1</dc:creator>
      <dc:date>2011-10-04T06:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Exception when process is about to end</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exception-when-process-is-about-to-end/m-p/79631#M53012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Some more infos:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems to me, that this is a bug since activiti 5.5&amp;nbsp; (Upgrade to iBatis 3.0.4).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In revision 2566 the config xmls of ibatis are still under 'src/main/resources/db/ibatis/'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;job.mapping.xml:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;mapper namespace="org.activiti.persistence"&amp;gt;&lt;BR /&gt;[…]&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;In revision 2602 (ibatis config xmls are now under 'src/main/resources/db/mapping/entity/') job.mapping.xml has been renamed/moved.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Job.xml:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;mapper namespace="org.activiti.engine.impl.persistence.entity.JobEntity"&amp;gt;&lt;BR /&gt;[…]&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;This perfectly explains to me why the lookup to 'org.activiti.persistence.selectJobCountByQueryCriteria' fails. Though I still don't know why it succeeds in the demo.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I fixed it for myself by stripping 'org.activiti.persistence.' from the strings in JobManager.java and GetPropertiesCmd.java.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This should be the same and expected behavior (that is: if there is no ambiguity e.g. another '*selectJobCountByQueryCriteria' beeing registered as a MappedStatement). Then iBatis will throw an Exception at me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would be great if you could agree with me in that this is a bug and fix this - or tell me that I'm "on the woodway".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After what I've seen in the code this is a refactoring issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@Ronald: 'It's not my fault!' - I can only repeat myself. True, it does not happen in the demo setup (which can hardly be seen as THE way to use activiti). And even if you don't officially support Postgresql I don't see any database related issues here. Yeah, yeah it's iBatis and thats database abstraction/management/handling… . But the configuration of iBatis itself should not differ from database to database nor should it be database dependent. At least not if it comes to registering MappedStatements which do not reflect different dialects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So: it's not my fault! And how does this correlate to rock solid? And do correct me if I'm wrong, mistaken, arrogant, insulting or whatever does legitimately misplease someone.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ruben&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2011 12:37:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exception-when-process-is-about-to-end/m-p/79631#M53012</guid>
      <dc:creator>ruben1</dc:creator>
      <dc:date>2011-10-04T12:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Exception when process is about to end</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exception-when-process-is-about-to-end/m-p/79632#M53013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Indeed an issue… However, out unit-tests don't fail even though the methods are used. So beats me why myBatis mapping can find the correct statement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Will fix on trunk, JIT for the 5.8 release…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 06:22:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exception-when-process-is-about-to-end/m-p/79632#M53013</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-10-05T06:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Exception when process is about to end</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exception-when-process-is-about-to-end/m-p/79633#M53014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i have the same issue also yesterday. &lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;SEVERE: Error while closing command context&lt;BR /&gt;org.apache.ibatis.exceptions.PersistenceException:&lt;BR /&gt;### Error querying database.&amp;nbsp; Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for org.activiti.persistence.selectJobByQueryCriteria&lt;BR /&gt;### Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for org.activiti.persistence.selectJobByQueryCriteria&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;And then I try to run from activiti-explorer interface, and it works just fine. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I copy all of the lib in &lt;/SPAN&gt;&lt;EM&gt;activiti-explorer-5.7\WebContent\WEB-INF\lib&lt;/EM&gt;&lt;SPAN&gt; to my workspace lib folder. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;BAM!!! And the error gone. &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 07:09:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exception-when-process-is-about-to-end/m-p/79633#M53014</guid>
      <dc:creator>rubensava</dc:creator>
      <dc:date>2011-10-13T07:09:03Z</dc:date>
    </item>
  </channel>
</rss>

