<?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 not listening 8100 on boot, kills transformations in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/openoffice-not-listening-8100-on-boot-kills-transformations/m-p/18717#M8576</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry to answer my own question here.&amp;nbsp; I got it to work after a whole day of testing and want to share my results.&amp;nbsp; I think that headless openoffice needs to be able to find a user's folder to run correctly.&amp;nbsp; Starting it explicitly as a user using `su - aUser -c` allows it to do so.&amp;nbsp; Pure supposition on my part, but it's working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If your openoffice won't listen on 8100 after a reboot, try modifying start_oo.sh as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#!/bin/sh&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# —————————————————————————&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Start script for the OpenOffice transform service&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# —————————————————————————&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;export DISPLAY=:1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;echo "Starting Xvfb…"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;`/usr/X11R6/bin/Xvfb -fp /usr/X11R6/lib/X11/fonts/misc :1 -screen 0 800x600x16 -fbdir /usr/src` &amp;amp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;echo "Starting OpenOffice service…"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cd /opt/openoffice.org2.0/program&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;su - root -c "/opt/openoffice.org2.0/program/soffice \"-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager -norestore -invisible -headless -display :1\" &amp;amp;"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Mar 2006 17:45:23 GMT</pubDate>
    <dc:creator>hikenboots</dc:creator>
    <dc:date>2006-03-21T17:45:23Z</dc:date>
    <item>
      <title>OpenOffice not listening 8100 on boot, kills transformations</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/openoffice-not-listening-8100-on-boot-kills-transformations/m-p/18716#M8575</link>
      <description>(This is an issue with openoffice, not alfresco, I'm just hoping someone who is using openoffice has seen this before.&amp;nbsp; I'm out of ideas.)The problem is that when the server starts, openoffice is not listening on port 8100 so transformations fail.&amp;nbsp; A simple manual shutdown and restart of Alfresco (t</description>
      <pubDate>Tue, 21 Mar 2006 16:06:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/openoffice-not-listening-8100-on-boot-kills-transformations/m-p/18716#M8575</guid>
      <dc:creator>hikenboots</dc:creator>
      <dc:date>2006-03-21T16:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: OpenOffice not listening 8100 on boot, kills transformations</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/openoffice-not-listening-8100-on-boot-kills-transformations/m-p/18717#M8576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry to answer my own question here.&amp;nbsp; I got it to work after a whole day of testing and want to share my results.&amp;nbsp; I think that headless openoffice needs to be able to find a user's folder to run correctly.&amp;nbsp; Starting it explicitly as a user using `su - aUser -c` allows it to do so.&amp;nbsp; Pure supposition on my part, but it's working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If your openoffice won't listen on 8100 after a reboot, try modifying start_oo.sh as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#!/bin/sh&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# —————————————————————————&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Start script for the OpenOffice transform service&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# —————————————————————————&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;export DISPLAY=:1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;echo "Starting Xvfb…"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;`/usr/X11R6/bin/Xvfb -fp /usr/X11R6/lib/X11/fonts/misc :1 -screen 0 800x600x16 -fbdir /usr/src` &amp;amp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;echo "Starting OpenOffice service…"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cd /opt/openoffice.org2.0/program&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;su - root -c "/opt/openoffice.org2.0/program/soffice \"-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager -norestore -invisible -headless -display :1\" &amp;amp;"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2006 17:45:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/openoffice-not-listening-8100-on-boot-kills-transformations/m-p/18717#M8576</guid>
      <dc:creator>hikenboots</dc:creator>
      <dc:date>2006-03-21T17:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: OpenOffice not listening 8100 on boot, kills transformations</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/openoffice-not-listening-8100-on-boot-kills-transformations/m-p/18718#M8577</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;SPAN&gt;i try your code but i have an error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SRV-PROJETS:/usr/local/alfresco# ./start_oo.sh&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Starting Xvfb…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Starting OpenOffice service…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SRV-PROJETS:/usr/local/alfresco# I18N: Operating system doesn't support locale "en_US"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/opt/openoffice.org2.0/program/soffice.bin X11 error: Can't open display:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Set DISPLAY environment variable, use -display option&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; or check permissions of your X-Server&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; (See "man X" resp. "man xhost" for details)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2006 08:52:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/openoffice-not-listening-8100-on-boot-kills-transformations/m-p/18718#M8577</guid>
      <dc:creator>abichet</dc:creator>
      <dc:date>2006-03-22T08:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: OpenOffice not listening 8100 on boot, kills transformations</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/openoffice-not-listening-8100-on-boot-kills-transformations/m-p/18719#M8578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Arnaud,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Two questions: Are you installing OpenOffice on a linux box where the only installed GUI is Xvfb?&amp;nbsp; (I've never tried it on a machine where anything other than Xvfb installed.)&amp;nbsp; Also, if so, were you able to get OpenOffice registered and successfully running transformations as per &lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/viewtopic.php?t=1036&amp;amp;highlight=xvfb" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/viewtopic.php?t=1036&amp;amp;highlight=xvfb&lt;/A&gt;&lt;SPAN&gt; first?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;hi&lt;BR /&gt;i try your code but i have an error:&lt;BR /&gt;&lt;BR /&gt;SRV-PROJETS:/usr/local/alfresco# ./start_oo.sh&lt;BR /&gt;Starting Xvfb…&lt;BR /&gt;Starting OpenOffice service…&lt;BR /&gt;SRV-PROJETS:/usr/local/alfresco# I18N: Operating system doesn't support locale "en_US"&lt;BR /&gt;/opt/openoffice.org2.0/program/soffice.bin 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;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2006 14:04:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/openoffice-not-listening-8100-on-boot-kills-transformations/m-p/18719#M8578</guid>
      <dc:creator>hikenboots</dc:creator>
      <dc:date>2006-03-22T14:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: OpenOffice not listening 8100 on boot, kills transformations</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/openoffice-not-listening-8100-on-boot-kills-transformations/m-p/18720#M8579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I experienced the same on SunOS 5.9 using Xvfb - after some investigation I found, that the problem was caused by a X server reset after the the last client session has disconnected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;OO seems to connect multiple times - but only one session is kept open. After the first session disconnects there are no more sessions open and the X server performs a reset that causes the next connection attempt to fail.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A possible workaround is to start a small X application (xclock,…) first after the X server has started. This will keep at least one connection open and OO will not comlain any longer. Do not forget to set the right display number (either via -display :&amp;lt;n&amp;gt; oder the DISPLAY env) for the X application you are using.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2006 22:29:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/openoffice-not-listening-8100-on-boot-kills-transformations/m-p/18720#M8579</guid>
      <dc:creator>fajo</dc:creator>
      <dc:date>2006-05-18T22:29:42Z</dc:date>
    </item>
  </channel>
</rss>

