<?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: Activiti causes Exception 'Transaction is not active in the current thread' in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-causes-exception-transaction-is-not-active-in-the/m-p/179288#M132418</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Joram,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;finally the problem has gone away. Our main problem was, that our servicetasks were not threadsafe. I wasn't aware that they have to. Thus we had some instance variables like the processinstanceid. This led of course to chaotic behavior when a second or even more threads were using the same instance of a servicetask. In the course of analyzing the problems we had several other exception types as well. We finally decided to migrate to Jboss Wildfly 8.2, even though we now can strongly assume, that Glassfish was not to blame.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nevertheless many thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stephan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Mar 2015 14:44:10 GMT</pubDate>
    <dc:creator>stephan_bauer</dc:creator>
    <dc:date>2015-03-20T14:44:10Z</dc:date>
    <item>
      <title>Activiti causes Exception 'Transaction is not active in the current thread'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-causes-exception-transaction-is-not-active-in-the/m-p/179286#M132416</link>
      <description>Dear Activiti-Team,we have a setup with Activiti (5.16.3) inside Glassfish from which it should get its transactions, because of the following transactionManager-configuration in activiti-standalone-context.xml:&amp;nbsp;&amp;nbsp; &amp;lt;jee:jndi-lookup jndi-name="java:appserver/TransactionManager" id="transactionManag</description>
      <pubDate>Wed, 11 Mar 2015 18:10:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-causes-exception-transaction-is-not-active-in-the/m-p/179286#M132416</guid>
      <dc:creator>stephan_bauer</dc:creator>
      <dc:date>2015-03-11T18:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti causes Exception 'Transaction is not active in the current thread'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-causes-exception-transaction-is-not-active-in-the/m-p/179287#M132417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmmm in the logs you posted : "org.activiti.engine.impl.interceptor.JtaTransactionInterceptor:45 - Running command with propagation REQUIRED"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I'm correct, this should start a new transaction in JTA, right? So i'm a bit puzzled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm assuming it used to work before? What config where you using then?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 09:10:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-causes-exception-transaction-is-not-active-in-the/m-p/179287#M132417</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-03-17T09:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti causes Exception 'Transaction is not active in the current thread'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-causes-exception-transaction-is-not-active-in-the/m-p/179288#M132418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Joram,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;finally the problem has gone away. Our main problem was, that our servicetasks were not threadsafe. I wasn't aware that they have to. Thus we had some instance variables like the processinstanceid. This led of course to chaotic behavior when a second or even more threads were using the same instance of a servicetask. In the course of analyzing the problems we had several other exception types as well. We finally decided to migrate to Jboss Wildfly 8.2, even though we now can strongly assume, that Glassfish was not to blame.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nevertheless many thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stephan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 14:44:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-causes-exception-transaction-is-not-active-in-the/m-p/179288#M132418</guid>
      <dc:creator>stephan_bauer</dc:creator>
      <dc:date>2015-03-20T14:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti causes Exception 'Transaction is not active in the current thread'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-causes-exception-transaction-is-not-active-in-the/m-p/179289#M132419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Allright thanks for posting back. Yes, indeed delegates should be thread safe. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I'm still not sure how that relates to the JTA problem though … any more insight into why, from a technical view, that happened?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 13:31:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-causes-exception-transaction-is-not-active-in-the/m-p/179289#M132419</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-03-24T13:31:19Z</dc:date>
    </item>
  </channel>
</rss>

