<?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: [Alfresco 5.2] jodconverter does not work anymore in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-5-2-jodconverter-does-not-work-anymore/m-p/126429#M34412</link>
    <description>&lt;P&gt;Thanks for the answer&lt;/P&gt;&lt;P&gt;versions are matching, I'm using LibreOffice 5.2.&lt;/P&gt;&lt;P&gt;I'm about to update Alfresco from 5 to 7 but it will take time ..&lt;/P&gt;&lt;P&gt;Waiting for the new version, is there a way I can't add another service to transfort doc* to pdf ?&lt;/P&gt;</description>
    <pubDate>Thu, 09 Jun 2022 06:35:30 GMT</pubDate>
    <dc:creator>JC83</dc:creator>
    <dc:date>2022-06-09T06:35:30Z</dc:date>
    <item>
      <title>[Alfresco 5.2] jodconverter does not work anymore</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-5-2-jodconverter-does-not-work-anymore/m-p/126425#M34408</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using (from almost 2 years) Alfresco Enterprise&amp;nbsp;&lt;SPAN&gt;5.2.4 and libreoffice as a jodconverter.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Last end of years, I began to have trouble with jodvonverter but a simple soffice service&amp;nbsp;restart was working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is not the case anymore. I even restarted the server but impossible to have any transformation&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I can't figure out was it this "code = 81" and I can't find how to change the command (after searching it look like --headless option is not that good and should not be use to run process in background)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could someone help me ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks !&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;mai 11, 2022 8:11:26 AM org.artofsolving.jodconverter.office.ProcessPoolOfficeManager &amp;lt;init&amp;gt;
