<?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 problem when using custom jod.office.ports  (not jod.office.pipes) in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/problem-when-using-custom-jod-office-ports-not-jod-office-pipes/m-p/316686#M3687</link>
    <description>&lt;P&gt;environnement :
linux Ubuntu 14.04.2 LTS  with LibreOffice 4.2.7.2 420m0(Build:2)
nuxeo 5.8 HF30
java 1.8 u40&lt;/P&gt;
&lt;P&gt;usecase 1 : multiple instance of soffice with one nuxeo instance
usecase 2 : multiple instance of nuxeo with different instance of soffice&lt;/P&gt;
&lt;P&gt;usecase 1/a (fails):
jod.connection.protocol=SOCKET
jod.office.ports=2003,2004&lt;/P&gt;
&lt;P&gt;the 2 soffice.bin are launched wit nuxeo start
but when a convert has to occured, i got an exception :
[org.nuxeo.ecm.platform.convert.plugins.JODBasedConverter] org.nuxeo.ecm.core.convert.api.ConverterN
otAvailable: Converter any2pdf is not available&lt;/P&gt;
&lt;P&gt;when the 2004 instance is killed, it doesnt respawn
when the 2003 instance is killed it does respawn&lt;/P&gt;
&lt;P&gt;when stopping nuxeo, it takes anormal time, and after timeout, the 2 soffice process are still running (preventing to start soffice on next nuxeo start if not killed)&lt;/P&gt;
&lt;P&gt;usecase 1b (works) :
jod.connection.protocol=PIPE
jod.office.pipes=office1,office2
jod.jpipe.lib.path=/usr/lib/ure/lib&lt;/P&gt;
&lt;P&gt;the 2 soffice.bin are launched wit nuxeo start
i can kill either soffice, they immediatly respawn
when nuxeo is stopped, the 2 soffice are correctly stopped without waiting a timeout&lt;/P&gt;
&lt;P&gt;usecase 2a (fails):
nuxeo1 (convert work):
jod.connection.protocol=SOCKET
jod.office.ports=2003 (2003 is the default)
nuxeo2 (convert failed)
jod.connection.protocol=SOCKET
jod.office.ports=2004&lt;/P&gt;
&lt;P&gt;the soffice attached to nuxeo1 (on port 2003) does respawn if killed and convert works on nuxeo1
the other doesnt respawn and convert doesnt work on nuxeo2&lt;/P&gt;
&lt;P&gt;usecase 2b (works):
nuxeo1 :
jod.connection.protocol=PIPE
jod.office.pipes=office1
jod.jpipe.lib.path=/usr/lib/ure/lib
nuxeo2
jod.connection.protocol=PIPE
jod.office.pipes=office2
jod.jpipe.lib.path=/usr/lib/ure/lib&lt;/P&gt;
&lt;P&gt;usecase 2c:(works also if using Socket default port)
jod.connection.protocol=SOCKET
jod.office.ports=2003
nuxeo2
jod.connection.protocol=PIPE
jod.office.pipes=office
jod.jpipe.lib.path=/usr/lib/ure/lib&lt;/P&gt;
&lt;P&gt;(2003 is the default socket port)
if I replace or add another port then it does not work anymore...&lt;/P&gt;
&lt;P&gt;My conclusion is that there is a problem when using custom values for jod.office.ports
The problem occurs after starting when it has to find soffice instance (convert or nuxeo stop)&lt;/P&gt;
&lt;P&gt;the problem doesnt seem to appear on windows (windows server 2008 + libreoffice 4.3+java8)&lt;/P&gt;
&lt;P&gt;how to test : kill soffice process, if it doesnt respawn, then there is a problem&lt;/P&gt;
&lt;P&gt;important : jod.jpipe.lib.path is mandatory for PIPE mode&lt;/P&gt;</description>
    <pubDate>Sat, 28 Mar 2015 01:19:49 GMT</pubDate>
    <dc:creator>TNelson_</dc:creator>
    <dc:date>2015-03-28T01:19:49Z</dc:date>
    <item>
      <title>problem when using custom jod.office.ports  (not jod.office.pipes)</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problem-when-using-custom-jod-office-ports-not-jod-office-pipes/m-p/316686#M3687</link>
      <description>&lt;P&gt;environnement :
