<?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: custom bootstrap code not running on startup in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/custom-bootstrap-code-not-running-on-startup/m-p/309477#M262607</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is no longer an issue. It turns out for some reason, the apache logger is not logging information to the console/log. When I tried a few system outs, they showed up in the console.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So the bootstrap is running, it's just not logging anything. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The bootstrap is still not completing and I get permission errors logging into the UI but that is likely due to us having an expired licence (so system is in read only). The bootstrap creates users and assigns permissions to nodes. Hopefully once we get our licence, it will all run properly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We were just trying to get the install/upgrade working so we will be ready for testing once we get the licence.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Nov 2015 18:48:21 GMT</pubDate>
    <dc:creator>cdn_alfresco_de</dc:creator>
    <dc:date>2015-11-10T18:48:21Z</dc:date>
    <item>
      <title>custom bootstrap code not running on startup</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-bootstrap-code-not-running-on-startup/m-p/309474#M262604</link>
      <description>Platform: Alfresco 4.2.1 Enterprise EditionOS: Windows 7Database: Oracle Express: 11gWe are in the process of upgrading our CMS the enterprise edition. Our bootstrap code that runs once on startup is not running and I am having difficulty debugging it. (note: I have removed some of the code details</description>
      <pubDate>Wed, 04 Nov 2015 20:18:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-bootstrap-code-not-running-on-startup/m-p/309474#M262604</guid>
      <dc:creator>cdn_alfresco_de</dc:creator>
      <dc:date>2015-11-04T20:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: custom bootstrap code not running on startup</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-bootstrap-code-not-running-on-startup/m-p/309475#M262605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Alfresco Support may be able to to assist in your upgrade to Enterprise.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is your context file in the right place or is that just a typo ?&amp;nbsp;&amp;nbsp; You say "/alfresco/extensions" that's not a standard &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I presume you are a unix user,&amp;nbsp; I'm a windows user in which case my right path is something like c:\alfresco-enterprise\shared\classes\extension (note the singular s)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a) have you got anything relevant to your patch in your log file?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;b) what version of alfresco?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;c) how have you installed,&amp;nbsp; for example have you used the automatic installer or have you configured it yourself?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 11:37:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-bootstrap-code-not-running-on-startup/m-p/309475#M262605</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2015-11-05T11:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: custom bootstrap code not running on startup</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-bootstrap-code-not-running-on-startup/m-p/309476#M262606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for the reply.. the s was a typo.&amp;nbsp; The full location of the extension folder is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\Program Files\Apache_Software_Foundation\apache-tomcat-7.0.42\webapps\alfresco\WEB-INF\classes\alfresco\extension&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;a) There is nothing in the log file relevant to our custom patch. I will attach the log to this reply. There are alfresco patches that run, but not our custom ones.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We should be seeing the text "Applying NHPOLS patches…" in the log.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;b) It's Alfresco 4.2.1 enterprise. It's actually an expired licence. We an Alfresco consultant a couple of years ago working on our upgrade to 4.2.1. Unfortunately, our client put the project on hold until now. We expect to have a valid licence shortly, we are just working on fixing any deployment issues with our custom code so we can hit the ground running when we get a valid licence. From what I understand, we should still be able to deploy with an expired licence.. it will just be read only.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;c) we have configured the install ourselves via maven.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 18:43:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-bootstrap-code-not-running-on-startup/m-p/309476#M262606</guid>
      <dc:creator>cdn_alfresco_de</dc:creator>
      <dc:date>2015-11-06T18:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: custom bootstrap code not running on startup</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-bootstrap-code-not-running-on-startup/m-p/309477#M262607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is no longer an issue. It turns out for some reason, the apache logger is not logging information to the console/log. When I tried a few system outs, they showed up in the console.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So the bootstrap is running, it's just not logging anything. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The bootstrap is still not completing and I get permission errors logging into the UI but that is likely due to us having an expired licence (so system is in read only). The bootstrap creates users and assigns permissions to nodes. Hopefully once we get our licence, it will all run properly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We were just trying to get the install/upgrade working so we will be ready for testing once we get the licence.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2015 18:48:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-bootstrap-code-not-running-on-startup/m-p/309477#M262607</guid>
      <dc:creator>cdn_alfresco_de</dc:creator>
      <dc:date>2015-11-10T18:48:21Z</dc:date>
    </item>
  </channel>
</rss>