INFOS: ProcessManager implementation is LinuxProcessManager
mai 11, 2022 8:11:26 AM org.artofsolving.jodconverter.office.OfficeProcess start
INFOS: Using original OpenOffice command: [/opt/alfresco-content-services/libreoffice/program/soffice.bin, -accept=socket,host=127.0.0.1,port=8100;urp;, -env:UserInstallation=file:///opt/alfresco-content-services/tomcat/temp/.jodconverter_socket_host-127.0.0.1_port-8100, -headless, -nocrashreport, -nodefault, -nofirststartwizard, -nolockcheck, -nologo, -norestore]
mai 11, 2022 8:11:26 AM org.artofsolving.jodconverter.office.OfficeProcess start
INFOS: starting process with acceptString 'socket,host=127.0.0.1,port=8100,tcpNoDelay=1' and profileDir '/opt/alfresco-content-services/tomcat/temp/.jodconverter_socket_host-127.0.0.1_port-8100'
mai 11, 2022 8:11:26 AM org.artofsolving.jodconverter.office.OfficeProcess start
INFOS: started process; pid = 5553
mai 11, 2022 8:11:27 AM org.artofsolving.jodconverter.office.ManagedOfficeProcess$6 attempt
AVERTISSEMENT: office process died with exit code 81; restarting it&lt;/PRE&gt;</description>
      <pubDate>Tue, 31 May 2022 13:12:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-5-2-jodconverter-does-not-work-anymore/m-p/126425#M34408</guid>
      <dc:creator>JC83</dc:creator>
      <dc:date>2022-05-31T13:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: [Alfresco 5.2] jodconverter does not work anymore</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-5-2-jodconverter-does-not-work-anymore/m-p/126426#M34409</link>
      <description>&lt;P&gt;&lt;FONT color="#000000"&gt;This seems like some known issues based on what i found, you can check here:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;A href="https://github.com/sbraconnier/jodconverter/issues/48" target="_blank" rel="noopener nofollow noreferrer"&gt;https://github.com/sbraconnier/jodconverter/issues/48&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;A href="https://github.com/unoconv/unoconv/issues/192" target="_blank" rel="noopener nofollow noreferrer"&gt;https://github.com/unoconv/unoconv/issues/192&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="text-align: left;"&gt;&lt;FONT color="#000000"&gt;However, Can you share your jodconvertor configs from alfresco-global.properties ? so we can take a look.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="text-align: left;"&gt;&lt;FONT color="#000000"&gt;Within Alfresco, you can transform a document from one format to another. This feature requires you to install LibreOffice or OpenOffice.org. &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="text-align: left;"&gt;&lt;FONT color="#000000"&gt;&lt;U&gt;&lt;STRONG&gt;OOoJODconverter&lt;/STRONG&gt; &lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="text-align: left;"&gt;&lt;FONT color="#000000"&gt;The JODConverter integration, which is a library that improves the stability and performance of OpenOffice.org or LibreOffice within Alfresco. The OOoJODConverter runs on the same machine as the Alfresco server and it supports:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;- a pool of separate OpenOffice processes&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;- automatic restart of crashed OpenOffice processes&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;- automatic termination of slow OpenOffice operations&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;- automatic restart of any OpenOffice process after a number of operations (this is a workaround for OpenOffice memory leaks)&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="text-align: left;"&gt;&lt;FONT color="#000000"&gt;&lt;U&gt;&lt;STRONG&gt;OOoDirect&lt;/STRONG&gt; &lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="text-align: left;"&gt;&lt;FONT color="#000000"&gt;The subsystem for direct OpenOffice integration, in which the Alfresco server manages OpenOffice directly. To enable or disable this subsystem, use the following property:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;ooo.enabled=false/true &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="text-align: left;"&gt;&lt;FONT color="#000000"&gt;By default, the OOoDirect subsystem is enabled, and the OOoJodconverter subsystem is disabled. Although it is possible to run both subsystems, Alfresco recommends that you enable only one at a time. To take advantage of the stability and performance benefits of the OOoJodconverter subsystem, ensure that you disable OOoDirect and enable OOoJodConverter using the following properties in the alfresco-global.properties file:&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="text-align: left;"&gt;&lt;FONT color="#000000"&gt;ooo.enabled=false&lt;BR /&gt;jodconverter.enabled=true&lt;/FONT&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV style="text-align: left;"&gt;
&lt;DIV&gt;&lt;U&gt;&lt;STRONG&gt;Here is an example&lt;/STRONG&gt;&lt;/U&gt;&lt;STRONG&gt;:&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV style="background: #ffffff; border-color: gray; border-image: initial; border-style: solid; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;"&gt;
&lt;PRE style="line-height: 16.25px; margin-bottom: 0px; margin-top: 0px;"&gt;&lt;I&gt;alfresco-pdf-renderer.root=C:/alfresco-community62ga/alfresco-pdf-renderer&lt;BR /&gt;alfresco-pdf-renderer.exe=${alfresco-pdf-renderer.root}/alfresco-pdf-renderer.exe

img.root=C:/alfresco-community62ga/imagemagick
img.dyn=${img.root}/lib
img.exe=${img.root}/convert.exe
img.coders=${img.root}/modules/coders
img.config=${img.root}
img.gslib=${img.root}/lib

&lt;STRONG&gt;ooo.exe=C:/alfresco-community62ga/libreoffice/program/soffice.exe
ooo.enabled=false
ooo.port=8100
jodconverter.enabled=true
jodconverter.officeHome=C:/alfresco-community62ga/libreoffice
jodconverter.portNumbers=8100
&lt;/STRONG&gt;&lt;/I&gt;&lt;/PRE&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 31 May 2022 15:13:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-5-2-jodconverter-does-not-work-anymore/m-p/126426#M34409</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2022-05-31T15:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: [Alfresco 5.2] jodconverter does not work anymore</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-5-2-jodconverter-does-not-work-anymore/m-p/126427#M34410</link>
      <description>&lt;P&gt;Many thanks for the answers&lt;/P&gt;&lt;P&gt;I'm using libreoffice with this configuration :&lt;/P&gt;&lt;PRE&gt;### External executable locations ###
ooo.exe=/opt/alfresco-content-services/libreoffice/program/soffice.bin
ooo.enabled=false
ooo.port=8100
img.root=/opt/alfresco-content-services/common
img.dyn=${img.root}/lib
img.exe=${img.root}/bin/convert
alfresco-pdf-renderer.root=/opt/alfresco-content-services/common/alfresco-pdf-renderer
alfresco-pdf-renderer.exe=${alfresco-pdf-renderer.root}/alfresco-pdf-renderer

jodconverter.enabled=true
jodconverter.officeHome=/opt/alfresco-content-services/libreoffice
jodconverter.portNumbers=8100&lt;/PRE&gt;&lt;P&gt;I already saw the two links, thank you again, but&lt;SPAN&gt;&amp;nbsp;it suggest to update some Java code .. I guess it's alfresco code and I don't know how to do this ..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I also found some detailed thread indicating that the issue is with the "headless" option .. but I did not found how to modify the way Alfresco start jodconverter .. have you any idea ?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2022 06:51:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-5-2-jodconverter-does-not-work-anymore/m-p/126427#M34410</guid>
      <dc:creator>JC83</dc:creator>
      <dc:date>2022-06-01T06:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: [Alfresco 5.2] jodconverter does not work anymore</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-5-2-jodconverter-does-not-work-anymore/m-p/126428#M34411</link>
      <description>&lt;PRE&gt;ooo.enabled=false&lt;/PRE&gt;
&lt;PRE&gt;jodconverter.enabled=true
&lt;/PRE&gt;
&lt;P&gt;Having above properties set, alfresco is able to manage the startup and shutdown of the services itself.&amp;nbsp; I did not get into much details on those links.&lt;/P&gt;
&lt;P&gt;It is almost not practical to change a code as it is still not sure whether it is code issue or environment issue. Can you also check the libreoffice version you are running with ACS5.2:&amp;nbsp;&lt;A href="https://docs.alfresco.com/content-services/5.2/support/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/content-services/5.2/support/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Make sure it is matching.&lt;/P&gt;
&lt;P&gt;Here is repo in case you want to refer, a lot has been changed since 5.2, all transformation related items are also moved to a different service:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/Alfresco/alfresco-community-repo" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/alfresco-community-repo&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/Alfresco/alfresco-transform-core" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/alfresco-transform-core&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 13:51:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-5-2-jodconverter-does-not-work-anymore/m-p/126428#M34411</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2022-06-08T13:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: [Alfresco 5.2] jodconverter does not work anymore</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-5-2-jodconverter-does-not-work-anymore/m-p/126429#M34412</link>
      <description>&lt;P&gt;Thanks for the answer&lt;/P&gt;&lt;P&gt;versions are matching, I'm using LibreOffice 5.2.&lt;/P&gt;&lt;P&gt;I'm about to update Alfresco from 5 to 7 but it will take time ..&lt;/P&gt;&lt;P&gt;Waiting for the new version, is there a way I can't add another service to transfort doc* to pdf ?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 06:35:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-5-2-jodconverter-does-not-work-anymore/m-p/126429#M34412</guid>
      <dc:creator>JC83</dc:creator>
      <dc:date>2022-06-09T06:35:30Z</dc:date>
    </item>
  </channel>
</rss>

