<?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: OpenOffice connection works only when started manually in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/openoffice-connection-works-only-when-started-manually/m-p/233528#M186658</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;UPDATE:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have installed OpenOffice 3.1 from OO website.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The situation is actually the same - it works great when I start it manually as ROOT, and then restart Alfresco / Tomcat.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But it won't start on its own (with the bootstrap file)…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think for now the only alternative for me is to use this approach:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.alfresco.com/en/viewtopic.php?f=9&amp;amp;t=15637" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/en/viewtopic.php?f=9&amp;amp;t=15637&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Oct 2009 07:57:48 GMT</pubDate>
    <dc:creator>mike54</dc:creator>
    <dc:date>2009-10-02T07:57:48Z</dc:date>
    <item>
      <title>OpenOffice connection works only when started manually</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/openoffice-connection-works-only-when-started-manually/m-p/233524#M186654</link>
      <description>Hi!My configuration:Centos 5.3 + Tomcat ALfresco 3.2OpenOffice 2.3When I run this command from terminal:/usr/lib/openoffice.org/program/soffice "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager""-env:Userinstallation=file://var/lib/alfresco/alf_data/oouser" -nologo -headless -no</description>
      <pubDate>Thu, 24 Sep 2009 11:33:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/openoffice-connection-works-only-when-started-manually/m-p/233524#M186654</guid>
      <dc:creator>mike54</dc:creator>
      <dc:date>2009-09-24T11:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: OpenOffice connection works only when started manually</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/openoffice-connection-works-only-when-started-manually/m-p/233525#M186655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ok, I can see that nobody has any suggestions about it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I know that many people have the same problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure, but my guess for now is that "tomcat" user can't start this service for some reason.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I run &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;sudo -u tomcat /usr/lib/&lt;A href="http://openoffice.org/program/soffice" rel="nofollow noopener noreferrer"&gt;openoffice.org/program/soffice&lt;/A&gt; "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager""-env:Userinstallation=file://var/lib/alfresco/alf_data/oouser" -nologo -headless -nofirststartwizard&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;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;I will end up with:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;Xlib: connection to ":1022.0" refused by server&lt;BR /&gt;Xlib: No protocol specified&lt;BR /&gt;&lt;BR /&gt;/usr/lib/&lt;A href="http://openoffice.org/program/soffice.bin" rel="nofollow noopener noreferrer"&gt;openoffice.org/program/soffice.bin&lt;/A&gt; X11 error: Can't open display: &lt;BR /&gt;&amp;nbsp;&amp;nbsp; Set DISPLAY environment variable, use -display option&lt;BR /&gt;&amp;nbsp;&amp;nbsp; or check permissions of your X-Server&lt;BR /&gt;&amp;nbsp;&amp;nbsp; (See "man X" resp. "man xhost" for details)&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;/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;For now I have no idea how to fix this, is it actually only a security problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Maciej&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 12:33:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/openoffice-connection-works-only-when-started-manually/m-p/233525#M186655</guid>
      <dc:creator>mike54</dc:creator>
      <dc:date>2009-10-01T12:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: OpenOffice connection works only when started manually</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/openoffice-connection-works-only-when-started-manually/m-p/233526#M186656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, it's because the DISPLAY environment variable isn't set to point to an X server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This shouldn't be required because the -headless option has been specified to ask the server to run without a display.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I suspect your Open Office version doesn't support the -headless option. Please upgrade to the latest version of OpenOffice.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 12:36:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/openoffice-connection-works-only-when-started-manually/m-p/233526#M186656</guid>
      <dc:creator>dward</dc:creator>
      <dc:date>2009-10-01T12:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: OpenOffice connection works only when started manually</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/openoffice-connection-works-only-when-started-manually/m-p/233527#M186657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi, thank you for your input.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm running OpenOffice 2.3 and I have read that OpenOffice 3.1 has even more problems with the headless option on Centos 5.3?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I will try to do that anyway…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One more thing. When I run soffice.bin directly (instead of soffice) I get this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;[root@alfresco WEB-INF]# sudo -u tomcat /usr/lib/&lt;A href="http://openoffice.org/program/soffice.bin" rel="nofollow noopener noreferrer"&gt;openoffice.org/program/soffice.bin&lt;/A&gt; "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager""-env:Userinstallation=file://var/lib/alfresco/alf_data/oouser" -nologo -headless -nofirststartwizard&lt;BR /&gt;creation of executable memory area failed: Permission denied&lt;BR /&gt;FATAL ERROR, could not mmap a file for executable memory either in home dir or in /tmp&lt;BR /&gt;Cannot continue, perhaps examine your mount options for those directories, or selinux&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;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;When I run it as root - it works fine and Alfresco can display previews of ODT etc.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 13:41:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/openoffice-connection-works-only-when-started-manually/m-p/233527#M186657</guid>
      <dc:creator>mike54</dc:creator>
      <dc:date>2009-10-01T13:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: OpenOffice connection works only when started manually</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/openoffice-connection-works-only-when-started-manually/m-p/233528#M186658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;UPDATE:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have installed OpenOffice 3.1 from OO website.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The situation is actually the same - it works great when I start it manually as ROOT, and then restart Alfresco / Tomcat.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But it won't start on its own (with the bootstrap file)…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think for now the only alternative for me is to use this approach:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.alfresco.com/en/viewtopic.php?f=9&amp;amp;t=15637" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/en/viewtopic.php?f=9&amp;amp;t=15637&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2009 07:57:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/openoffice-connection-works-only-when-started-manually/m-p/233528#M186658</guid>
      <dc:creator>mike54</dc:creator>
      <dc:date>2009-10-02T07:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: OpenOffice connection works only when started manually</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/openoffice-connection-works-only-when-started-manually/m-p/233529#M186659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, I did give up the idea of starting OO by Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To fix the problem I have created shell script and added OO as system service that starts automatically.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It is run under ROOT account with headless option.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sometimes it is important to use "unset DISPLAY" before starting the service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now the connection works perfectly.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2009 09:54:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/openoffice-connection-works-only-when-started-manually/m-p/233529#M186659</guid>
      <dc:creator>mike54</dc:creator>
      <dc:date>2009-10-05T09:54:34Z</dc:date>
    </item>
  </channel>
</rss>