linux Ubuntu 14.04.2 LTS  with LibreOffice 4.2.7.2 420m0(Build:2)
nuxeo 5.8 HF30
java 1.8 u40&lt;/P&gt;
&lt;P&gt;usecase 1 : multiple instance of soffice with one nuxeo instance
usecase 2 : multiple instance of nuxeo with different instance of soffice&lt;/P&gt;
&lt;P&gt;usecase 1/a (fails):
jod.connection.protocol=SOCKET
jod.office.ports=2003,2004&lt;/P&gt;
&lt;P&gt;the 2 soffice.bin are launched wit nuxeo start
but when a convert has to occured, i got an exception :
[org.nuxeo.ecm.platform.convert.plugins.JODBasedConverter] org.nuxeo.ecm.core.convert.api.ConverterN
otAvailable: Converter any2pdf is not available&lt;/P&gt;
&lt;P&gt;when the 2004 instance is killed, it doesnt respawn
when the 2003 instance is killed it does respawn&lt;/P&gt;
&lt;P&gt;when stopping nuxeo, it takes anormal time, and after timeout, the 2 soffice process are still running (preventing to start soffice on next nuxeo start if not killed)&lt;/P&gt;
&lt;P&gt;usecase 1b (works) :
jod.connection.protocol=PIPE
jod.office.pipes=office1,office2
jod.jpipe.lib.path=/usr/lib/ure/lib&lt;/P&gt;
&lt;P&gt;the 2 soffice.bin are launched wit nuxeo start
i can kill either soffice, they immediatly respawn
when nuxeo is stopped, the 2 soffice are correctly stopped without waiting a timeout&lt;/P&gt;
&lt;P&gt;usecase 2a (fails):
nuxeo1 (convert work):
jod.connection.protocol=SOCKET
jod.office.ports=2003 (2003 is the default)
nuxeo2 (convert failed)
jod.connection.protocol=SOCKET
jod.office.ports=2004&lt;/P&gt;
&lt;P&gt;the soffice attached to nuxeo1 (on port 2003) does respawn if killed and convert works on nuxeo1
the other doesnt respawn and convert doesnt work on nuxeo2&lt;/P&gt;
&lt;P&gt;usecase 2b (works):
nuxeo1 :
jod.connection.protocol=PIPE
jod.office.pipes=office1
jod.jpipe.lib.path=/usr/lib/ure/lib
nuxeo2
jod.connection.protocol=PIPE
jod.office.pipes=office2
jod.jpipe.lib.path=/usr/lib/ure/lib&lt;/P&gt;
&lt;P&gt;usecase 2c:(works also if using Socket default port)
jod.connection.protocol=SOCKET
jod.office.ports=2003
nuxeo2
jod.connection.protocol=PIPE
jod.office.pipes=office
jod.jpipe.lib.path=/usr/lib/ure/lib&lt;/P&gt;
&lt;P&gt;(2003 is the default socket port)
if I replace or add another port then it does not work anymore...&lt;/P&gt;
&lt;P&gt;My conclusion is that there is a problem when using custom values for jod.office.ports
The problem occurs after starting when it has to find soffice instance (convert or nuxeo stop)&lt;/P&gt;
&lt;P&gt;the problem doesnt seem to appear on windows (windows server 2008 + libreoffice 4.3+java8)&lt;/P&gt;
&lt;P&gt;how to test : kill soffice process, if it doesnt respawn, then there is a problem&lt;/P&gt;
&lt;P&gt;important : jod.jpipe.lib.path is mandatory for PIPE mode&lt;/P&gt;</description>
      <pubDate>Sat, 28 Mar 2015 01:19:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problem-when-using-custom-jod-office-ports-not-jod-office-pipes/m-p/316686#M3687</guid>
      <dc:creator>TNelson_</dc:creator>
      <dc:date>2015-03-28T01:19:49Z</dc:date>
    </item>
  </channel>
</rss>

