<?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: Transaction rollback help in Activiti 5.9 BPM engine using Spring in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/transaction-rollback-help-in-activiti-5-9-bpm-engine-using/m-p/197245#M150375</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your reply.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, changes are being committed to the database and the tasks in the process can no longer be completed. Sometimes we will end up with more than one concurrently running task instance where there is only one defined in the process flow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To be honest, I was kind of hoping someone would say something along the lines of "yes, this is a known issue" or "your configuration is not correct" or "transactions don't work with JPA without a JTA transaction manager."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately, I do not have the incident isolated with logs or other debugging data because we have only been able to identify it in production and it is very rare.&amp;nbsp; We have millions of process instances and this has only happened maybe a few hundred times total.&amp;nbsp; So it would be very difficult to pin point it.&amp;nbsp; I have not been able to duplicate the issue in our development environment.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Oct 2015 17:30:38 GMT</pubDate>
    <dc:creator>wickedelephant</dc:creator>
    <dc:date>2015-10-20T17:30:38Z</dc:date>
    <item>
      <title>Transaction rollback help in Activiti 5.9 BPM engine using Spring</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/transaction-rollback-help-in-activiti-5-9-bpm-engine-using/m-p/197243#M150373</link>
      <description>We are having an issue with Activiti BPM engine not rolling back transactions under all circumstances.This is an Activiti engine that is tightly embedded into our JPA/Spring application.Most of the time, such as when a service throws an exception, the Activiti BPM transactions are rolled back correc</description>
      <pubDate>Mon, 19 Oct 2015 18:34:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/transaction-rollback-help-in-activiti-5-9-bpm-engine-using/m-p/197243#M150373</guid>
      <dc:creator>wickedelephant</dc:creator>
      <dc:date>2015-10-19T18:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction rollback help in Activiti 5.9 BPM engine using Spring</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/transaction-rollback-help-in-activiti-5-9-bpm-engine-using/m-p/197244#M150374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Activiti simply defers to the Spring transactionmanager here. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"However, if the JVM is shut down or killed while Activiti is running a process instance, that process instance ends in a corrupt state and all kinds of bad things happen to it."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you explain what you mean with corrupt state? Does something gets committed to the db? Activiti flushes at the end of the transaction, so it seems odd your data gets corrupted if the JVM failed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any more logging or so when that happens?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 15:28:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/transaction-rollback-help-in-activiti-5-9-bpm-engine-using/m-p/197244#M150374</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-10-20T15:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction rollback help in Activiti 5.9 BPM engine using Spring</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/transaction-rollback-help-in-activiti-5-9-bpm-engine-using/m-p/197245#M150375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your reply.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, changes are being committed to the database and the tasks in the process can no longer be completed. Sometimes we will end up with more than one concurrently running task instance where there is only one defined in the process flow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To be honest, I was kind of hoping someone would say something along the lines of "yes, this is a known issue" or "your configuration is not correct" or "transactions don't work with JPA without a JTA transaction manager."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately, I do not have the incident isolated with logs or other debugging data because we have only been able to identify it in production and it is very rare.&amp;nbsp; We have millions of process instances and this has only happened maybe a few hundred times total.&amp;nbsp; So it would be very difficult to pin point it.&amp;nbsp; I have not been able to duplicate the issue in our development environment.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 17:30:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/transaction-rollback-help-in-activiti-5-9-bpm-engine-using/m-p/197245#M150375</guid>
      <dc:creator>wickedelephant</dc:creator>
      <dc:date>2015-10-20T17:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction rollback help in Activiti 5.9 BPM engine using Spring</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/transaction-rollback-help-in-activiti-5-9-bpm-engine-using/m-p/197246#M150376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmm then it's indeed looking for a needle in a haystack :s. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 16:47:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/transaction-rollback-help-in-activiti-5-9-bpm-engine-using/m-p/197246#M150376</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-10-28T16:47:01Z</dc:date>
    </item>
  </channel>
</rss>

