<?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: Upgrade 4.2c mt to 4.2d fails in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/upgrade-4-2c-mt-to-4-2d-fails/m-p/286077#M239207</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;the basic understanding of the ticket is not far from the truth. It does not affect "installable modules" such as Records Management or VTI directly or generally, but prevents the execution of instances of the "ModuleComponent" class which may be used to initialize the state of a "installable module" - basically, it prevents some building blocks of modules from being applied to a tenant and the effect is dependent on wether a module uses this kind of building blocks or not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In 4.2d you can't force a different behaviour. This feature has been disabled at a source level. (I recompiled Alfresco to enable it for me, but this may be risky.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as being the cause of such errors, it fully depends on what these modules - if they even apply to your constellation - are implemented to do and what other code expects them to have done.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking closer at the log it also may have nothing to do with your situation (was just meant as a general advisement). It may very well just be an issue with a patch provided by Alfresco which conflicts with a user defined content rule in one of your tenants. I.e. the patch modifies some content, deletes / re-creates nodes and the execution of a rule is attempted on a node that has been deleted during that patch.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It might be worth trying the update with rules completely disabled and re-activating them in a restart afterwards. To disable rules you can modify the ruleService bean found in rule-services-context.xml. If you look at the file, the necessary change should be obvious (in order to not be too cryptic, you need to change the rulesDisabled setting to true).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Sep 2013 16:56:28 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2013-09-09T16:56:28Z</dc:date>
    <item>
      <title>Upgrade 4.2c mt to 4.2d fails</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/upgrade-4-2c-mt-to-4-2d-fails/m-p/286074#M239204</link>
      <description>When testing the upgrade of 4.2c multi tenant to 4.2d, it fails.It seems that most SQL-patches are succesfully applied. During startup, I get only two few unusual WARNs: 2013-09-09 11:57:33,433&amp;nbsp; WARN&amp;nbsp; [admin.patch.AbstractPatch] [AbstractPatch Processor for patch.calendarAllDayEventDatesCorrectingPa</description>
      <pubDate>Mon, 09 Sep 2013 10:10:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/upgrade-4-2c-mt-to-4-2d-fails/m-p/286074#M239204</guid>
      <dc:creator>ebogaard</dc:creator>
      <dc:date>2013-09-09T10:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade 4.2c mt to 4.2d fails</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/upgrade-4-2c-mt-to-4-2d-fails/m-p/286075#M239205</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;one thing you need to be aware of is that in Alfresco 4.2d the module service does not support a multi-tenancy setup, i.e. it will not execute any module components for tenants. See &amp;lt;a href="&lt;/SPAN&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ALF-19207" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/ALF-19207&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;ALF-19207&amp;lt;/a&amp;gt; for some details.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know if this affects you, but this has tripped up my upgrade from 4.2c MT to 4.2d MT. My errors were quite different though: The system would start up but the main use case no longer worked. When new tenants were created as a result of a registration form, that transaction always failed since necessary node structures were no longer being initialized.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 13:09:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/upgrade-4-2c-mt-to-4-2d-fails/m-p/286075#M239205</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2013-09-09T13:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade 4.2c mt to 4.2d fails</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/upgrade-4-2c-mt-to-4-2d-fails/m-p/286076#M239206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Interesting ticket, but I'm not quite sure what the implications are.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I understand it right, if I had installed a module, like Records Management, VTI or Trashcan Cleaner, 4.2d doesn't necessarily load those for the tenants. So that means that some models and functionality might be missing. Is that right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If that is the case, is there a way to force the module to load for every tenant?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How could the not-loading lead to the WARNs and ERRORs I experience?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS: I fixed the "Could not open Hibernate Session for transaction" ERRORs. Apparently 4.2d uses a lot more connections than &amp;lt;=4.2c did and the available number of connections on the DB-server wasn't in line with what Alfresco was configured for.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 15:53:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/upgrade-4-2c-mt-to-4-2d-fails/m-p/286076#M239206</guid>
      <dc:creator>ebogaard</dc:creator>
      <dc:date>2013-09-09T15:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade 4.2c mt to 4.2d fails</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/upgrade-4-2c-mt-to-4-2d-fails/m-p/286077#M239207</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;the basic understanding of the ticket is not far from the truth. It does not affect "installable modules" such as Records Management or VTI directly or generally, but prevents the execution of instances of the "ModuleComponent" class which may be used to initialize the state of a "installable module" - basically, it prevents some building blocks of modules from being applied to a tenant and the effect is dependent on wether a module uses this kind of building blocks or not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In 4.2d you can't force a different behaviour. This feature has been disabled at a source level. (I recompiled Alfresco to enable it for me, but this may be risky.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as being the cause of such errors, it fully depends on what these modules - if they even apply to your constellation - are implemented to do and what other code expects them to have done.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking closer at the log it also may have nothing to do with your situation (was just meant as a general advisement). It may very well just be an issue with a patch provided by Alfresco which conflicts with a user defined content rule in one of your tenants. I.e. the patch modifies some content, deletes / re-creates nodes and the execution of a rule is attempted on a node that has been deleted during that patch.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It might be worth trying the update with rules completely disabled and re-activating them in a restart afterwards. To disable rules you can modify the ruleService bean found in rule-services-context.xml. If you look at the file, the necessary change should be obvious (in order to not be too cryptic, you need to change the rulesDisabled setting to true).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 16:56:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/upgrade-4-2c-mt-to-4-2d-fails/m-p/286077#M239207</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2013-09-09T16:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade 4.2c mt to 4.2d fails</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/upgrade-4-2c-mt-to-4-2d-fails/m-p/286078#M239208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your explanation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm going to try this again with the rules disabled and MariaDB with enough connections available.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 12:41:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/upgrade-4-2c-mt-to-4-2d-fails/m-p/286078#M239208</guid>
      <dc:creator>ebogaard</dc:creator>
      <dc:date>2013-09-10T12:41:41Z</dc:date>
    </item>
  </channel>
</rss>

