<?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 Job rollbacked in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/job-rollbacked/m-p/290447#M243577</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've a problem with one of my Alfresco jobs. The aim of this job is to synchronize Alfresco users and groups from an XML export. This job executes a composite action on the XML file and the composite action is made of the following actions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Manage user deletions&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Manage user updates&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Manage user creations&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Manage groups (creation, deletion, manage members)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my case, the job is rollbacked. But there's no exception thrown during the execution (I tried to surround my code in each action with a try/catch on Exception).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've set the log level to debug for RetryingTransactionHelper and SpringAwareUserTransaction classes and added debug messages in AbstractScheduledAction&amp;nbsp; and ActionServiceImpl classes but it didn't help me. My transaction status is set to to STATUS_MARKED_ROLLBACK but I can't figure out why.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In RetryingTransactionHelper, the following test is true :&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;if (txn.getStatus() == Status.STATUS_MARKED_ROLLBACK)&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you know how the transaction status can be set to STATUS_MARKED_ROLLBACK?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are there any other classes to set to debug ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Morevoer, during the process, I've different warnings related to cache :&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;2014-12-17 16:07:58,621&amp;nbsp; WARN&amp;nbsp; [org.alfresco.userToAuthorityTransactionalCache] [DefaultScheduler_Worker-2] Transactional update cache 'org.alfresco.userToAuthorityTransactionalCache' is full (100).&lt;BR /&gt;2014-12-17 16:07:59,648&amp;nbsp; WARN&amp;nbsp; [org.alfresco.authenticationTransactionalCache] [DefaultScheduler_Worker-2] Transactional removal cache 'org.alfresco.authenticationTransactionalCache' is full (100).&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Since this is only warnings related to cache, I don't think this is important in my case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Feb 2015 11:00:52 GMT</pubDate>
    <dc:creator>mlagneaux</dc:creator>
    <dc:date>2015-02-02T11:00:52Z</dc:date>
    <item>
      <title>Job rollbacked</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/job-rollbacked/m-p/290447#M243577</link>
      <description>Hello,I've a problem with one of my Alfresco jobs. The aim of this job is to synchronize Alfresco users and groups from an XML export. This job executes a composite action on the XML file and the composite action is made of the following actions:- Manage user deletions- Manage user updates- Manage u</description>
      <pubDate>Mon, 02 Feb 2015 11:00:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/job-rollbacked/m-p/290447#M243577</guid>
      <dc:creator>mlagneaux</dc:creator>
      <dc:date>2015-02-02T11:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: Job rollbacked</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/job-rollbacked/m-p/290448#M243578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Something has marked your transaction for a rollback.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Generally that means an exception has been thrown somewhere and been caught and then not propagated.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's not a pattern to use with alfresco's optimistic transaction handling.&amp;nbsp;&amp;nbsp; So there's a bug somewhere.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You may find debug logging on the exception swallowing, but the exception swallowing is itself a bug and shouldn't be there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 11:18:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/job-rollbacked/m-p/290448#M243578</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2015-02-03T11:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Job rollbacked</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/job-rollbacked/m-p/290449#M243579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've splitted my job executing 4 actions into 4 jobs executing one action and it worked! As a consequence, I don't think it's related to the code of my actions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a limit concerning the number of actions that can be done within a transaction ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2015 09:07:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/job-rollbacked/m-p/290449#M243579</guid>
      <dc:creator>mlagneaux</dc:creator>
      <dc:date>2015-02-06T09:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Job rollbacked</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/job-rollbacked/m-p/290450#M243580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; No limit on the number of "actions".&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; However there will always be a limit on the number of operations that you can do in a single transaction.&amp;nbsp;&amp;nbsp; That's why batch operations are needed for huge updates.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2015 10:31:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/job-rollbacked/m-p/290450#M243580</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2015-02-06T10:31:35Z</dc:date>
    </item>
  </channel>
</rss>

