<?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: Can't run 'ant demo.start' in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/can-t-run-ant-demo-start/m-p/17418#M7854</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;It's a pity that Activity is so memory-consuming.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I can run Activiti in a 512 MB virtual linux box where there is only 384MB available for Tomcat. Runs without a problem here. So I do not think that Activiti is memory consuming. The error occurs when the setup tries to startup firefox and it is not an out of memory, but a 'cannot allocate memory'. I'd suggest *not* running al this as root since an OS might have deliberate limitations on that account.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Feb 2011 00:05:00 GMT</pubDate>
    <dc:creator>ronald_van_kuij</dc:creator>
    <dc:date>2011-02-07T00:05:00Z</dc:date>
    <item>
      <title>Can't run 'ant demo.start'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-t-run-ant-demo-start/m-p/17413#M7849</link>
      <description>Hello,I'm using this guide (http://forums.activiti.org/en/viewtopic.php?f=6&amp;amp;t=458&amp;amp;start=30) to install the latest Activiti on Ubuntu 10.10. I successfully went through the steps, but when I issue the commandant demo.start‍orsudo ant demo.start‍I get the below error, and thus sites http://dom</description>
      <pubDate>Sun, 06 Feb 2011 19:25:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-t-run-ant-demo-start/m-p/17413#M7849</guid>
      <dc:creator>opensourcelover</dc:creator>
      <dc:date>2011-02-06T19:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Can't run 'ant demo.start'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-t-run-ant-demo-start/m-p/17414#M7850</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;Can you check who's the owner of the ${distro home}/apps/apache-tomcat-…/. It should be the same as the user that is trying to start the demo. If not, you should grant permissions or change owner for this folder. Maybe this is cause by running the setup the first time using sudo?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Feb 2011 19:47:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-t-run-ant-demo-start/m-p/17414#M7850</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-02-06T19:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Can't run 'ant demo.start'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-t-run-ant-demo-start/m-p/17415#M7851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Can you check who's the owner of the ${distro home}/apps/apache-tomcat-…/. It should be the same as the user that is trying to start the demo. If not, you should grant permissions or change owner for this folder. Maybe this is cause by running the setup the first time using sudo?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your reply. Everything inside /root/activiti directory is setup for user root and group root, which is the user I'm using to start the demo. I've tried to run this first a couple of times without sudo, but the log is the same.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Feb 2011 20:21:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-t-run-ant-demo-start/m-p/17415#M7851</guid>
      <dc:creator>opensourcelover</dc:creator>
      <dc:date>2011-02-06T20:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Can't run 'ant demo.start'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-t-run-ant-demo-start/m-p/17416#M7852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is the startup.sh and shutdown.sh executable? If now chmod it &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Feb 2011 20:58:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-t-run-ant-demo-start/m-p/17416#M7852</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-02-06T20:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Can't run 'ant demo.start'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-t-run-ant-demo-start/m-p/17417#M7853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is the startup.sh and shutdown.sh executable? If now chmod it &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;OK, I've done that. Now I get this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;# ant demo.start&lt;BR /&gt;Buildfile: /root/activiti-5.2/setup/build.xml&lt;BR /&gt;&lt;BR /&gt;demo.install:&lt;BR /&gt;&lt;BR /&gt;internal.classpath.libs:&lt;BR /&gt;&lt;BR /&gt;internal.taskdef.launch:&lt;BR /&gt;&lt;BR /&gt;h2.start:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; [launch] launching cmd '/root/activiti-5.2/apps/h2/h2.start.sh ' in dir '/root/activiti-5.2/apps/h2'&lt;BR /&gt;&amp;nbsp;&amp;nbsp; [launch] waiting for launch completion msg 'TCP server running on'…&lt;BR /&gt;&amp;nbsp;&amp;nbsp; [launch] Exception in thread "Thread-0" couldn't launch /root/activiti-5.2/apps/h2/h2.start.sh &lt;BR /&gt;&amp;nbsp;&amp;nbsp; [launch]&amp;nbsp; at org.activiti.engine.impl.ant.LaunchThread.run(LaunchThread.java:94)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; [launch] Caused by: java.io.IOException: Cannot run program "/root/activiti-5.2/apps/h2/h2.start.sh" (in directory "/root/activiti-5.2/apps/h2"): java.io.IOException: error=12, Cannot allocate memory&lt;BR /&gt;&amp;nbsp;&amp;nbsp; [launch]&amp;nbsp; at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; [launch]&amp;nbsp; at org.activiti.engine.impl.ant.LaunchThread.run(LaunchThread.java:77)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; [launch] Caused by: java.io.IOException: java.io.IOException: error=12, Cannot allocate memory&lt;BR /&gt;&amp;nbsp;&amp;nbsp; [launch]&amp;nbsp; at java.lang.UNIXProcess.&amp;lt;init&amp;gt;(UNIXProcess.java:148)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; [launch]&amp;nbsp; at java.lang.ProcessImpl.start(ProcessImpl.java:65)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; [launch]&amp;nbsp; at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; [launch]&amp;nbsp; … 1 more&lt;BR /&gt;&lt;BR /&gt;tomcat.start:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; [launch] launching cmd '/root/activiti-5.2/apps/apache-tomcat-6.0.29/bin/startup.sh ' in dir '/root/activiti-5.2/apps/apache-tomcat-6.0.29/bin'&lt;BR /&gt;&amp;nbsp;&amp;nbsp; [launch] waiting for launch completion msg 'Using CLASSPATH:'…&lt;BR /&gt;&amp;nbsp;&amp;nbsp; [launch] Exception in thread "Thread-1" couldn't launch /root/activiti-5.2/apps/apache-tomcat-6.0.29/bin/startup.sh &lt;BR /&gt;&amp;nbsp;&amp;nbsp; [launch]&amp;nbsp; at org.activiti.engine.impl.ant.LaunchThread.run(LaunchThread.java:94)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; [launch] Caused by: java.io.IOException: Cannot run program "/root/activiti-5.2/apps/apache-tomcat-6.0.29/bin/startup.sh" (in directory "/root/activiti-5.2/apps/apache-tomcat-6.0.29/bin"): java.io.IOException: error=12, Cannot allocate memory&lt;BR /&gt;&amp;nbsp;&amp;nbsp; [launch]&amp;nbsp; at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; [launch]&amp;nbsp; at org.activiti.engine.impl.ant.LaunchThread.run(LaunchThread.java:77)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; [launch] Caused by: java.io.IOException: java.io.IOException: error=12, Cannot allocate memory&lt;BR /&gt;&amp;nbsp;&amp;nbsp; [launch]&amp;nbsp; at java.lang.UNIXProcess.&amp;lt;init&amp;gt;(UNIXProcess.java:148)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; [launch]&amp;nbsp; at java.lang.ProcessImpl.start(ProcessImpl.java:65)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; [launch]&amp;nbsp; at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; [launch]&amp;nbsp; … 1 more&lt;BR /&gt;&lt;BR /&gt;explorer.browser.open:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [exec] Execute failed: java.io.IOException: Cannot run program "firefox": java.io.IOException: error=12, Cannot allocate memory&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [exec] Execute failed: java.io.IOException: Cannot run program "firefox": java.io.IOException: error=12, Cannot allocate memory&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [exec] Execute failed: java.io.IOException: Cannot run program "firefox": java.io.IOException: error=12, Cannot allocate memory&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [exec] Execute failed: java.io.IOException: Cannot run program "firefox": java.io.IOException: error=12, Cannot allocate memory&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [exec] Execute failed: java.io.IOException: Cannot run program "firefox": java.io.IOException: error=12, Cannot allocate memory&lt;BR /&gt;&lt;BR /&gt;demo.start:&lt;BR /&gt;&lt;BR /&gt;BUILD SUCCESSFUL&lt;BR /&gt;Total time: 6 seconds&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks as if there's no enough RAM on my VPS &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt; I have 4GB of RAM, but only about 1GB used, so perhaps JAVA needs more than 3GB in my case. Thanks for your help anyway. It's a pity that Activity is so memory-consuming.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Feb 2011 21:25:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-t-run-ant-demo-start/m-p/17417#M7853</guid>
      <dc:creator>opensourcelover</dc:creator>
      <dc:date>2011-02-06T21:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Can't run 'ant demo.start'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-t-run-ant-demo-start/m-p/17418#M7854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;It's a pity that Activity is so memory-consuming.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I can run Activiti in a 512 MB virtual linux box where there is only 384MB available for Tomcat. Runs without a problem here. So I do not think that Activiti is memory consuming. The error occurs when the setup tries to startup firefox and it is not an out of memory, but a 'cannot allocate memory'. I'd suggest *not* running al this as root since an OS might have deliberate limitations on that account.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Feb 2011 00:05:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-t-run-ant-demo-start/m-p/17418#M7854</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-02-07T00:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Can't run 'ant demo.start'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-t-run-ant-demo-start/m-p/17419#M7855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ronald is right,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Activiti doesn't require a lot of memory at all, looks like root-account doesn't allow allocating that much memory. Try lowering the -Xms and -Xmx values in the catalina.sh. These are set when demo-setup is installed to have a smoother feel to the demo. or just don't run as root as Ronald suggests &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Feb 2011 07:31:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-t-run-ant-demo-start/m-p/17419#M7855</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-02-07T07:31:07Z</dc:date>
    </item>
  </channel>
</rss>

