<?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 OpenOffice connection lost periodically in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/openoffice-connection-lost-periodically/m-p/248482#M201612</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does anyone else find that periodically, the OpenOffice connection is lost?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;16:39:00,009 ERROR [org.alfresco.util.OpenOfficeConnectionTester] The OpenOffice connection has been lost.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have changed tomcat/shared/classes/alfresco-global.properties to include ooo.enabled=true, and the ooo.exe path there is correct, but still I find that randomly, OpenOffice will just stop running, and while Alfresco notices this, it doesn't do anything about it. And then everyone's document uploads fail to produce thumbnails.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As a kludgy fix, I'm using a once-every-five-minutes cron job (*/5 * * * * /path/to/cronjob), which I'll share below in case it's useful to anyone, but does anyone have a more elegant solution? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm running 3.4.d on CentOS 5.5, x64, with the bundled OpenOffice.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;#!/bin/sh&lt;BR /&gt;&lt;BR /&gt;running=`ps aux | grep "/opt/alfresco-3.4.d/openoffice/program/soffice.bi[n]" | wc -l`&lt;BR /&gt;&lt;BR /&gt;if [ $running != 0 ];&lt;BR /&gt;then&lt;BR /&gt;/usr/bin/logger&amp;nbsp; "OpenOffice running at $(date +'%F %H:%M')"&lt;BR /&gt;else&lt;BR /&gt;/usr/bin/logger&amp;nbsp; "OpenOffice restarted at $(date +'%F %H:%M')"&lt;BR /&gt;/opt/alfresco-3.4.d/openoffice/scripts/openoffice_ctl.sh&lt;BR /&gt;fi&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;/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;(Obviously, change /opt/alfresco-3.4.d to the correct path for your system. The [n] prevents the grep statement from matching itself. )&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Apr 2011 21:49:37 GMT</pubDate>
    <dc:creator>nadaoneal</dc:creator>
    <dc:date>2011-04-01T21:49:37Z</dc:date>
    <item>
      <title>OpenOffice connection lost periodically</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/openoffice-connection-lost-periodically/m-p/248482#M201612</link>
      <description>Does anyone else find that periodically, the OpenOffice connection is lost?16:39:00,009 ERROR [org.alfresco.util.OpenOfficeConnectionTester] The OpenOffice connection has been lost.I have changed tomcat/shared/classes/alfresco-global.properties to include ooo.enabled=true, and the ooo.exe path there</description>
      <pubDate>Fri, 01 Apr 2011 21:49:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/openoffice-connection-lost-periodically/m-p/248482#M201612</guid>
      <dc:creator>nadaoneal</dc:creator>
      <dc:date>2011-04-01T21:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: OpenOffice connection lost periodically</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/openoffice-connection-lost-periodically/m-p/248483#M201613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've just started seeing this too.&amp;nbsp; I was planning to use your script as a work-around, but found that the "/opt/alfresco-3.4.d/openoffice/scripts/openoffice_ctl.sh" script will actually only start openoffice if an instance isn't running, so instead I'm going to run the following directly in cron:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;/opt/alfresco-3.4.d/openoffice/scripts/openoffice_ctl.sh start&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2011 13:37:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/openoffice-connection-lost-periodically/m-p/248483#M201613</guid>
      <dc:creator>ekimnosneb</dc:creator>
      <dc:date>2011-04-20T13:37:52Z</dc:date>
    </item>
  </channel>
</rss>

