<?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: Configuring JTA with Activiti in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/configuring-jta-with-activiti/m-p/65161#M41211</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;for me setting the properties RelaxAutoCommit and ElideSetAutoCommits to true in the JDBC MySQL connection pool in Glassfish helped with this issue&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 21 Aug 2011 11:22:18 GMT</pubDate>
    <dc:creator>chris_joelly</dc:creator>
    <dc:date>2011-08-21T11:22:18Z</dc:date>
    <item>
      <title>Configuring JTA with Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/configuring-jta-with-activiti/m-p/65160#M41210</link>
      <description>I am trying to configure activiti (5.6) to use Bitronix as Transaction Manager through JtaProcessEngineConfiguration. I am using MySQL as a database. Currently I am running the application as a standalone. I am getting the below exception.[2011-08-21 13:57:06,579] DEBUG main java.sql.PreparedStateme</description>
      <pubDate>Sun, 21 Aug 2011 10:30:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/configuring-jta-with-activiti/m-p/65160#M41210</guid>
      <dc:creator>suad</dc:creator>
      <dc:date>2011-08-21T10:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring JTA with Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/configuring-jta-with-activiti/m-p/65161#M41211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;for me setting the properties RelaxAutoCommit and ElideSetAutoCommits to true in the JDBC MySQL connection pool in Glassfish helped with this issue&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Aug 2011 11:22:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/configuring-jta-with-activiti/m-p/65161#M41211</guid>
      <dc:creator>chris_joelly</dc:creator>
      <dc:date>2011-08-21T11:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring JTA with Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/configuring-jta-with-activiti/m-p/65162#M41212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for mentioning this Chris. I'd think the error was obvious as would have been searching for the answer in a glassfish forum or something. But thanks anyway&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Aug 2011 16:34:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/configuring-jta-with-activiti/m-p/65162#M41212</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-08-21T16:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring JTA with Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/configuring-jta-with-activiti/m-p/65163#M41213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Chris/Ronald,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried setting the properties but I am still getting the same exception. Please note that I am using the XA datasource and not the regular datasource.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;moreover, the same configuration (MySQL XA datasource + Bitronix) works fine in my application without using activiti. But once I integrate it with activiti I get the exception?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 08:46:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/configuring-jta-with-activiti/m-p/65163#M41213</guid>
      <dc:creator>suad</dc:creator>
      <dc:date>2011-08-22T08:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring JTA with Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/configuring-jta-with-activiti/m-p/65164#M41214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;just one thought, because i have no other idea &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;did u try setting:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;property name="transactionsExternallyManaged" value="true" /&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;SPAN&gt;in the processEngineConfiguration?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;when i asked regarding this problem at the Glassfish mailinglist i got answer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;that it is defined in JDBC4 spec that after closing a transaction a JDBC driver &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;should set autocommit to true again, so statements executed outside of an&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;transaction gets commited immediately. So this behavior is ok i think. Maybe&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;setting the properties RelaxAutoCommit end ElideAutoCommit… did not work?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 17:51:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/configuring-jta-with-activiti/m-p/65164#M41214</guid>
      <dc:creator>chris_joelly</dc:creator>
      <dc:date>2011-08-22T17:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring JTA with Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/configuring-jta-with-activiti/m-p/65165#M41215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does a Spring managed JTA transaction(with an implementation of Bitronix) and a Application Service (Glassfish) managed JTA transaction make any difference for Activiti?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 18:08:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/configuring-jta-with-activiti/m-p/65165#M41215</guid>
      <dc:creator>frankee787</dc:creator>
      <dc:date>2011-08-22T18:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring JTA with Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/configuring-jta-with-activiti/m-p/65166#M41216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If thay are not the same transaction manager, sure it makes a difference, not only for activiti, but for any system. 2 jta transaction managers does not make any sense at all to me&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 22:34:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/configuring-jta-with-activiti/m-p/65166#M41216</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-08-22T22:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring JTA with Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/configuring-jta-with-activiti/m-p/65167#M41217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If thay are not the same transaction manager, sure it makes a difference, not only for activiti, but for any system. 2 jta transaction managers does not make any sense at all to me&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think you misunderstood my question. The question should have be like this&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Does a Spring managed JTA transaction(with an implementation of Bitronix) &lt;STRONG&gt;OR&lt;/STRONG&gt;&amp;nbsp; an Application Server (Glassfish) managed JTA transaction make any difference for Activiti?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Franklin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2011 04:10:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/configuring-jta-with-activiti/m-p/65167#M41217</guid>
      <dc:creator>frankee787</dc:creator>
      <dc:date>2011-08-23T04:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring JTA with Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/configuring-jta-with-activiti/m-p/65168#M41218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So I did not misunderstand your question &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; at least not fully&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For Activiti, both need to be spring wrapped I would think. I've not seen a directly used jta manager in Activiti, but that can be a lack of knowledge from my side.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2011 06:33:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/configuring-jta-with-activiti/m-p/65168#M41218</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-08-23T06:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring JTA with Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/configuring-jta-with-activiti/m-p/65169#M41219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Chris,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks…. setting the property solved the issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2011 06:50:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/configuring-jta-with-activiti/m-p/65169#M41219</guid>
      <dc:creator>suad</dc:creator>
      <dc:date>2011-08-23T06:50:45Z</dc:date>
    </item>
  </channel>
</rss>

