<?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: Error in async process- Error while closing command context in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/error-in-async-process-error-while-closing-command-context/m-p/124616#M87682</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, wikipedia even has some info on this: &lt;/SPAN&gt;&lt;A href="http://en.wikipedia.org/wiki/Lock_(database)" rel="nofollow noopener noreferrer"&gt;http://en.wikipedia.org/wiki/Lock_(database)&lt;/A&gt;&lt;SPAN&gt; and ofcourse the MS site: &lt;/SPAN&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/ms184286(v=sql.105).aspx" rel="nofollow noopener noreferrer"&gt;http://msdn.microsoft.com/en-us/library/ms184286(v=sql.105).aspx&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Dec 2012 08:03:24 GMT</pubDate>
    <dc:creator>ronald_van_kuij</dc:creator>
    <dc:date>2012-12-11T08:03:24Z</dc:date>
    <item>
      <title>Error in async process- Error while closing command context</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-in-async-process-error-while-closing-command-context/m-p/124610#M87676</link>
      <description>Dear Activiti team I am using activiti 5.10 with SQLserver DB. My process has 4 async service task where each task call a stored procedure that takes 1 min to execute. I am getting the following exception when I start 100 instances using Jmeter. I have attached my process definition and engine confi</description>
      <pubDate>Sat, 01 Dec 2012 07:23:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-in-async-process-error-while-closing-command-context/m-p/124610#M87676</guid>
      <dc:creator>k_kunti</dc:creator>
      <dc:date>2012-12-01T07:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error in async process- Error while closing command context</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-in-async-process-error-while-closing-command-context/m-p/124611#M87677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear Activiti Team&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It would be a big help if you can point me to the packeges where core job executor logic is implemented and how async tasks uses the same. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Krishnendu&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Dec 2012 04:30:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-in-async-process-error-while-closing-command-context/m-p/124611#M87677</guid>
      <dc:creator>k_kunti</dc:creator>
      <dc:date>2012-12-02T04:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error in async process- Error while closing command context</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-in-async-process-error-while-closing-command-context/m-p/124612#M87678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's in the JobExecutor class…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Dec 2012 09:35:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-in-async-process-error-while-closing-command-context/m-p/124612#M87678</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2012-12-02T09:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error in async process- Error while closing command context</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-in-async-process-error-while-closing-command-context/m-p/124613#M87679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;And next time, please use code tags around yor code… Reads much easier…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Dec 2012 09:36:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-in-async-process-error-while-closing-command-context/m-p/124613#M87679</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2012-12-02T09:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error in async process- Error while closing command context</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-in-async-process-error-while-closing-command-context/m-p/124614#M87680</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;Looks like this issue is coming up in SQL server DB when there are many concurrent process trying to update access the same table at the same time. In my case there were 200 concurrent process which where completing almost the same time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looks like when there are too many updates in SQL server DB row locks are converted to table level locks&amp;nbsp; resulting in this behavior. One solution is using some connection pooling solution which allows default isolation level as snapshot isolation level in SQL server. Unfortunately I could not find any open source connection pooling API using which I could achieve the same.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Krishnendu&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2012 10:41:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-in-async-process-error-while-closing-command-context/m-p/124614#M87680</guid>
      <dc:creator>k_kunti</dc:creator>
      <dc:date>2012-12-10T10:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error in async process- Error while closing command context</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-in-async-process-error-while-closing-command-context/m-p/124615#M87681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Looks like when there are too many updates in SQL server DB row locks are converted to table level locks resulting in this behavior.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you sure about, that sounds very, very strange for a database to do. Then again, it is of course a database from MS &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But if that is really the problem, then you need indeed some kind of throttling mechanism to avoid hitting the database to hard. Or I would there is a setting you can change in the configuration of the db.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 07:08:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-in-async-process-error-while-closing-command-context/m-p/124615#M87681</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2012-12-11T07:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error in async process- Error while closing command context</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-in-async-process-error-while-closing-command-context/m-p/124616#M87682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, wikipedia even has some info on this: &lt;/SPAN&gt;&lt;A href="http://en.wikipedia.org/wiki/Lock_(database)" rel="nofollow noopener noreferrer"&gt;http://en.wikipedia.org/wiki/Lock_(database)&lt;/A&gt;&lt;SPAN&gt; and ofcourse the MS site: &lt;/SPAN&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/ms184286(v=sql.105).aspx" rel="nofollow noopener noreferrer"&gt;http://msdn.microsoft.com/en-us/library/ms184286(v=sql.105).aspx&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 08:03:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-in-async-process-error-while-closing-command-context/m-p/124616#M87682</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2012-12-11T08:03:24Z</dc:date>
    </item>
  </channel>
</rss>

