<?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 Passing Environment Variables in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/passing-environment-variables/m-p/174649#M127779</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have been having problems installing Alfresco 2.9 on Ubuntu Hardy,&amp;nbsp; I kept getting Java Heap space errors in the log.&amp;nbsp; I have followed the two guides to installation &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Installing_Alfresco_on_Ubuntu_7.10" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Installing_Alfresco_on_Ubuntu_7.10&lt;/A&gt;&lt;SPAN&gt; to no avail.&amp;nbsp; Finally I investigated which JAVA_OPTS were being used by adding&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;echo "Using JAVA_OPTS: $JAVA_OPTS"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To the catalina.sh file.&amp;nbsp; This told me that the JAVA_OPTS settings in the alfresco init script (export JAVA_OPTS="-Xms256m -Xmx1024m -server -Djava.io.tmpdir=/var/lib/alfresco/tmp") were not being passed to catalina.sh.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been starting alfresco using /etc/init.d/alfresco start, and I am logged in as root for this purpose.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I fixed the problem by putting the JAVA_OPTS settings in startup.sh, from where they correctly get passed to catalina.sh and everything works as it should.&amp;nbsp; My question is what am I missing here?&amp;nbsp; Why do my settings not get passed from the alfresco init script?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 23 Aug 2008 09:28:43 GMT</pubDate>
    <dc:creator>odomok</dc:creator>
    <dc:date>2008-08-23T09:28:43Z</dc:date>
    <item>
      <title>Passing Environment Variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/passing-environment-variables/m-p/174649#M127779</link>
      <description>I have been having problems installing Alfresco 2.9 on Ubuntu Hardy,&amp;nbsp; I kept getting Java Heap space errors in the log.&amp;nbsp; I have followed the two guides to installation http://wiki.alfresco.com/wiki/Installing_Alfresco_on_Ubuntu_7.10 to no avail.&amp;nbsp; Finally I investigated which JAVA_OPTS were being use</description>
      <pubDate>Sat, 23 Aug 2008 09:28:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/passing-environment-variables/m-p/174649#M127779</guid>
      <dc:creator>odomok</dc:creator>
      <dc:date>2008-08-23T09:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Passing Environment Variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/passing-environment-variables/m-p/174650#M127780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't know enough about Linux and how to configure the sudo command to solve this 'the right way' so I would be grateful for any pointers to the correct settings.&amp;nbsp; I found on investigation that the reason my environment variables were not being passed was the default&amp;nbsp; env_reset option in the /etc/sudoers file.&amp;nbsp; I am using a clean install of Hardy for this exercise, so I would have imagined that this problem would exist for everyone else following the wiki.&amp;nbsp; The only difference being my use of root in testing the installation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have altered my /etc/sudoers file so that the env_reset option is now !env_reset, and this solves the problem, but probably leaves a bigger security hole than I need.&amp;nbsp;&amp;nbsp; Any guidance on how to solve this correctly will be much appreciated!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2008 09:21:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/passing-environment-variables/m-p/174650#M127780</guid>
      <dc:creator>odomok</dc:creator>
      <dc:date>2008-08-25T09:21:33Z</dc:date>
    </item>
  </channel>
</rss>

