il est ou? hein! le youki ??? :)

  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:3fa19a1e04319d9587d6ba08ee5a5998' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\"><html>\n<head>\n<style><!--\n.hmmessage P\n{\nmargin:0px;\npadding:0px\n}\nbody.hmmessage\n{\nfont-size: 10pt;\nfont-family:Verdana\n}\n--></style>\n</head>\n<body class=\'hmmessage\'>\nDésolé, j\'ai oublié de vous dire pour les taches ant. Oui, j\'ai bien effectué le ant init-build-workflow et init-workflow et all-workflow.<br></div>', created = 1507748764, expire = 1507835164, headers = '', serialized = 0 WHERE cid = '4:3fa19a1e04319d9587d6ba08ee5a5998' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:3fa19a1e04319d9587d6ba08ee5a5998' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\"><html>\n<head>\n<style><!--\n.hmmessage P\n{\nmargin:0px;\npadding:0px\n}\nbody.hmmessage\n{\nfont-size: 10pt;\nfont-family:Verdana\n}\n--></style>\n</head>\n<body class=\'hmmessage\'>\nDésolé, j\'ai oublié de vous dire pour les taches ant. Oui, j\'ai bien effectué le ant init-build-workflow et init-workflow et all-workflow.<br></div>', created = 1507748764, expire = 1507835164, headers = '', serialized = 0 WHERE cid = '4:3fa19a1e04319d9587d6ba08ee5a5998' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:3ab50142a812c77a35aa6a8094ea8eb7' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\"><!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n<html>\n<head>\n <meta content=\"text/html;charset=ISO-8859-1\" http-equiv=\"Content-Type\">\n</head>\n<body bgcolor=\"#ffffff\" text=\"#000000\">\nBonjour,<br>\n<br>\nVoil&agrave;, j\'ai r&eacute;ussi. J\'en profite donc pour expliquer les manipulations.<br>\nSur une debian :<br>\n<br>\n<p class=\"MsoNoSpacing\"><span style=\"\" lang=\"EN-US\">- apt-get install\nopenoffice.org </span><span style=\"\" lang=\"EN-US\">poppler-utils</span></p>\n<span style=\"\" lang=\"EN-US\"><o:p></o:p></span>\n<p class=\"MsoNoSpacing\"><span style=\"\" lang=\"EN-US\">-\n/usr/lib/openoffice/program/unopkg\nadd nxSkipInstallWizard.oxt<o:p></o:p></span></p>\n- <span style=\"\" lang=\"EN-US\">/usr/lib/openoffice/program/unopkg add\nnxOOoAutoListen.oxt<o:p></o:p></span>\n<p class=\"MsoNoSpacing\"><span style=\"\" lang=\"EN-US\"><o:p>- </o:p>apt-get\ninstall ghostscript<o:p></o:p></span></p>\n<p class=\"MsoNoSpacing\"><span style=\"\" lang=\"EN-US\"><o:p></o:p></span><span\n style=\"font-size: 11pt; line-height: 115%; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;;\"\n lang=\"EN-US\">Modification de\nusr\\ori\\esup-ecm\\nuxeo-dm-5.3.1-jboss\\server\\default\\deploy\\nuxeo.ear\\config\\ooo-config.xml\nen mettant &agrave; \"false\" ces 2 variables : enableDaemon et autoStart</span><br>\n</p>\n- <span style=\"\" lang=\"EN-US\"><o:p></o:p></span><span style=\"\"\n lang=\"EN-US\">find / -name pdftohtml &#8211;print ( permet de savoir ou est\ninstall&eacute; pdftohtml )<o:p></o:p></span>\n<p class=\"MsoNoSpacing\"><span style=\"\" lang=\"EN-US\"><o:p>- </o:p></span><span\n style=\"font-size: 11pt; line-height: 115%; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;;\">cr&eacute;&eacute;\nle fichier pdf2html-config.xml dans\nesup-ecm/nuxeo-dm-5.3.1-jboss/server/default/deploy/nuxeo.ear/config et\ny ajouter :<br>\n</span></p>\n<p class=\"MsoNoSpacing\"><span\n style=\"font-size: 11pt; line-height: 115%; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;;\">&lt;?xml\nversion=\"1.0\"?&gt;<br>\n&lt;component name=\"com.myproject.pdftohtml.config\"&gt;<br>\n<br>\n&nbsp; &lt;extension\ntarget=\"org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent\"<br>\n&nbsp;&nbsp;&nbsp; point=\"command\"&gt;<br>\n<br>\n&nbsp;&nbsp;&nbsp; &lt;command name=\"pdftohtml\" enabled=\"true\"&gt;<br>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;commandLine&gt;/usr/bin/pdftohtml&lt;/commandLine&gt;<br>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameterString&gt; -c -noframes #{inFilePath}\n#{outDirPath}/index.html&lt;/parameterString&gt;<br>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;installationDirective&gt;You need to install\npdftohtml&lt;/installationDirective&gt;<br>\n&nbsp;&nbsp;&nbsp; &lt;/command&gt;<br>\n<br>\n&nbsp; &lt;/extension&gt;<br>\n<br>\n&lt;/component&gt; <br>\n</span></p>\n<br>\nPuis :<br>\n-&nbsp; /usr/lib/openoffice/nxOOo/nxopenoffice start<br>\n- /usr/ori/esup-ecm/nuxeo-dm-5.3.1-jboss/bin/jbossctl start<br>\n<br>\n<br>\n<br>\n<br>\nCordialement.<br>\n<br>\n<br>\n<br>\n<br>\nfran&ccedil;ois lefebvre a &eacute;crit&nbsp;:\n<div class=\"emailFilter_Toggle\"><div class=\"emailFilter_Author_0\"><blockquote>\n <meta content=\"text/html;charset=ISO-8859-1\" http-equiv=\"Content-Type\">\nAlors j\'ai un peu avanc&eacute; :<br>\n <br>\nJ\'ai mis dans le fichier oo-config.xml les variables : enableDaemon et\nautoStart &agrave; false.<br>\n <br>\nJ\'ai donc lanc&eacute; manuellement le service OO listener et ensuite nuxeo.<br>\n <br>\nJ\'ai donc l\'ic&ocirc;ne PDF. Par contre, toujours le soucis de : Assurez-vous\nque l\'application OpenOffice est install&eacute;e et &eacute;coute sur le port 8100\ndu serveur Nuxeo EP<br>\n <br>\n <br>\nDans les logs de nuxeo :<br>\n <br>\n <font color=\"#666666\">INFO&nbsp; [SocketOpenOfficeConnection] connected<br>\nERROR [JODBasedConverter] An error occured trying to convert a file to\nfrom text/html to application/pdf: conversion failed: could not load\ninput document<br>\n <br>\n <br>\n <font color=\"#000000\">Voil&agrave; ou j\'en suis.</font><br>\n </font><br>\n <br>\n <br>\n <br>\n <br>\nkaren raynal a &eacute;crit&nbsp;:\n <div class=\"emailFilter_Author_1\"><blockquote>Je\nne comprends pas pourquoi il renvoie ces options s\'il a &eacute;t&eacute; d&eacute;marr&eacute;\ncomme indiqu&eacute; plus bas ?... <br>\nChez moi j\'ai bien : <br>\nps aux | grep office <br>\njboss&nbsp;&nbsp;&nbsp;&nbsp; 8317&nbsp; 0.0&nbsp; 2.6 766836 215788 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sl&nbsp;&nbsp; Jun04&nbsp;&nbsp; 0:15\n/opt/openoffice.org3/program/soffice.bin -headless -nofirststartwizard\n-accept=socket,host=localhost,port=8100;urp;StarOffice.Service <br>\nIl faudrait essayer d\'arr&ecirc;ter ce process et le relancer comme indiqu&eacute;. <br>\n <br>\n <div class=\"emailFilter_Author_2\"><blockquote type=\"cite\">La commande : ps aux | grep openoffice\nrenvoi\n: <br>\n/usr/lib/openoffice/program/soffice.bin\n-env:UserInstallation=<a moz-do-not-send=\"true\"\n class=\"moz-txt-link-freetext\" href=\"file:///tmp/nxoosrv0\">file:///tmp/nxoosrv0</a>\n-headless -norestore\n-invisible -nofirststartwizard -accept=pipe,name=daemon-instance-0;urp;\n-splash-pipe=5 <br>\n <br>\nL\'ic&ocirc;ne PDF est bien affich&eacute;e, mais en cliquant dessus, il m\'affiche : <br>\n <br>\nAssurez-vous que l\'application OpenOffice est install&eacute;e et &eacute;coute sur\nle port 8100 du serveur Nuxeo EP. Pour lancer OpenOffice en mode\nserveur, utilisez une des commandes suivantes: <br>\n <br>\n/path/to/openoffice/program/soffice.bin -headless -nofirststartwizard\n-accept=\"socket,host=localhost,port=8100;urp;StarOffice.Service\" <br>\n <br>\nOr le service tourne.... <br>\n <br>\n <br>\n <br>\n <br>\n <br>\n <br>\n <br>\nfran&ccedil;ois lefebvre a &eacute;crit : <br>\n <div class=\"emailFilter_Author_3\"><blockquote type=\"cite\">Bonjour, <br>\n <br>\nSous ma debian, voici les manip que j\'ai fait : <br>\n <br>\n- apt-get install openoffice.org <br>\n <br>\n- /usr/lib/openoffice/program/unopkg add\n/home/orioai/src/esup-ecm-svn/nxOOo/patch/nxSkipInstallWizard.oxt <br>\n <br>\n- /usr/lib/openoffice/program/unopkg add\n/home/orioai/src/esup-ecm-svn/nxOOo/patch/nxOOoAutoListen.oxt <br>\n <br>\n- apt-get install ghostscript poppler-utils <br>\n <br>\n&nbsp; <br>\n <br>\nConfig de :\nusr\\ori\\esup-ecm\\nuxeo-dm-5.3.1-jboss\\server\\default\\deploy\\nuxeo.ear\\config\\ooo-config.xml\nde cette mani&egrave;re&nbsp; : <br>\n <br>\n&lt;?xml version=\"1.0\"?&gt; <br>\n&lt;component\nname=\"org.nuxeo.ecm.platform.convert.oooDaemon.config.default\"&gt; <br>\n <br>\n&nbsp; &lt;extension\ntarget=\"org.nuxeo.ecm.platform.convert.oooserver.OOoDaemonManagerComponent\"\n <br>\n&nbsp;&nbsp;&nbsp; point=\"oooServerConfig\"&gt; <br>\n <br>\n&nbsp; &lt;OOoServer&gt; <br>\n&nbsp;&nbsp;&nbsp; &lt;!-- enable Nuxeo Daemon to manage OOo server instances :\ndefault is true --&gt; <br>\n&nbsp;&nbsp;&nbsp; &lt;enableDaemon&gt;true&lt;/enableDaemon&gt; <br>\n&nbsp;&nbsp;&nbsp; &lt;!-- define OOo server listen IP : used even if daemon is\ndisabled --&gt; <br>\n&nbsp;&nbsp;&nbsp; &lt;oooListenIP&gt;127.0.0.1&lt;/oooListenIP&gt; <br>\n&nbsp;&nbsp;&nbsp; &lt;!-- define OOo server listen port : used even if daemon is\ndisabled --&gt; <br>\n&nbsp;&nbsp;&nbsp; &lt;oooListenPort&gt;8100&lt;/oooListenPort&gt; <br>\n&nbsp;&nbsp;&nbsp; &lt;!-- define Daemon listen port : used only if daemon is enabled\n--&gt; <br>\n&nbsp;&nbsp;&nbsp; &lt;oooDaemonListenPort&gt;8101&lt;/oooDaemonListenPort&gt; <br>\n&nbsp;&nbsp;&nbsp; &lt;!-- define number of OOo worker process : used only if daemon\nis enabled --&gt; <br>\n&nbsp;&nbsp;&nbsp; &lt;oooWorkers&gt;1&lt;/oooWorkers&gt; <br>\n&nbsp;&nbsp;&nbsp; &lt;!-- define maximum wait time in second before timeout --&gt; <br>\n&nbsp;&nbsp;&nbsp; &lt;oooServerStartTimeout&gt;60&lt;/oooServerStartTimeout&gt; <br>\n <br>\n&nbsp;&nbsp;&nbsp; &lt;!-- define OOo installation path : used only if daemon is\nenabled --&gt; <br>\n&nbsp;&nbsp;&nbsp; &lt;!-- if not defined Nuxeo will try to find the path\nautomatically --&gt; <br>\n&nbsp;&nbsp;&nbsp;\n&lt;oooInstallationPath&gt;/usr/lib/openoffice/program&lt;/oooInstallationPath&gt;\n <br>\n <br>\n&nbsp;&nbsp;&nbsp; &lt;!-- define jpipe library path : used only for OOo 3 --&gt; <br>\n&nbsp;&nbsp;&nbsp; &lt;jpipeLibPath&gt; /usr/lib/ure/lib&lt;/jpipeLibPath&gt; <br>\n <br>\n <br>\n&nbsp;&nbsp;&nbsp; &lt;!-- define number of time a worker process can be used before\nbeing recycled: used only if daemon is enabled --&gt; <br>\n&nbsp;&nbsp;&nbsp;\n&lt;oooWorkersRecycleInterval&gt;10&lt;/oooWorkersRecycleInterval&gt; <br>\n <br>\n&nbsp;&nbsp;&nbsp; &lt;!-- define is Daemon is started at server startup : used only\nif daemon is enabled --&gt; <br>\n&nbsp;&nbsp;&nbsp; &lt;autoStart&gt;false&lt;/autoStart&gt; <br>\n <br>\n&nbsp; &lt;/OOoServer&gt; <br>\n <br>\n&nbsp; &lt;/extension&gt; <br>\n <br>\n&lt;/component&gt; <br>\n <br>\n&nbsp;- find / -name pdftohtml --print ( pour savoir ou se trouve pdftohtml\n) <br>\n <br>\n- j\'ai ensuite cr&eacute;&eacute; le fichier pdf2html-config.xml avec ceci dedans : <br>\n <br>\n&lt;?xml version=\"1.0\"?&gt; <br>\n&lt;component name=\"com.myproject.pdftohtml.config\"&gt; <br>\n <br>\n&nbsp; &lt;extension\ntarget=\"org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent\"\n <br>\n&nbsp;&nbsp;&nbsp; point=\"command\"&gt; <br>\n <br>\n&nbsp;&nbsp;&nbsp; &lt;command name=\"pdftohtml\" enabled=\"true\"&gt; <br>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;commandLine&gt;/usr/bin/pdftohtml&lt;/commandLine&gt; <br>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameterString&gt; -c -noframes #{inFilePath}\n#{outDirPath}/index.html&lt;/parameterString&gt; <br>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;installationDirective&gt;You need to install\npdftohtml&lt;/installationDirective&gt; <br>\n&nbsp;&nbsp;&nbsp; &lt;/command&gt; <br>\n <br>\n&nbsp; &lt;/extension&gt; <br>\n <br>\n&lt;/component&gt; <br>\n <br>\n <br>\nEt ensuite, j\'ai tout lanc&eacute; : <br>\n <br>\n- /usr/lib/openoffice/program/soffice.bin -headless\n--nofirststartwizard\n-accept=\"socket,host=localhost,port=8100;urp;StarOffice.Service\" <br>\n- /usr/ori/esup-ecm/nuxeo-dm-5.3.1-jboss/bin/jbossctl start <br>\n <br>\n <br>\nJ\'ai eu la chance de voir apparaitre l\'ic&ocirc;ne PDF, mais avec un message\nme demandant de v&eacute;rifier que le serveur OO &eacute;coutait bien. <br>\nApr&egrave;s quelques modifications, je n\'ai plus l\'ic&ocirc;ne :/ <br>\n <br>\n <br>\nMerci pour votre aide. <br>\n <br>\n <br>\n <br>\n <br>\nkaren raynal a &eacute;crit : <br>\n <div class=\"emailFilter_Author_4\"><blockquote type=\"cite\">Bonjour, <br>\n <br>\n <div class=\"emailFilter_Author_5\"><blockquote type=\"cite\">Bonjour Karen, merci pour le lien. <br>\n <br>\nJe l\'ai donc suivi du mieux que je peux. <br>\n <br>\nMon soucis a pr&eacute;sent est : <br>\n <br>\n13:03:18,812 ERROR [OOoDaemonManagerComponent] OOo Daemon thread\nexisted <br>\njava.lang.UnsatisfiedLinkError:\ncom.sun.star.lib.connections.pipe.PipeConnection.createJNI(Ljava/lang/String;)I\n <br>\n <br>\nSachant que j\'ai utilis&eacute; OO3, il faut configurer la variable\njpipelibpath, mais le r&eacute;pertoire /usr/lib/openoffice/ure/lib/ est vide.\n <br>\n </blockquote></div>\n <br>\nc\'est &eacute;tonnant ... <br>\nComment as-tu install&eacute; OpenOffice ? Est-il d&eacute;marr&eacute; (avec le m&ecirc;me user\nque celui sous lequel tourne le serveur jboss)? <br>\n <br>\nVoici pas &agrave; pas l\'install qu\'on a fait ici (et qui fonctionne) sur une\nRedHat. <br>\n <br>\nwget\n <a moz-do-not-send=\"true\" class=\"moz-txt-link-freetext\"\n href=\"http://download.services.openoffice.org/files/stable/3.2.0/OOo_3.2.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz\">http://download.services.openoffice.org/files/stable/3.2.0/OOo_3.2.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz</a>\n <br>\ntar -zxvf OOo_3.2.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz <br>\ncd OOO320_m12_native_packed-1_en-US.9483/ <br>\n./setup <br>\ncd RPMS/ <br>\nmv *integration*.rpm desktop-integration/ <br>\nmv jre-6u18-linux-amd64.rpm ../ <br>\nrpm -ivh *.rpm <br>\nwget\n <a moz-do-not-send=\"true\" class=\"moz-txt-link-freetext\"\n href=\"http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxOOoAutoListen.oxt\">http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxOOoAutoListen.oxt</a>\n <br>\nwget\n <a moz-do-not-send=\"true\" class=\"moz-txt-link-freetext\"\n href=\"http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxSkipInstallWizard.oxt\">http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxSkipInstallWizard.oxt</a>\n <br>\n/opt/openoffice.org3/program/unopkg add nxSkipInstallWizard.oxt <br>\n/opt/openoffice.org3/program/unopkg add nxOOoAutoListen.oxt <br>\nd&eacute;marrage d\'openoffice (attention &agrave; demarrer openoffice avec le m&ecirc;me\nuser que celui qui fait tourner le serveur jboss) <br>\n <br>\n/opt/openoffice.org3/program/soffice.bin -headless -nofirststartwizard\n-accept=\"socket,host=localhost,port=8100;urp;StarOffice.Service\" <br>\n+ configuration du fichier ooo-config.xml comme expliqu&eacute; dans la FAQ de\nNuxeo. <br>\n <br>\n <br>\n <br>\n </blockquote></div>\n <br>\n--&nbsp;<br>\nCordialement. <br>\n <br>\n <br>\nFran&ccedil;ois Lefebvre <br>\nBiblioth&egrave;que Universitaire de Lille 1 <br>\nCit&eacute; Scientifique - B.P. 30155 <br>\n59653 VILLENEUVE D\'ASCQ CEDEX <br>\nT&eacute;l.: 03.20.33.60.73 <br>\n </blockquote></div>\n <br>\n </blockquote></div>\n <br>\n <br>\n </blockquote></div>\n <br>\n <pre class=\"moz-signature\" cols=\"72\">-- \nCordialement.\n\n\nFran&ccedil;ois Lefebvre\nBiblioth&egrave;que Universitaire de Lille 1\nCit&eacute; Scientifique - B.P. 30155\n59653 VILLENEUVE D\'ASCQ CEDEX\nT&eacute;l.: 03.20.33.60.73</pre>\n</blockquote></div></div>\n<br>\n<pre class=\"moz-signature\" cols=\"72\">-- \nCordialement.\n\n\nFran&ccedil;ois Lefebvre\nBiblioth&egrave;que Universitaire de Lille 1\nCit&eacute; Scientifique - B.P. 30155\n59653 VILLENEUVE D\'ASCQ CEDEX\nT&eacute;l.: 03.20.33.60.73</pre>\n</body>\n</html>\n</div>', created = 1507748768, expire = 1507835168, headers = '', serialized = 0 WHERE cid = '4:3ab50142a812c77a35aa6a8094ea8eb7' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:30a62d35bab8f4fb0b53389d8c8a9a0a' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\"><!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n<html>\n<head>\n <meta content=\"text/html;charset=ISO-8859-1\" http-equiv=\"Content-Type\">\n</head>\n<body bgcolor=\"#ffffff\" text=\"#000000\">\nAlors j\'ai un peu avanc&eacute; :<br>\n<br>\nJ\'ai mis dans le fichier oo-config.xml les variables : enableDaemon et\nautoStart &agrave; false.<br>\n<br>\nJ\'ai donc lanc&eacute; manuellement le service OO listener et ensuite nuxeo.<br>\n<br>\nJ\'ai donc l\'ic&ocirc;ne PDF. Par contre, toujours le soucis de : Assurez-vous\nque l\'application OpenOffice est install&eacute;e et &eacute;coute sur le port 8100\ndu serveur Nuxeo EP<br>\n<br>\n<br>\nDans les logs de nuxeo :<br>\n<br>\n<font color=\"#666666\">INFO&nbsp; [SocketOpenOfficeConnection] connected<br>\nERROR [JODBasedConverter] An error occured trying to convert a file to\nfrom text/html to application/pdf: conversion failed: could not load\ninput document<br>\n<br>\n<br>\n<font color=\"#000000\">Voil&agrave; ou j\'en suis.</font><br>\n</font><br>\n<br>\n<br>\n<br>\n<br>\nkaren raynal a &eacute;crit&nbsp;:\n<div class=\"emailFilter_Toggle\"><div class=\"emailFilter_Author_0\"><blockquote>Je\nne comprends pas pourquoi il renvoie ces options s\'il a &eacute;t&eacute; d&eacute;marr&eacute;\ncomme indiqu&eacute; plus bas ?...\n <br>\nChez moi j\'ai bien :\n <br>\nps aux | grep office\n <br>\njboss&nbsp;&nbsp;&nbsp;&nbsp; 8317&nbsp; 0.0&nbsp; 2.6 766836 215788 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sl&nbsp;&nbsp; Jun04&nbsp;&nbsp; 0:15\n/opt/openoffice.org3/program/soffice.bin -headless -nofirststartwizard\n-accept=socket,host=localhost,port=8100;urp;StarOffice.Service\n <br>\nIl faudrait essayer d\'arr&ecirc;ter ce process et le relancer comme indiqu&eacute;.\n <br>\n <br>\n <div class=\"emailFilter_Author_1\"><blockquote type=\"cite\">La commande : ps aux | grep openoffice renvoi\n:\n <br>\n/usr/lib/openoffice/program/soffice.bin\n-env:UserInstallation=<a class=\"moz-txt-link-freetext\" href=\"file:///tmp/nxoosrv0\">file:///tmp/nxoosrv0</a> -headless -norestore\n-invisible -nofirststartwizard -accept=pipe,name=daemon-instance-0;urp;\n-splash-pipe=5\n <br>\n <br>\nL\'ic&ocirc;ne PDF est bien affich&eacute;e, mais en cliquant dessus, il m\'affiche :\n <br>\n <br>\nAssurez-vous que l\'application OpenOffice est install&eacute;e et &eacute;coute sur\nle port 8100 du serveur Nuxeo EP. Pour lancer OpenOffice en mode\nserveur, utilisez une des commandes suivantes:\n <br>\n <br>\n/path/to/openoffice/program/soffice.bin -headless -nofirststartwizard\n-accept=\"socket,host=localhost,port=8100;urp;StarOffice.Service\"\n <br>\n <br>\nOr le service tourne....\n <br>\n <br>\n <br>\n <br>\n <br>\n <br>\n <br>\n <br>\nfran&ccedil;ois lefebvre a &eacute;crit :\n <br>\n <div class=\"emailFilter_Author_2\"><blockquote type=\"cite\">Bonjour,\n <br>\n <br>\nSous ma debian, voici les manip que j\'ai fait :\n <br>\n <br>\n- apt-get install openoffice.org\n <br>\n <br>\n- /usr/lib/openoffice/program/unopkg add\n/home/orioai/src/esup-ecm-svn/nxOOo/patch/nxSkipInstallWizard.oxt\n <br>\n <br>\n- /usr/lib/openoffice/program/unopkg add\n/home/orioai/src/esup-ecm-svn/nxOOo/patch/nxOOoAutoListen.oxt\n <br>\n <br>\n- apt-get install ghostscript poppler-utils\n <br>\n <br>\n&nbsp;\n <br>\n <br>\nConfig de :\nusr\\ori\\esup-ecm\\nuxeo-dm-5.3.1-jboss\\server\\default\\deploy\\nuxeo.ear\\config\\ooo-config.xml\nde cette mani&egrave;re&nbsp; :\n <br>\n <br>\n&lt;?xml version=\"1.0\"?&gt;\n <br>\n&lt;component\nname=\"org.nuxeo.ecm.platform.convert.oooDaemon.config.default\"&gt;\n <br>\n <br>\n&nbsp; &lt;extension\ntarget=\"org.nuxeo.ecm.platform.convert.oooserver.OOoDaemonManagerComponent\"\n <br>\n&nbsp;&nbsp;&nbsp; point=\"oooServerConfig\"&gt;\n <br>\n <br>\n&nbsp; &lt;OOoServer&gt;\n <br>\n&nbsp;&nbsp;&nbsp; &lt;!-- enable Nuxeo Daemon to manage OOo server instances :\ndefault is true --&gt;\n <br>\n&nbsp;&nbsp;&nbsp; &lt;enableDaemon&gt;true&lt;/enableDaemon&gt;\n <br>\n&nbsp;&nbsp;&nbsp; &lt;!-- define OOo server listen IP : used even if daemon is\ndisabled --&gt;\n <br>\n&nbsp;&nbsp;&nbsp; &lt;oooListenIP&gt;127.0.0.1&lt;/oooListenIP&gt;\n <br>\n&nbsp;&nbsp;&nbsp; &lt;!-- define OOo server listen port : used even if daemon is\ndisabled --&gt;\n <br>\n&nbsp;&nbsp;&nbsp; &lt;oooListenPort&gt;8100&lt;/oooListenPort&gt;\n <br>\n&nbsp;&nbsp;&nbsp; &lt;!-- define Daemon listen port : used only if daemon is enabled\n--&gt;\n <br>\n&nbsp;&nbsp;&nbsp; &lt;oooDaemonListenPort&gt;8101&lt;/oooDaemonListenPort&gt;\n <br>\n&nbsp;&nbsp;&nbsp; &lt;!-- define number of OOo worker process : used only if daemon\nis enabled --&gt;\n <br>\n&nbsp;&nbsp;&nbsp; &lt;oooWorkers&gt;1&lt;/oooWorkers&gt;\n <br>\n&nbsp;&nbsp;&nbsp; &lt;!-- define maximum wait time in second before timeout --&gt;\n <br>\n&nbsp;&nbsp;&nbsp; &lt;oooServerStartTimeout&gt;60&lt;/oooServerStartTimeout&gt;\n <br>\n <br>\n&nbsp;&nbsp;&nbsp; &lt;!-- define OOo installation path : used only if daemon is\nenabled --&gt;\n <br>\n&nbsp;&nbsp;&nbsp; &lt;!-- if not defined Nuxeo will try to find the path\nautomatically --&gt;\n <br>\n&nbsp;&nbsp;&nbsp;\n&lt;oooInstallationPath&gt;/usr/lib/openoffice/program&lt;/oooInstallationPath&gt;\n <br>\n <br>\n&nbsp;&nbsp;&nbsp; &lt;!-- define jpipe library path : used only for OOo 3 --&gt;\n <br>\n&nbsp;&nbsp;&nbsp; &lt;jpipeLibPath&gt; /usr/lib/ure/lib&lt;/jpipeLibPath&gt;\n <br>\n <br>\n <br>\n&nbsp;&nbsp;&nbsp; &lt;!-- define number of time a worker process can be used before\nbeing recycled: used only if daemon is enabled --&gt;\n <br>\n&nbsp;&nbsp;&nbsp;\n&lt;oooWorkersRecycleInterval&gt;10&lt;/oooWorkersRecycleInterval&gt;\n <br>\n <br>\n&nbsp;&nbsp;&nbsp; &lt;!-- define is Daemon is started at server startup : used only\nif daemon is enabled --&gt;\n <br>\n&nbsp;&nbsp;&nbsp; &lt;autoStart&gt;false&lt;/autoStart&gt;\n <br>\n <br>\n&nbsp; &lt;/OOoServer&gt;\n <br>\n <br>\n&nbsp; &lt;/extension&gt;\n <br>\n <br>\n&lt;/component&gt;\n <br>\n <br>\n&nbsp;- find / -name pdftohtml --print ( pour savoir ou se trouve pdftohtml\n)\n <br>\n <br>\n- j\'ai ensuite cr&eacute;&eacute; le fichier pdf2html-config.xml avec ceci dedans :\n <br>\n <br>\n&lt;?xml version=\"1.0\"?&gt;\n <br>\n&lt;component name=\"com.myproject.pdftohtml.config\"&gt;\n <br>\n <br>\n&nbsp; &lt;extension\ntarget=\"org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent\"\n <br>\n&nbsp;&nbsp;&nbsp; point=\"command\"&gt;\n <br>\n <br>\n&nbsp;&nbsp;&nbsp; &lt;command name=\"pdftohtml\" enabled=\"true\"&gt;\n <br>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;commandLine&gt;/usr/bin/pdftohtml&lt;/commandLine&gt;\n <br>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameterString&gt; -c -noframes #{inFilePath}\n#{outDirPath}/index.html&lt;/parameterString&gt;\n <br>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;installationDirective&gt;You need to install\npdftohtml&lt;/installationDirective&gt;\n <br>\n&nbsp;&nbsp;&nbsp; &lt;/command&gt;\n <br>\n <br>\n&nbsp; &lt;/extension&gt;\n <br>\n <br>\n&lt;/component&gt;\n <br>\n <br>\n <br>\nEt ensuite, j\'ai tout lanc&eacute; :\n <br>\n <br>\n- /usr/lib/openoffice/program/soffice.bin -headless\n--nofirststartwizard\n-accept=\"socket,host=localhost,port=8100;urp;StarOffice.Service\"\n <br>\n- /usr/ori/esup-ecm/nuxeo-dm-5.3.1-jboss/bin/jbossctl start\n <br>\n <br>\n <br>\nJ\'ai eu la chance de voir apparaitre l\'ic&ocirc;ne PDF, mais avec un message\nme demandant de v&eacute;rifier que le serveur OO &eacute;coutait bien.\n <br>\nApr&egrave;s quelques modifications, je n\'ai plus l\'ic&ocirc;ne :/\n <br>\n <br>\n <br>\nMerci pour votre aide.\n <br>\n <br>\n <br>\n <br>\n <br>\nkaren raynal a &eacute;crit :\n <br>\n <div class=\"emailFilter_Author_3\"><blockquote type=\"cite\">Bonjour,\n <br>\n <br>\n <div class=\"emailFilter_Author_4\"><blockquote type=\"cite\">Bonjour Karen, merci pour le lien.\n <br>\n <br>\nJe l\'ai donc suivi du mieux que je peux.\n <br>\n <br>\nMon soucis a pr&eacute;sent est :\n <br>\n <br>\n13:03:18,812 ERROR [OOoDaemonManagerComponent] OOo Daemon thread\nexisted\n <br>\njava.lang.UnsatisfiedLinkError:\ncom.sun.star.lib.connections.pipe.PipeConnection.createJNI(Ljava/lang/String;)I\n <br>\n <br>\nSachant que j\'ai utilis&eacute; OO3, il faut configurer la variable\njpipelibpath, mais le r&eacute;pertoire /usr/lib/openoffice/ure/lib/ est vide.\n <br>\n </blockquote></div>\n <br>\nc\'est &eacute;tonnant ...\n <br>\nComment as-tu install&eacute; OpenOffice ? Est-il d&eacute;marr&eacute; (avec le m&ecirc;me user\nque celui sous lequel tourne le serveur jboss)?\n <br>\n <br>\nVoici pas &agrave; pas l\'install qu\'on a fait ici (et qui fonctionne) sur une\nRedHat.\n <br>\n <br>\nwget\n<a class=\"moz-txt-link-freetext\" href=\"http://download.services.openoffice.org/files/stable/3.2.0/OOo_3.2.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz\">http://download.services.openoffice.org/files/stable/3.2.0/OOo_3.2.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz</a>\n <br>\ntar -zxvf OOo_3.2.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz\n <br>\ncd OOO320_m12_native_packed-1_en-US.9483/\n <br>\n./setup\n <br>\ncd RPMS/\n <br>\nmv *integration*.rpm desktop-integration/\n <br>\nmv jre-6u18-linux-amd64.rpm ../\n <br>\nrpm -ivh *.rpm\n <br>\nwget\n<a class=\"moz-txt-link-freetext\" href=\"http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxOOoAutoListen.oxt\">http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxOOoAutoListen.oxt</a>\n <br>\nwget\n<a class=\"moz-txt-link-freetext\" href=\"http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxSkipInstallWizard.oxt\">http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxSkipInstallWizard.oxt</a>\n <br>\n/opt/openoffice.org3/program/unopkg add nxSkipInstallWizard.oxt\n <br>\n/opt/openoffice.org3/program/unopkg add nxOOoAutoListen.oxt\n <br>\nd&eacute;marrage d\'openoffice (attention &agrave; demarrer openoffice avec le m&ecirc;me\nuser que celui qui fait tourner le serveur jboss)\n <br>\n <br>\n/opt/openoffice.org3/program/soffice.bin -headless -nofirststartwizard\n-accept=\"socket,host=localhost,port=8100;urp;StarOffice.Service\"\n <br>\n+ configuration du fichier ooo-config.xml comme expliqu&eacute; dans la FAQ de\nNuxeo.\n <br>\n <br>\n <br>\n <br>\n </blockquote></div>\n <br>\n--&nbsp;<br>\nCordialement.\n <br>\n <br>\n <br>\nFran&ccedil;ois Lefebvre\n <br>\nBiblioth&egrave;que Universitaire de Lille 1\n <br>\nCit&eacute; Scientifique - B.P. 30155\n <br>\n59653 VILLENEUVE D\'ASCQ CEDEX\n <br>\nT&eacute;l.: 03.20.33.60.73\n <br>\n </blockquote></div>\n <br>\n </blockquote></div>\n <br>\n <br>\n</blockquote></div></div>\n<br>\n<pre class=\"moz-signature\" cols=\"72\">-- \nCordialement.\n\n\nFran&ccedil;ois Lefebvre\nBiblioth&egrave;que Universitaire de Lille 1\nCit&eacute; Scientifique - B.P. 30155\n59653 VILLENEUVE D\'ASCQ CEDEX\nT&eacute;l.: 03.20.33.60.73</pre>\n</body>\n</html>\n</div>', created = 1507748770, expire = 1507835170, headers = '', serialized = 0 WHERE cid = '4:30a62d35bab8f4fb0b53389d8c8a9a0a' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:bd533efa8732fa6663b20bd0bed3d8e2' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\"><!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n<html>\n<head>\n <meta content=\"text/html;charset=ISO-8859-1\" http-equiv=\"Content-Type\">\n</head>\n<body bgcolor=\"#ffffff\" text=\"#000000\">\nBonjour,<br>\n<br>\nSous ma debian, voici les manip que j\'ai fait :<br>\n<br>\n<p class=\"MsoNoSpacing\"><span style=\"\" lang=\"EN-US\">- apt-get install\nopenoffice.org</span></p>\n<p class=\"MsoNoSpacing\"><span style=\"\" lang=\"EN-US\">-\n/usr/lib/openoffice/program/unopkg\nadd /home/orioai/src/esup-ecm-svn/nxOOo/patch/nxSkipInstallWizard.oxt</span><span\n style=\"\" lang=\"EN-US\"><br>\n</span></p>\n<p class=\"MsoNoSpacing\"><span style=\"\" lang=\"EN-US\">- </span><span\n style=\"\" lang=\"EN-US\">/usr/lib/openoffice/program/unopkg add\n/home/orioai/src/esup-ecm-svn/nxOOo/patch/nxOOoAutoListen.oxt</span></p>\n<span style=\"\" lang=\"EN-US\"></span>\n<p class=\"MsoNoSpacing\"><span style=\"\" lang=\"EN-US\">- apt-get install\nghostscript </span><span style=\"\" lang=\"EN-US\">poppler-utils</span></p>\n<p class=\"MsoNoSpacing\"><span style=\"\" lang=\"EN-US\"><o:p>&nbsp;</o:p></span></p>\n<p class=\"MsoNoSpacing\"><span style=\"\" lang=\"EN-US\">Config de :\nusr\\ori\\esup-ecm\\nuxeo-dm-5.3.1-jboss\\server\\default\\deploy\\nuxeo.ear\\config\\ooo-config.xml\nde cette mani&egrave;re&nbsp; :<br>\n<o:p></o:p></span></p>\n<p class=\"MsoNoSpacing\"><span style=\"\" lang=\"EN-US\"></span><span\n style=\"\" lang=\"EN-US\"><font color=\"#666666\">&lt;?xml version=\"1.0\"?&gt;<br>\n&lt;component\nname=\"org.nuxeo.ecm.platform.convert.oooDaemon.config.default\"&gt;<br>\n<br>\n&nbsp; &lt;extension\ntarget=\"org.nuxeo.ecm.platform.convert.oooserver.OOoDaemonManagerComponent\"<br>\n&nbsp;&nbsp;&nbsp; point=\"oooServerConfig\"&gt;<br>\n<br>\n&nbsp; &lt;OOoServer&gt;<br>\n&nbsp;&nbsp;&nbsp; &lt;!-- enable Nuxeo Daemon to manage OOo server instances :\ndefault is true --&gt;<br>\n&nbsp;&nbsp;&nbsp; &lt;enableDaemon&gt;true&lt;/enableDaemon&gt;<br>\n&nbsp;&nbsp;&nbsp; &lt;!-- define OOo server listen IP : used even if daemon is\ndisabled --&gt;<br>\n&nbsp;&nbsp;&nbsp; &lt;oooListenIP&gt;127.0.0.1&lt;/oooListenIP&gt;<br>\n&nbsp;&nbsp;&nbsp; &lt;!-- define OOo server listen port : used even if daemon is\ndisabled --&gt;<br>\n&nbsp;&nbsp;&nbsp; &lt;oooListenPort&gt;8100&lt;/oooListenPort&gt;<br>\n&nbsp;&nbsp;&nbsp; &lt;!-- define Daemon listen port : used only if daemon is enabled\n--&gt;<br>\n&nbsp;&nbsp;&nbsp; &lt;oooDaemonListenPort&gt;8101&lt;/oooDaemonListenPort&gt;<br>\n&nbsp;&nbsp;&nbsp; &lt;!-- define number of OOo worker process : used only if daemon\nis enabled --&gt;<br>\n&nbsp;&nbsp;&nbsp; &lt;oooWorkers&gt;1&lt;/oooWorkers&gt;<br>\n&nbsp;&nbsp;&nbsp; &lt;!-- define maximum wait time in second before timeout --&gt;<br>\n&nbsp;&nbsp;&nbsp; &lt;oooServerStartTimeout&gt;60&lt;/oooServerStartTimeout&gt;<br>\n<br>\n&nbsp;&nbsp;&nbsp; &lt;!-- define OOo installation path : used only if daemon is\nenabled --&gt;<br>\n&nbsp;&nbsp;&nbsp; &lt;!-- if not defined Nuxeo will try to find the path\nautomatically --&gt;<br>\n&nbsp;&nbsp;&nbsp;\n&lt;oooInstallationPath&gt;/usr/lib/openoffice/program&lt;/oooInstallationPath&gt;<br>\n<br>\n&nbsp;&nbsp;&nbsp; &lt;!-- define jpipe library path : used only for OOo 3 --&gt;<br>\n&nbsp;&nbsp;&nbsp; &lt;jpipeLibPath&gt; /usr/lib/ure/lib&lt;/jpipeLibPath&gt;<br>\n<br>\n<br>\n&nbsp;&nbsp;&nbsp; &lt;!-- define number of time a worker process can be used before\nbeing recycled: used only if daemon is enabled --&gt;<br>\n&nbsp;&nbsp;&nbsp;\n&lt;oooWorkersRecycleInterval&gt;10&lt;/oooWorkersRecycleInterval&gt;<br>\n<br>\n&nbsp;&nbsp;&nbsp; &lt;!-- define is Daemon is started at server startup : used only\nif daemon is enabled --&gt;<br>\n&nbsp;&nbsp;&nbsp; &lt;autoStart&gt;false&lt;/autoStart&gt;<br>\n<br>\n&nbsp; &lt;/OOoServer&gt;<br>\n<br>\n&nbsp; &lt;/extension&gt;<br>\n<br>\n&lt;/component&gt;</font><br>\n<br>\n</span></p>\n<p class=\"MsoNoSpacing\"><span style=\"\" lang=\"EN-US\">&nbsp;- find / -name\npdftohtml &#8211;print ( pour savoir ou se trouve pdftohtml )<br>\n</span></p>\n<p class=\"MsoNoSpacing\">- j\'ai ensuite cr&eacute;&eacute; le fichier\npdf2html-config.xml avec ceci dedans :<br>\n</p>\n<p class=\"MsoNoSpacing\"><font color=\"#666666\">&lt;?xml\nversion=\"1.0\"?&gt;<br>\n&lt;component name=\"com.myproject.pdftohtml.config\"&gt;<br>\n<br>\n&nbsp; &lt;extension\ntarget=\"org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent\"<br>\n&nbsp;&nbsp;&nbsp; point=\"command\"&gt;<br>\n<br>\n&nbsp;&nbsp;&nbsp; &lt;command name=\"pdftohtml\" enabled=\"true\"&gt;<br>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;commandLine&gt;/usr/bin/pdftohtml&lt;/commandLine&gt;<br>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameterString&gt; -c -noframes #{inFilePath}\n#{outDirPath}/index.html&lt;/parameterString&gt;<br>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;installationDirective&gt;You need to install\npdftohtml&lt;/installationDirective&gt;<br>\n&nbsp;&nbsp;&nbsp; &lt;/command&gt;<br>\n<br>\n&nbsp; &lt;/extension&gt;<br>\n<br>\n&lt;/component&gt;</font> <br>\n<span style=\"\" lang=\"EN-US\"><o:p></o:p></span></p>\n<br>\nEt ensuite, j\'ai tout lanc&eacute; :<br>\n<br>\n<span style=\"\" lang=\"EN-US\"><o:p>- </o:p></span><span style=\"\"\n lang=\"EN-US\">/usr/lib/openoffice/program/soffice.bin\n-headless &#8211;nofirststartwizard\n-accept=\"socket,host=localhost,port=8100;urp;StarOffice.Service\"<br>\n- /usr/ori/esup-ecm/nuxeo-dm-5.3.1-jboss/bin/jbossctl start<br>\n<br>\n<br>\nJ\'ai eu la chance de voir apparaitre l\'ic&ocirc;ne PDF, mais avec un message\nme demandant de v&eacute;rifier que le serveur OO &eacute;coutait bien.<br>\nApr&egrave;s quelques modifications, je n\'ai plus l\'ic&ocirc;ne :/<br>\n</span><br>\n<br>\nMerci pour votre aide.<br>\n<br>\n<br>\n<br>\n<br>\nkaren raynal a &eacute;crit&nbsp;:\n<div class=\"emailFilter_Toggle\"><div class=\"emailFilter_Author_0\"><blockquote>Bonjour,\n <br>\n <br>\n <div class=\"emailFilter_Author_1\"><blockquote type=\"cite\">Bonjour Karen, merci pour le lien.\n <br>\n <br>\nJe l\'ai donc suivi du mieux que je peux.\n <br>\n <br>\nMon soucis a pr&eacute;sent est :\n <br>\n <br>\n13:03:18,812 ERROR [OOoDaemonManagerComponent] OOo Daemon thread\nexisted\n <br>\njava.lang.UnsatisfiedLinkError:\ncom.sun.star.lib.connections.pipe.PipeConnection.createJNI(Ljava/lang/String;)I\n <br>\n <br>\nSachant que j\'ai utilis&eacute; OO3, il faut configurer la variable\njpipelibpath, mais le r&eacute;pertoire /usr/lib/openoffice/ure/lib/ est vide.\n <br>\n </blockquote></div>\n <br>\nc\'est &eacute;tonnant ...\n <br>\nComment as-tu install&eacute; OpenOffice ? Est-il d&eacute;marr&eacute; (avec le m&ecirc;me user\nque celui sous lequel tourne le serveur jboss)?\n <br>\n <br>\nVoici pas &agrave; pas l\'install qu\'on a fait ici (et qui fonctionne) sur une\nRedHat.\n <br>\n <br>\nwget\n<a class=\"moz-txt-link-freetext\" href=\"http://download.services.openoffice.org/files/stable/3.2.0/OOo_3.2.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz\">http://download.services.openoffice.org/files/stable/3.2.0/OOo_3.2.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz</a>\n <br>\ntar -zxvf OOo_3.2.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz\n <br>\ncd OOO320_m12_native_packed-1_en-US.9483/\n <br>\n./setup\n <br>\ncd RPMS/\n <br>\nmv *integration*.rpm desktop-integration/\n <br>\nmv jre-6u18-linux-amd64.rpm ../\n <br>\nrpm -ivh *.rpm\n <br>\nwget\n<a class=\"moz-txt-link-freetext\" href=\"http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxOOoAutoListen.oxt\">http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxOOoAutoListen.oxt</a>\n <br>\nwget\n<a class=\"moz-txt-link-freetext\" href=\"http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxSkipInstallWizard.oxt\">http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxSkipInstallWizard.oxt</a>\n <br>\n/opt/openoffice.org3/program/unopkg add nxSkipInstallWizard.oxt\n <br>\n/opt/openoffice.org3/program/unopkg add nxOOoAutoListen.oxt\n <br>\nd&eacute;marrage d\'openoffice (attention &agrave; demarrer openoffice avec le m&ecirc;me\nuser que celui qui fait tourner le serveur jboss)\n <br>\n <br>\n/opt/openoffice.org3/program/soffice.bin -headless -nofirststartwizard\n-accept=\"socket,host=localhost,port=8100;urp;StarOffice.Service\"\n <br>\n+ configuration du fichier ooo-config.xml comme expliqu&eacute; dans la FAQ de\nNuxeo.\n <br>\n <br>\n <br>\n <br>\n</blockquote></div></div>\n<br>\n<pre class=\"moz-signature\" cols=\"72\">-- \nCordialement.\n\n\nFran&ccedil;ois Lefebvre\nBiblioth&egrave;que Universitaire de Lille 1\nCit&eacute; Scientifique - B.P. 30155\n59653 VILLENEUVE D\'ASCQ CEDEX\nT&eacute;l.: 03.20.33.60.73</pre>\n</body>\n</html>\n</div>', created = 1507748770, expire = 1507835170, headers = '', serialized = 0 WHERE cid = '4:bd533efa8732fa6663b20bd0bed3d8e2' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:590fa5d0bdff169e2957a1d0614e399c' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\"><!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n<html>\n<head>\n <meta content=\"text/html;charset=ISO-8859-1\" http-equiv=\"Content-Type\">\n</head>\n<body bgcolor=\"#ffffff\" text=\"#000000\">\nPetite pr&eacute;cision :<br>\n<br>\nPendant que je r&eacute;digeais cet email, j\'ai mis le daemon &agrave; TRUE.<br>\n<br>\nLa commande : ps aux | grep openoffice renvoi :<br>\n<font color=\"#666666\">/usr/lib/openoffice/program/soffice.bin\n-env:UserInstallation=<a class=\"moz-txt-link-freetext\" href=\"file:///tmp/nxoosrv0\">file:///tmp/nxoosrv0</a> -headless -norestore\n-invisible -nofirststartwizard -accept=pipe,name=daemon-instance-0;urp;\n-splash-pipe=5</font><br>\n<br>\nL\'ic&ocirc;ne PDF est bien affich&eacute;e, mais en cliquant dessus, il m\'affiche :<br>\n<br>\nAssurez-vous que l\'application OpenOffice est install&eacute;e et &eacute;coute sur\nle port 8100 du serveur Nuxeo EP. Pour lancer OpenOffice en mode\nserveur, utilisez une des commandes suivantes:<br>\n<br>\n/path/to/openoffice/program/soffice.bin -headless -nofirststartwizard\n-accept=\"socket,host=localhost,port=8100;urp;StarOffice.Service\"<br>\n<br>\nOr le service tourne....<br>\n<br>\n<br>\n<br>\n<br>\n<br>\n<br>\n<br>\nfran&ccedil;ois lefebvre a &eacute;crit&nbsp;:\n<div class=\"emailFilter_Toggle\"><div class=\"emailFilter_Author_0\"><blockquote>\n <meta content=\"text/html;charset=ISO-8859-1\" http-equiv=\"Content-Type\">\nBonjour,<br>\n <br>\nSous ma debian, voici les manip que j\'ai fait :<br>\n <br>\n <p class=\"MsoNoSpacing\"><span style=\"\" lang=\"EN-US\">- apt-get install\nopenoffice.org</span></p>\n <p class=\"MsoNoSpacing\"><span style=\"\" lang=\"EN-US\">-\n/usr/lib/openoffice/program/unopkg\nadd /home/orioai/src/esup-ecm-svn/nxOOo/patch/nxSkipInstallWizard.oxt</span><span\n style=\"\" lang=\"EN-US\"><br>\n </span></p>\n <p class=\"MsoNoSpacing\"><span style=\"\" lang=\"EN-US\">- </span><span\n style=\"\" lang=\"EN-US\">/usr/lib/openoffice/program/unopkg add\n/home/orioai/src/esup-ecm-svn/nxOOo/patch/nxOOoAutoListen.oxt</span></p>\n <span style=\"\" lang=\"EN-US\"></span>\n <p class=\"MsoNoSpacing\"><span style=\"\" lang=\"EN-US\">- apt-get install\nghostscript </span><span style=\"\" lang=\"EN-US\">poppler-utils</span></p>\n <p class=\"MsoNoSpacing\"><span style=\"\" lang=\"EN-US\"><o:p>&nbsp;</o:p></span></p>\n <p class=\"MsoNoSpacing\"><span style=\"\" lang=\"EN-US\">Config de :\nusr\\ori\\esup-ecm\\nuxeo-dm-5.3.1-jboss\\server\\default\\deploy\\nuxeo.ear\\config\\ooo-config.xml\nde cette mani&egrave;re&nbsp; :<br>\n <o:p></o:p></span></p>\n <p class=\"MsoNoSpacing\"><span style=\"\" lang=\"EN-US\"></span><span\n style=\"\" lang=\"EN-US\"><font color=\"#666666\">&lt;?xml version=\"1.0\"?&gt;<br>\n&lt;component\nname=\"org.nuxeo.ecm.platform.convert.oooDaemon.config.default\"&gt;<br>\n <br>\n&nbsp; &lt;extension\ntarget=\"org.nuxeo.ecm.platform.convert.oooserver.OOoDaemonManagerComponent\"<br>\n&nbsp;&nbsp;&nbsp; point=\"oooServerConfig\"&gt;<br>\n <br>\n&nbsp; &lt;OOoServer&gt;<br>\n&nbsp;&nbsp;&nbsp; &lt;!-- enable Nuxeo Daemon to manage OOo server instances :\ndefault is true --&gt;<br>\n&nbsp;&nbsp;&nbsp; &lt;enableDaemon&gt;true&lt;/enableDaemon&gt;<br>\n&nbsp;&nbsp;&nbsp; &lt;!-- define OOo server listen IP : used even if daemon is\ndisabled --&gt;<br>\n&nbsp;&nbsp;&nbsp; &lt;oooListenIP&gt;127.0.0.1&lt;/oooListenIP&gt;<br>\n&nbsp;&nbsp;&nbsp; &lt;!-- define OOo server listen port : used even if daemon is\ndisabled --&gt;<br>\n&nbsp;&nbsp;&nbsp; &lt;oooListenPort&gt;8100&lt;/oooListenPort&gt;<br>\n&nbsp;&nbsp;&nbsp; &lt;!-- define Daemon listen port : used only if daemon is enabled\n--&gt;<br>\n&nbsp;&nbsp;&nbsp; &lt;oooDaemonListenPort&gt;8101&lt;/oooDaemonListenPort&gt;<br>\n&nbsp;&nbsp;&nbsp; &lt;!-- define number of OOo worker process : used only if daemon\nis enabled --&gt;<br>\n&nbsp;&nbsp;&nbsp; &lt;oooWorkers&gt;1&lt;/oooWorkers&gt;<br>\n&nbsp;&nbsp;&nbsp; &lt;!-- define maximum wait time in second before timeout --&gt;<br>\n&nbsp;&nbsp;&nbsp; &lt;oooServerStartTimeout&gt;60&lt;/oooServerStartTimeout&gt;<br>\n <br>\n&nbsp;&nbsp;&nbsp; &lt;!-- define OOo installation path : used only if daemon is\nenabled --&gt;<br>\n&nbsp;&nbsp;&nbsp; &lt;!-- if not defined Nuxeo will try to find the path\nautomatically --&gt;<br>\n&nbsp;&nbsp;&nbsp;\n&lt;oooInstallationPath&gt;/usr/lib/openoffice/program&lt;/oooInstallationPath&gt;<br>\n <br>\n&nbsp;&nbsp;&nbsp; &lt;!-- define jpipe library path : used only for OOo 3 --&gt;<br>\n&nbsp;&nbsp;&nbsp; &lt;jpipeLibPath&gt; /usr/lib/ure/lib&lt;/jpipeLibPath&gt;<br>\n <br>\n <br>\n&nbsp;&nbsp;&nbsp; &lt;!-- define number of time a worker process can be used before\nbeing recycled: used only if daemon is enabled --&gt;<br>\n&nbsp;&nbsp;&nbsp;\n&lt;oooWorkersRecycleInterval&gt;10&lt;/oooWorkersRecycleInterval&gt;<br>\n <br>\n&nbsp;&nbsp;&nbsp; &lt;!-- define is Daemon is started at server startup : used only\nif daemon is enabled --&gt;<br>\n&nbsp;&nbsp;&nbsp; &lt;autoStart&gt;false&lt;/autoStart&gt;<br>\n <br>\n&nbsp; &lt;/OOoServer&gt;<br>\n <br>\n&nbsp; &lt;/extension&gt;<br>\n <br>\n&lt;/component&gt;</font><br>\n <br>\n </span></p>\n <p class=\"MsoNoSpacing\"><span style=\"\" lang=\"EN-US\">&nbsp;- find / -name\npdftohtml &#8211;print ( pour savoir ou se trouve pdftohtml )<br>\n </span></p>\n <p class=\"MsoNoSpacing\">- j\'ai ensuite cr&eacute;&eacute; le fichier\npdf2html-config.xml avec ceci dedans :<br>\n </p>\n <p class=\"MsoNoSpacing\"><font color=\"#666666\">&lt;?xml\nversion=\"1.0\"?&gt;<br>\n&lt;component name=\"com.myproject.pdftohtml.config\"&gt;<br>\n <br>\n&nbsp; &lt;extension\ntarget=\"org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent\"<br>\n&nbsp;&nbsp;&nbsp; point=\"command\"&gt;<br>\n <br>\n&nbsp;&nbsp;&nbsp; &lt;command name=\"pdftohtml\" enabled=\"true\"&gt;<br>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;commandLine&gt;/usr/bin/pdftohtml&lt;/commandLine&gt;<br>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameterString&gt; -c -noframes #{inFilePath}\n#{outDirPath}/index.html&lt;/parameterString&gt;<br>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;installationDirective&gt;You need to install\npdftohtml&lt;/installationDirective&gt;<br>\n&nbsp;&nbsp;&nbsp; &lt;/command&gt;<br>\n <br>\n&nbsp; &lt;/extension&gt;<br>\n <br>\n&lt;/component&gt;</font> <br>\n <span style=\"\" lang=\"EN-US\"><o:p></o:p></span></p>\n <br>\nEt ensuite, j\'ai tout lanc&eacute; :<br>\n <br>\n <span style=\"\" lang=\"EN-US\"><o:p>- </o:p></span><span style=\"\"\n lang=\"EN-US\">/usr/lib/openoffice/program/soffice.bin\n-headless &#8211;nofirststartwizard\n-accept=\"socket,host=localhost,port=8100;urp;StarOffice.Service\"<br>\n- /usr/ori/esup-ecm/nuxeo-dm-5.3.1-jboss/bin/jbossctl start<br>\n <br>\n <br>\nJ\'ai eu la chance de voir apparaitre l\'ic&ocirc;ne PDF, mais avec un message\nme demandant de v&eacute;rifier que le serveur OO &eacute;coutait bien.<br>\nApr&egrave;s quelques modifications, je n\'ai plus l\'ic&ocirc;ne :/<br>\n </span><br>\n <br>\nMerci pour votre aide.<br>\n <br>\n <br>\n <br>\n <br>\nkaren raynal a &eacute;crit&nbsp;:\n <div class=\"emailFilter_Author_1\"><blockquote>Bonjour,\n <br>\n <br>\n <div class=\"emailFilter_Author_2\"><blockquote type=\"cite\">Bonjour Karen, merci pour le lien. <br>\n <br>\nJe l\'ai donc suivi du mieux que je peux. <br>\n <br>\nMon soucis a pr&eacute;sent est : <br>\n <br>\n13:03:18,812 ERROR [OOoDaemonManagerComponent] OOo Daemon thread\nexisted <br>\njava.lang.UnsatisfiedLinkError:\ncom.sun.star.lib.connections.pipe.PipeConnection.createJNI(Ljava/lang/String;)I\n <br>\n <br>\nSachant que j\'ai utilis&eacute; OO3, il faut configurer la variable\njpipelibpath, mais le r&eacute;pertoire /usr/lib/openoffice/ure/lib/ est vide.\n <br>\n </blockquote></div>\n <br>\nc\'est &eacute;tonnant ... <br>\nComment as-tu install&eacute; OpenOffice ? Est-il d&eacute;marr&eacute; (avec le m&ecirc;me user\nque celui sous lequel tourne le serveur jboss)? <br>\n <br>\nVoici pas &agrave; pas l\'install qu\'on a fait ici (et qui fonctionne) sur une\nRedHat. <br>\n <br>\nwget\n <a moz-do-not-send=\"true\" class=\"moz-txt-link-freetext\"\n href=\"http://download.services.openoffice.org/files/stable/3.2.0/OOo_3.2.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz\">http://download.services.openoffice.org/files/stable/3.2.0/OOo_3.2.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz</a>\n <br>\ntar -zxvf OOo_3.2.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz <br>\ncd OOO320_m12_native_packed-1_en-US.9483/ <br>\n./setup <br>\ncd RPMS/ <br>\nmv *integration*.rpm desktop-integration/ <br>\nmv jre-6u18-linux-amd64.rpm ../ <br>\nrpm -ivh *.rpm <br>\nwget\n <a moz-do-not-send=\"true\" class=\"moz-txt-link-freetext\"\n href=\"http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxOOoAutoListen.oxt\">http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxOOoAutoListen.oxt</a>\n <br>\nwget\n <a moz-do-not-send=\"true\" class=\"moz-txt-link-freetext\"\n href=\"http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxSkipInstallWizard.oxt\">http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxSkipInstallWizard.oxt</a>\n <br>\n/opt/openoffice.org3/program/unopkg add nxSkipInstallWizard.oxt <br>\n/opt/openoffice.org3/program/unopkg add nxOOoAutoListen.oxt <br>\nd&eacute;marrage d\'openoffice (attention &agrave; demarrer openoffice avec le m&ecirc;me\nuser que celui qui fait tourner le serveur jboss) <br>\n <br>\n/opt/openoffice.org3/program/soffice.bin -headless -nofirststartwizard\n-accept=\"socket,host=localhost,port=8100;urp;StarOffice.Service\" <br>\n+ configuration du fichier ooo-config.xml comme expliqu&eacute; dans la FAQ de\nNuxeo. <br>\n <br>\n <br>\n <br>\n </blockquote></div>\n <br>\n <pre class=\"moz-signature\" cols=\"72\">-- \nCordialement.\n\n\nFran&ccedil;ois Lefebvre\nBiblioth&egrave;que Universitaire de Lille 1\nCit&eacute; Scientifique - B.P. 30155\n59653 VILLENEUVE D\'ASCQ CEDEX\nT&eacute;l.: 03.20.33.60.73</pre>\n</blockquote></div></div>\n<br>\n<pre class=\"moz-signature\" cols=\"72\">-- \nCordialement.\n\n\nFran&ccedil;ois Lefebvre\nBiblioth&egrave;que Universitaire de Lille 1\nCit&eacute; Scientifique - B.P. 30155\n59653 VILLENEUVE D\'ASCQ CEDEX\nT&eacute;l.: 03.20.33.60.73</pre>\n</body>\n</html>\n</div>', created = 1507748770, expire = 1507835170, headers = '', serialized = 0 WHERE cid = '4:590fa5d0bdff169e2957a1d0614e399c' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:fbd8a39029791ec6c17a617a78b6b5ee' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">Je ne comprends pas pourquoi il renvoie ces options s\'il a été démarré<br />\ncomme indiqué plus bas ?...<br />\nChez moi j\'ai bien :<br />\nps aux | grep office<br />\njboss 8317 0.0 2.6 766836 215788 ? Sl Jun04 0:15<br />\n/opt/openoffice.org3/program/soffice.bin -headless -nofirststartwizard<br />\n-accept=socket,host=localhost,port=8100;urp;StarOffice.Service<br />\nIl faudrait essayer d\'arrêter ce process et le relancer comme indiqué.</p>\n<div class=\"emailFilter_Toggle\">\n<blockquote class=\"emailFilter_Author_0\"><p>> La commande : ps aux | grep openoffice renvoi :<br />\n> /usr/lib/openoffice/program/soffice.bin<br />\n> -env:UserInstallation=file:///tmp/nxoosrv0 -headless -norestore<br />\n> -invisible -nofirststartwizard -accept=pipe,name=daemon-instance-0;urp;<br />\n> -splash-pipe=5<br />\n><br />\n> L\'icône PDF est bien affichée, mais en cliquant dessus, il m\'affiche :<br />\n><br />\n> Assurez-vous que l\'application OpenOffice est installée et écoute sur le<br />\n> port 8100 du serveur Nuxeo EP. Pour lancer OpenOffice en mode serveur,<br />\n> utilisez une des commandes suivantes:<br />\n><br />\n> /path/to/openoffice/program/soffice.bin -headless -nofirststartwizard<br />\n> -accept=\"socket,host=localhost,port=8100;urp;StarOffice.Service\"<br />\n><br />\n> Or le service tourne....<br />\n><br />\n><br />\n><br />\n><br />\n><br />\n><br />\n><br />\n> françois lefebvre a écrit :</p></blockquote>\n<blockquote class=\"emailFilter_Author_1\"><p>>> Bonjour,<br />\n>><br />\n>> Sous ma debian, voici les manip que j\'ai fait :<br />\n>><br />\n>> - apt-get install openoffice.org<br />\n>><br />\n>> - /usr/lib/openoffice/program/unopkg add<br />\n>> /home/orioai/src/esup-ecm-svn/nxOOo/patch/nxSkipInstallWizard.oxt<br />\n>><br />\n>> - /usr/lib/openoffice/program/unopkg add<br />\n>> /home/orioai/src/esup-ecm-svn/nxOOo/patch/nxOOoAutoListen.oxt<br />\n>><br />\n>> - apt-get install ghostscript poppler-utils<br />\n>><br />\n>><br />\n>><br />\n>> Config de :<br />\n>> usr\\ori\\esup-ecm\\nuxeo-dm-5.3.1-jboss\\server\\default\\deploy\\nuxeo.ear\\config\\ooo-config.xml<br />\n>> de cette manière :<br />\n>><br />\n>> <?xml version=\"1.0\"?><br />\n>> <component<br />\n>> name=\"org.nuxeo.ecm.platform.convert.oooDaemon.config.default\"><br />\n>><br />\n>> <extension<br />\n>> target=\"org.nuxeo.ecm.platform.convert.oooserver.OOoDaemonManagerComponent\"<br />\n>><br />\n>> point=\"oooServerConfig\"><br />\n>><br />\n>> <OOoServer><br />\n>> </p>\n<!-- enable Nuxeo Daemon to manage OOo server instances : default \n>> is true --><!-- enable Nuxeo Daemon to manage OOo server instances : default \n>> is true --><p>>> <enableDaemon>true</enableDaemon><br />\n>> </p>\n<!-- define OOo server listen IP : used even if daemon is disabled \n>> --><!-- define OOo server listen IP : used even if daemon is disabled \n>> --><p>>> <oooListenIP>127.0.0.1</oooListenIP><br />\n>> </p>\n<!-- define OOo server listen port : used even if daemon is \n>> disabled --><!-- define OOo server listen port : used even if daemon is \n>> disabled --><p>>> <oooListenPort>8100</oooListenPort><br />\n>> </p>\n<!-- define Daemon listen port : used only if daemon is enabled --><!-- define Daemon listen port : used only if daemon is enabled --><p>>> <oooDaemonListenPort>8101</oooDaemonListenPort><br />\n>> </p>\n<!-- define number of OOo worker process : used only if daemon is \n>> enabled --><!-- define number of OOo worker process : used only if daemon is \n>> enabled --><p>>> <oooWorkers>1</oooWorkers><br />\n>> </p>\n<!-- define maximum wait time in second before timeout --><!-- define maximum wait time in second before timeout --><p>>> <oooServerStartTimeout>60</oooServerStartTimeout><br />\n>><br />\n>> </p>\n<!-- define OOo installation path : used only if daemon is enabled \n>> --><!-- define OOo installation path : used only if daemon is enabled \n>> --><p>>> </p>\n<!-- if not defined Nuxeo will try to find the path automatically --><!-- if not defined Nuxeo will try to find the path automatically --><p>>><br />\n>> <oooInstallationPath>/usr/lib/openoffice/program</oooInstallationPath><br />\n>><br />\n>> </p>\n<!-- define jpipe library path : used only for OOo 3 --><!-- define jpipe library path : used only for OOo 3 --><p>>> <jpipeLibPath> /usr/lib/ure/lib</jpipeLibPath><br />\n>><br />\n>><br />\n>> </p>\n<!-- define number of time a worker process can be used before \n>> being recycled: used only if daemon is enabled --><!-- define number of time a worker process can be used before \n>> being recycled: used only if daemon is enabled --><p>>> <oooWorkersRecycleInterval>10</oooWorkersRecycleInterval><br />\n>><br />\n>> </p>\n<!-- define is Daemon is started at server startup : used only if \n>> daemon is enabled --><!-- define is Daemon is started at server startup : used only if \n>> daemon is enabled --><p>>> <autoStart>false</autoStart><br />\n>><br />\n>> </OOoServer><br />\n>><br />\n>> </extension><br />\n>><br />\n>> </component><br />\n>><br />\n>> - find / -name pdftohtml --print ( pour savoir ou se trouve pdftohtml )<br />\n>><br />\n>> - j\'ai ensuite créé le fichier pdf2html-config.xml avec ceci dedans :<br />\n>><br />\n>> <?xml version=\"1.0\"?><br />\n>> <component name=\"com.myproject.pdftohtml.config\"><br />\n>><br />\n>> <extension<br />\n>> target=\"org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent\"<br />\n>><br />\n>> point=\"command\"><br />\n>><br />\n>> <command name=\"pdftohtml\" enabled=\"true\"><br />\n>> <commandLine>/usr/bin/pdftohtml</commandLine><br />\n>><br />\n<parameterString> -c -noframes #{inFilePath}<br />\n>> #{outDirPath}/index.html</parameterString>\n>> <installationDirective>You need to install<br />\n>> pdftohtml</installationDirective><br />\n>> </command><br />\n>><br />\n>> </extension><br />\n>><br />\n>> </component><br />\n>><br />\n>><br />\n>> Et ensuite, j\'ai tout lancé :<br />\n>><br />\n>> - /usr/lib/openoffice/program/soffice.bin -headless<br />\n>> --nofirststartwizard<br />\n>> -accept=\"socket,host=localhost,port=8100;urp;StarOffice.Service\"<br />\n>> - /usr/ori/esup-ecm/nuxeo-dm-5.3.1-jboss/bin/jbossctl start<br />\n>><br />\n>><br />\n>> J\'ai eu la chance de voir apparaitre l\'icône PDF, mais avec un message<br />\n>> me demandant de vérifier que le serveur OO écoutait bien.<br />\n>> Après quelques modifications, je n\'ai plus l\'icône :/<br />\n>><br />\n>><br />\n>> Merci pour votre aide.<br />\n>><br />\n>><br />\n>><br />\n>><br />\n>> karen raynal a écrit :</p></blockquote>\n<blockquote class=\"emailFilter_Author_2\"><p>>>> Bonjour,<br />\n>>></p></blockquote>\n<blockquote class=\"emailFilter_Author_3\"><p>>>>> Bonjour Karen, merci pour le lien.<br />\n>>>><br />\n>>>> Je l\'ai donc suivi du mieux que je peux.<br />\n>>>><br />\n>>>> Mon soucis a présent est :<br />\n>>>><br />\n>>>> 13:03:18,812 ERROR [OOoDaemonManagerComponent] OOo Daemon thread<br />\n>>>> existed<br />\n>>>> java.lang.UnsatisfiedLinkError:<br />\n>>>> com.sun.star.lib.connections.pipe.PipeConnection.createJNI(Ljava/lang/String;)I<br />\n>>>><br />\n>>>><br />\n>>>> Sachant que j\'ai utilisé OO3, il faut configurer la variable<br />\n>>>> jpipelibpath, mais le répertoire /usr/lib/openoffice/ure/lib/ est vide.</p></blockquote>\n<blockquote class=\"emailFilter_Author_2\"><p>>>><br />\n>>> c\'est étonnant ...<br />\n>>> Comment as-tu installé OpenOffice ? Est-il démarré (avec le même user<br />\n>>> que celui sous lequel tourne le serveur jboss)?<br />\n>>><br />\n>>> Voici pas à pas l\'install qu\'on a fait ici (et qui fonctionne) sur<br />\n>>> une RedHat.<br />\n>>><br />\n>>> wget<br />\n>>> <a href=\"http://download.services.openoffice.org/files/stable/3.2.0/OOo_3.2.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz\" title=\"http://download.services.openoffice.org/files/stable/3.2.0/OOo_3.2.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz\">http://download.services.openoffice.org/files/stable/3.2.0/OOo_3.2.0_Lin...</a><br />\n>>><br />\n>>> tar -zxvf OOo_3.2.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz<br />\n>>> cd OOO320_m12_native_packed-1_en-US.9483/<br />\n>>> ./setup<br />\n>>> cd RPMS/<br />\n>>> mv *integration*.rpm desktop-integration/<br />\n>>> mv jre-6u18-linux-amd64.rpm ../<br />\n>>> rpm -ivh *.rpm<br />\n>>> wget <a href=\"http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxOOoAutoListen.oxt\" title=\"http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxOOoAutoListen.oxt\">http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxOOoAutoListen.oxt</a><br />\n>>> wget<br />\n>>> <a href=\"http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxSkipInstallWizard.oxt\" title=\"http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxSkipInstallWizard.oxt\">http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxSkipInstallWizard.oxt</a><br />\n>>> /opt/openoffice.org3/program/unopkg add nxSkipInstallWizard.oxt<br />\n>>> /opt/openoffice.org3/program/unopkg add nxOOoAutoListen.oxt<br />\n>>> démarrage d\'openoffice (attention à demarrer openoffice avec le même<br />\n>>> user que celui qui fait tourner le serveur jboss)<br />\n>>><br />\n>>> /opt/openoffice.org3/program/soffice.bin -headless<br />\n>>> -nofirststartwizard<br />\n>>> -accept=\"socket,host=localhost,port=8100;urp;StarOffice.Service\"<br />\n>>> + configuration du fichier ooo-config.xml comme expliqué dans la FAQ<br />\n>>> de Nuxeo.<br />\n>>><br />\n>>><br />\n>>></p></blockquote>\n<blockquote class=\"emailFilter_Author_1\"><p>>><br />\n>> --<br />\n>> Cordialement.<br />\n>><br />\n>><br />\n>> François Lefebvre<br />\n>> Bibliothèque Universitaire de Lille 1<br />\n>> Cité Scientifique - B.P. 30155<br />\n>> 59653 VILLENEUVE D\'ASCQ CEDEX<br />\n>> Tél.: 03.20.33.60.73</p></blockquote>\n<blockquote class=\"emailFilter_Author_0\"><p>> </div>\n</blockquote>\n</div>\n', created = 1507748770, expire = 1507835170, headers = '', serialized = 0 WHERE cid = '4:fbd8a39029791ec6c17a617a78b6b5ee' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:695e7fa9415598484894a949465bb618' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">Bonjour,</p>\n<div class=\"emailFilter_Toggle\">\n<blockquote class=\"emailFilter_Author_0\"><p>> Bonjour Karen, merci pour le lien.<br />\n><br />\n> Je l\'ai donc suivi du mieux que je peux.<br />\n><br />\n> Mon soucis a présent est :<br />\n><br />\n> 13:03:18,812 ERROR [OOoDaemonManagerComponent] OOo Daemon thread existed<br />\n> java.lang.UnsatisfiedLinkError:<br />\n> com.sun.star.lib.connections.pipe.PipeConnection.createJNI(Ljava/lang/String;)I<br />\n><br />\n><br />\n> Sachant que j\'ai utilisé OO3, il faut configurer la variable<br />\n> jpipelibpath, mais le répertoire /usr/lib/openoffice/ure/lib/ est vide.</div>\n</blockquote>\n<p>c\'est étonnant ...<br />\nComment as-tu installé OpenOffice ? Est-il démarré (avec le même user<br />\nque celui sous lequel tourne le serveur jboss)?</p>\n<p>Voici pas à pas l\'install qu\'on a fait ici (et qui fonctionne) sur une<br />\nRedHat.</p>\n<p>wget<br />\n<a href=\"http://download.services.openoffice.org/files/stable/3.2.0/OOo_3.2.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz\" title=\"http://download.services.openoffice.org/files/stable/3.2.0/OOo_3.2.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz\">http://download.services.openoffice.org/files/stable/3.2.0/OOo_3.2.0_Lin...</a><br />\ntar -zxvf OOo_3.2.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz<br />\ncd OOO320_m12_native_packed-1_en-US.9483/<br />\n./setup<br />\ncd RPMS/<br />\nmv *integration*.rpm desktop-integration/<br />\nmv jre-6u18-linux-amd64.rpm ../<br />\nrpm -ivh *.rpm<br />\nwget <a href=\"http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxOOoAutoListen.oxt\" title=\"http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxOOoAutoListen.oxt\">http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxOOoAutoListen.oxt</a><br />\nwget <a href=\"http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxSkipInstallWizard.oxt\" title=\"http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxSkipInstallWizard.oxt\">http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxSkipInstallWizard.oxt</a><br />\n/opt/openoffice.org3/program/unopkg add nxSkipInstallWizard.oxt<br />\n/opt/openoffice.org3/program/unopkg add nxOOoAutoListen.oxt<br />\ndémarrage d\'openoffice (attention à demarrer openoffice avec le même<br />\nuser que celui qui fait tourner le serveur jboss)</p>\n<p>/opt/openoffice.org3/program/soffice.bin -headless -nofirststartwizard<br />\n-accept=\"socket,host=localhost,port=8100;urp;StarOffice.Service\"<br />\n+ configuration du fichier ooo-config.xml comme expliqué dans la FAQ de<br />\nNuxeo.</p>\n</div>\n', created = 1507748770, expire = 1507835170, headers = '', serialized = 0 WHERE cid = '4:695e7fa9415598484894a949465bb618' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:f2c82e37913506522b4c96d3d7ce9676' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">Bonjour Karen, merci pour le lien.</p>\n<p>Je l\'ai donc suivi du mieux que je peux.</p>\n<p>Mon soucis a présent est :</p>\n<p>13:03:18,812 ERROR [OOoDaemonManagerComponent] OOo Daemon thread existed<br />\njava.lang.UnsatisfiedLinkError:<br />\ncom.sun.star.lib.connections.pipe.PipeConnection.createJNI(Ljava/lang/String;)I</p>\n<p>Sachant que j\'ai utilisé OO3, il faut configurer la variable<br />\njpipelibpath, mais le répertoire /usr/lib/openoffice/ure/lib/ est vide.</p>\n<p>Comment faire pour installer la librairie jpipe ?</p>\n<p>Merci.</p>\n<p>karen raynal a écrit :<br />\n<div class=\"emailFilter_Toggle\">\n<blockquote class=\"emailFilter_Author_0\"><p>> Bonjour,<br />\n> Nuxeo fonctionne aussi avec openoffice 3 (et ça permet de convertir en<br />\n> plus les formats office 2007).<br />\n> niveau configuration, se reporter à cette page :<br />\n> <a href=\"http://www.nuxeo.org/xwiki/bin/view/FAQ/previewOfficeMac\" title=\"http://www.nuxeo.org/xwiki/bin/view/FAQ/previewOfficeMac\">http://www.nuxeo.org/xwiki/bin/view/FAQ/previewOfficeMac</a><br />\n> --<br />\n> Karen Raynal<br />\n> DI - Université Boreaux 1<br />\n><br />\n><br />\n></p></blockquote>\n<blockquote class=\"emailFilter_Author_1\"><p>>> Bonjour,<br />\n>><br />\n>> Je me galère à trouver un openoffice 2.4 au format deb pour<br />\n>> l\'installer avec nuxeo :/<br />\n>> Le site d\'OpenOffice ne propose que la version 3.0 au minimum.<br />\n>><br />\n>> Quelqu\'un sait ou je pourrai le télécharger ?<br />\n>><br />\n>> Merci<br />\n>></p></blockquote>\n<blockquote class=\"emailFilter_Author_0\"><p>><br />\n></div>\n</blockquote>\n<p>--<br />\nCordialement.</p>\n<p>François Lefebvre<br />\nBibliothèque Universitaire de Lille 1<br />\nCité Scientifique - B.P. 30155<br />\n59653 VILLENEUVE D\'ASCQ CEDEX<br />\nTél.: 03.20.33.60.73</p>\n</div>\n', created = 1507748770, expire = 1507835170, headers = '', serialized = 0 WHERE cid = '4:f2c82e37913506522b4c96d3d7ce9676' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:c27d9717b4e410f436ca8ff6a4966a63' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">Bonjour a tous,</p>\n<p>Merci pour les infos, je vais essayer de faire fonctionner tout ca.</p>\n<p>Par contre, y a t il des formations/présentations de prévues sur ce module ?<br />\nCar je l\'installe sans savoir ce qu\'on peut en faire. Cela permet de<br />\nstockage, mais ensuite rien...</p>\n<p>Personnellement, au niveau de l\'utilisation, je le trouve assez<br />\ncompliqué. Je fais uniquement du stockage pour ensuite publier, mais les<br />\nworkflows internes, le travail collaboratif etc... je vois mal le<br />\npersonnel l\'utiliser.</p>\n<p>Ne sachant pas correctement l\'utiliser, je ne sais pas comment faire une<br />\naide à proposer aux utilisateurs.</p>\n<p>Jacques va t il pouvoir nous faire une formation niveau 2 de ORI OAI,<br />\nvoir même nous montrer les possibilités du fameux esup ecm ?</p>\n<p>Cordialement.</p>\n<p>karen raynal a écrit :<br />\n<div class=\"emailFilter_Toggle\">\n<blockquote class=\"emailFilter_Author_0\"><p>> Bonjour,<br />\n> Nuxeo fonctionne aussi avec openoffice 3 (et ça permet de convertir en<br />\n> plus les formats office 2007).<br />\n> niveau configuration, se reporter à cette page :<br />\n> <a href=\"http://www.nuxeo.org/xwiki/bin/view/FAQ/previewOfficeMac\" title=\"http://www.nuxeo.org/xwiki/bin/view/FAQ/previewOfficeMac\">http://www.nuxeo.org/xwiki/bin/view/FAQ/previewOfficeMac</a><br />\n> --<br />\n> Karen Raynal<br />\n> DI - Université Boreaux 1<br />\n><br />\n><br />\n></p></blockquote>\n<blockquote class=\"emailFilter_Author_1\"><p>>> Bonjour,<br />\n>><br />\n>> Je me galère à trouver un openoffice 2.4 au format deb pour<br />\n>> l\'installer avec nuxeo :/<br />\n>> Le site d\'OpenOffice ne propose que la version 3.0 au minimum.<br />\n>><br />\n>> Quelqu\'un sait ou je pourrai le télécharger ?<br />\n>><br />\n>> Merci<br />\n>></p></blockquote>\n<blockquote class=\"emailFilter_Author_0\"><p>><br />\n></div>\n</blockquote>\n<p>--<br />\nCordialement.</p>\n<p>François Lefebvre<br />\nBibliothèque Universitaire de Lille 1<br />\nCité Scientifique - B.P. 30155<br />\n59653 VILLENEUVE D\'ASCQ CEDEX<br />\nTél.: 03.20.33.60.73</p>\n</div>\n', created = 1507748770, expire = 1507835170, headers = '', serialized = 0 WHERE cid = '4:c27d9717b4e410f436ca8ff6a4966a63' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:be6e8bf177a4a02107cfb30e24574f91' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">Bonjour,<br />\nNuxeo fonctionne aussi avec openoffice 3 (et ça permet de convertir en<br />\nplus les formats office 2007).<br />\nniveau configuration, se reporter à cette page :<br />\n<a href=\"http://www.nuxeo.org/xwiki/bin/view/FAQ/previewOfficeMac\" title=\"http://www.nuxeo.org/xwiki/bin/view/FAQ/previewOfficeMac\">http://www.nuxeo.org/xwiki/bin/view/FAQ/previewOfficeMac</a><br />\n--<br />\nKaren Raynal<br />\nDI - Université Boreaux 1</p>\n<div class=\"emailFilter_Toggle\">\n<blockquote class=\"emailFilter_Author_0\"><p>> Bonjour,<br />\n><br />\n> Je me galère à trouver un openoffice 2.4 au format deb pour l\'installer<br />\n> avec nuxeo :/<br />\n> Le site d\'OpenOffice ne propose que la version 3.0 au minimum.<br />\n><br />\n> Quelqu\'un sait ou je pourrai le télécharger ?<br />\n><br />\n> Merci<br />\n> </div>\n</blockquote>\n</div>\n', created = 1507748770, expire = 1507835170, headers = '', serialized = 0 WHERE cid = '4:be6e8bf177a4a02107cfb30e24574f91' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:73351b737c250608fda7ecaf46511693' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\"> Bonjour,</p>\n<p>Je ne sais pas si cela peux vous aider, mais pour Debian, vous trouverez<br />\nles principales versions ici :<br />\n<a href=\"http://ftp.debian.org/debian/pool/main/o/openoffice.org/\" title=\"http://ftp.debian.org/debian/pool/main/o/openoffice.org/\">http://ftp.debian.org/debian/pool/main/o/openoffice.org/</a><br />\net pour la variante Ubuntu ici :<br />\n<a href=\"ftp://ftp.ubuntu.com/ubuntu/pool/main/o/\" title=\"ftp://ftp.ubuntu.com/ubuntu/pool/main/o/\">ftp://ftp.ubuntu.com/ubuntu/pool/main/o/</a></p>\n<p>Cordialement,</p>\n<p>Daniel Berthereau<br />\n| <a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#100;&#97;&#110;&#105;&#101;&#108;&#46;&#98;&#101;&#114;&#116;&#104;&#101;&#114;&#101;&#97;&#117;&#64;&#105;&#110;&#115;&#97;&#45;&#108;&#121;&#111;&#110;&#46;&#102;&#114;\">&#100;&#97;&#110;&#105;&#101;&#108;&#46;&#98;&#101;&#114;&#116;&#104;&#101;&#114;&#101;&#97;&#117;&#64;&#105;&#110;&#115;&#97;&#45;&#108;&#121;&#111;&#110;&#46;&#102;&#114;</a><br />\n| +33 (0)4 72 43 74 46<br />\n| Doc\'INSA - INSA Lyon<br />\n| <a href=\"http://scd.docinsa.insa-lyon.fr\" title=\"http://scd.docinsa.insa-lyon.fr\">http://scd.docinsa.insa-lyon.fr</a></p>\n<p>Le 10/06/2010 14:38, françois lefebvre a écrit :<br />\n<div class=\"emailFilter_Toggle\">\n<blockquote class=\"emailFilter_Author_0\"><p>> Bonjour,<br />\n><br />\n> Je me galère à trouver un openoffice 2.4 au format deb pour<br />\n> l\'installer avec nuxeo :/<br />\n> Le site d\'OpenOffice ne propose que la version 3.0 au minimum.<br />\n><br />\n> Quelqu\'un sait ou je pourrai le télécharger ?<br />\n><br />\n> Merci<br />\n></div>\n</blockquote>\n</div>\n', created = 1507748770, expire = 1507835170, headers = '', serialized = 0 WHERE cid = '4:73351b737c250608fda7ecaf46511693' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:3e8c9b091af03db2f8fdbcddd16804da' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">Bonjour,</p>\n<p>Je me galère à trouver un openoffice 2.4 au format deb pour l\'installer<br />\navec nuxeo :/<br />\nLe site d\'OpenOffice ne propose que la version 3.0 au minimum.</p>\n<p>Quelqu\'un sait ou je pourrai le télécharger ?</p>\n<p>Merci</p>\n<p>--<br />\nCordialement.</p>\n<p>François Lefebvre<br />\nBibliothèque Universitaire de Lille 1<br />\nCité Scientifique - B.P. 30155<br />\n59653 VILLENEUVE D\'ASCQ CEDEX<br />\nTél.: 03.20.33.60.73</p>\n</div>\n', created = 1507748770, expire = 1507835170, headers = '', serialized = 0 WHERE cid = '4:3e8c9b091af03db2f8fdbcddd16804da' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
11 messages / 0 nouveaux
Dernière contribution
francoislefebvre
il est ou? hein! le youki ??? :)
Bonjour,

Voilà, j'ai réussi. J'en profite donc pour expliquer les manipulations.
Sur une debian :

- apt-get install openoffice.org poppler-utils

- /usr/lib/openoffice/program/unopkg add nxSkipInstallWizard.oxt

- /usr/lib/openoffice/program/unopkg add nxOOoAutoListen.oxt

- apt-get install ghostscript

Modification de usr\ori\esup-ecm\nuxeo-dm-5.3.1-jboss\server\default\deploy\nuxeo.ear\config\ooo-config.xml en mettant à "false" ces 2 variables : enableDaemon et autoStart

- find / -name pdftohtml –print ( permet de savoir ou est installé pdftohtml )

- créé le fichier pdf2html-config.xml dans esup-ecm/nuxeo-dm-5.3.1-jboss/server/default/deploy/nuxeo.ear/config et y ajouter :

<?xml version="1.0"?>
<component name="com.myproject.pdftohtml.config">

  <extension target="org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent"
    point="command">

    <command name="pdftohtml" enabled="true">
      <commandLine>/usr/bin/pdftohtml</commandLine>
      <parameterString> -c -noframes #{inFilePath} #{outDirPath}/index.html</parameterString>
      <installationDirective>You need to install pdftohtml</installationDirective>
    </command>

  </extension>

</component>


Puis :
-  /usr/lib/openoffice/nxOOo/nxopenoffice start
- /usr/ori/esup-ecm/nuxeo-dm-5.3.1-jboss/bin/jbossctl start




Cordialement.




françois lefebvre a écrit :
Alors j'ai un peu avancé :

J'ai mis dans le fichier oo-config.xml les variables : enableDaemon et autoStart à false.

J'ai donc lancé manuellement le service OO listener et ensuite nuxeo.

J'ai donc l'icône PDF. Par contre, toujours le soucis de : Assurez-vous que l'application OpenOffice est installée et écoute sur le port 8100 du serveur Nuxeo EP


Dans les logs de nuxeo :

INFO  [SocketOpenOfficeConnection] connected
ERROR [JODBasedConverter] An error occured trying to convert a file to from text/html to application/pdf: conversion failed: could not load input document


Voilà ou j'en suis.





karen raynal a écrit :
Je ne comprends pas pourquoi il renvoie ces options s'il a été démarré comme indiqué plus bas ?...
Chez moi j'ai bien :
ps aux | grep office
jboss     8317  0.0  2.6 766836 215788 ?       Sl   Jun04   0:15 /opt/openoffice.org3/program/soffice.bin -headless -nofirststartwizard -accept=socket,host=localhost,port=8100;urp;StarOffice.Service
Il faudrait essayer d'arrêter ce process et le relancer comme indiqué.

La commande : ps aux | grep openoffice renvoi :
/usr/lib/openoffice/program/soffice.bin -env:UserInstallation=file:///tmp/nxoosrv0 -headless -norestore -invisible -nofirststartwizard -accept=pipe,name=daemon-instance-0;urp; -splash-pipe=5

L'icône PDF est bien affichée, mais en cliquant dessus, il m'affiche :

Assurez-vous que l'application OpenOffice est installée et écoute sur le port 8100 du serveur Nuxeo EP. Pour lancer OpenOffice en mode serveur, utilisez une des commandes suivantes:

/path/to/openoffice/program/soffice.bin -headless -nofirststartwizard -accept="socket,host=localhost,port=8100;urp;StarOffice.Service"

Or le service tourne....







françois lefebvre a écrit :
Bonjour,

Sous ma debian, voici les manip que j'ai fait :

- apt-get install openoffice.org

- /usr/lib/openoffice/program/unopkg add /home/orioai/src/esup-ecm-svn/nxOOo/patch/nxSkipInstallWizard.oxt

- /usr/lib/openoffice/program/unopkg add /home/orioai/src/esup-ecm-svn/nxOOo/patch/nxOOoAutoListen.oxt

- apt-get install ghostscript poppler-utils

 

Config de : usr\ori\esup-ecm\nuxeo-dm-5.3.1-jboss\server\default\deploy\nuxeo.ear\config\ooo-config.xml de cette manière  :

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.convert.oooDaemon.config.default">

  <extension target="org.nuxeo.ecm.platform.convert.oooserver.OOoDaemonManagerComponent"
    point="oooServerConfig">

  <OOoServer>
    <!-- enable Nuxeo Daemon to manage OOo server instances : default is true -->
    <enableDaemon>true</enableDaemon>
    <!-- define OOo server listen IP : used even if daemon is disabled -->
    <oooListenIP>127.0.0.1</oooListenIP>
    <!-- define OOo server listen port : used even if daemon is disabled -->
    <oooListenPort>8100</oooListenPort>
    <!-- define Daemon listen port : used only if daemon is enabled -->
    <oooDaemonListenPort>8101</oooDaemonListenPort>
    <!-- define number of OOo worker process : used only if daemon is enabled -->
    <oooWorkers>1</oooWorkers>
    <!-- define maximum wait time in second before timeout -->
    <oooServerStartTimeout>60</oooServerStartTimeout>

    <!-- define OOo installation path : used only if daemon is enabled -->
    <!-- if not defined Nuxeo will try to find the path automatically -->
    <oooInstallationPath>/usr/lib/openoffice/program</oooInstallationPath>

    <!-- define jpipe library path : used only for OOo 3 -->
    <jpipeLibPath> /usr/lib/ure/lib</jpipeLibPath>


    <!-- define number of time a worker process can be used before being recycled: used only if daemon is enabled -->
    <oooWorkersRecycleInterval>10</oooWorkersRecycleInterval>

    <!-- define is Daemon is started at server startup : used only if daemon is enabled -->
    <autoStart>false</autoStart>

  </OOoServer>

  </extension>

</component>

 - find / -name pdftohtml --print ( pour savoir ou se trouve pdftohtml )

- j'ai ensuite créé le fichier pdf2html-config.xml avec ceci dedans :

<?xml version="1.0"?>
<component name="com.myproject.pdftohtml.config">

  <extension target="org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent"
    point="command">

    <command name="pdftohtml" enabled="true">
      <commandLine>/usr/bin/pdftohtml</commandLine>
      <parameterString> -c -noframes #{inFilePath} #{outDirPath}/index.html</parameterString>
      <installationDirective>You need to install pdftohtml</installationDirective>
    </command>

  </extension>

</component>


Et ensuite, j'ai tout lancé :

- /usr/lib/openoffice/program/soffice.bin -headless --nofirststartwizard -accept="socket,host=localhost,port=8100;urp;StarOffice.Service"
- /usr/ori/esup-ecm/nuxeo-dm-5.3.1-jboss/bin/jbossctl start


J'ai eu la chance de voir apparaitre l'icône PDF, mais avec un message me demandant de vérifier que le serveur OO écoutait bien.
Après quelques modifications, je n'ai plus l'icône :/


Merci pour votre aide.




karen raynal a écrit :
Bonjour,

Bonjour Karen, merci pour le lien.

Je l'ai donc suivi du mieux que je peux.

Mon soucis a présent est :

13:03:18,812 ERROR [OOoDaemonManagerComponent] OOo Daemon thread existed
java.lang.UnsatisfiedLinkError: com.sun.star.lib.connections.pipe.PipeConnection.createJNI(Ljava/lang/String;)I

Sachant que j'ai utilisé OO3, il faut configurer la variable jpipelibpath, mais le répertoire /usr/lib/openoffice/ure/lib/ est vide.

c'est étonnant ...
Comment as-tu installé OpenOffice ? Est-il démarré (avec le même user que celui sous lequel tourne le serveur jboss)?

Voici pas à pas l'install qu'on a fait ici (et qui fonctionne) sur une RedHat.

wget http://download.services.openoffice.org/files/stable/3.2.0/OOo_3.2.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz
tar -zxvf OOo_3.2.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz
cd OOO320_m12_native_packed-1_en-US.9483/
./setup
cd RPMS/
mv *integration*.rpm desktop-integration/
mv jre-6u18-linux-amd64.rpm ../
rpm -ivh *.rpm
wget http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxOOoAutoListen.oxt
wget http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxSkipInstallWizard.oxt
/opt/openoffice.org3/program/unopkg add nxSkipInstallWizard.oxt
/opt/openoffice.org3/program/unopkg add nxOOoAutoListen.oxt
démarrage d'openoffice (attention à demarrer openoffice avec le même user que celui qui fait tourner le serveur jboss)

/opt/openoffice.org3/program/soffice.bin -headless -nofirststartwizard -accept="socket,host=localhost,port=8100;urp;StarOffice.Service"
+ configuration du fichier ooo-config.xml comme expliqué dans la FAQ de Nuxeo.




-- 
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73




-- 
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73

-- 
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73
francoislefebvre
Alors j'ai un peu avancé :

J'ai mis dans le fichier oo-config.xml les variables : enableDaemon et autoStart à false.

J'ai donc lancé manuellement le service OO listener et ensuite nuxeo.

J'ai donc l'icône PDF. Par contre, toujours le soucis de : Assurez-vous que l'application OpenOffice est installée et écoute sur le port 8100 du serveur Nuxeo EP


Dans les logs de nuxeo :

INFO  [SocketOpenOfficeConnection] connected
ERROR [JODBasedConverter] An error occured trying to convert a file to from text/html to application/pdf: conversion failed: could not load input document


Voilà ou j'en suis.





karen raynal a écrit :
Je ne comprends pas pourquoi il renvoie ces options s'il a été démarré comme indiqué plus bas ?...
Chez moi j'ai bien :
ps aux | grep office
jboss     8317  0.0  2.6 766836 215788 ?       Sl   Jun04   0:15 /opt/openoffice.org3/program/soffice.bin -headless -nofirststartwizard -accept=socket,host=localhost,port=8100;urp;StarOffice.Service
Il faudrait essayer d'arrêter ce process et le relancer comme indiqué.

La commande : ps aux | grep openoffice renvoi :
/usr/lib/openoffice/program/soffice.bin -env:UserInstallation=file:///tmp/nxoosrv0 -headless -norestore -invisible -nofirststartwizard -accept=pipe,name=daemon-instance-0;urp; -splash-pipe=5

L'icône PDF est bien affichée, mais en cliquant dessus, il m'affiche :

Assurez-vous que l'application OpenOffice est installée et écoute sur le port 8100 du serveur Nuxeo EP. Pour lancer OpenOffice en mode serveur, utilisez une des commandes suivantes:

/path/to/openoffice/program/soffice.bin -headless -nofirststartwizard -accept="socket,host=localhost,port=8100;urp;StarOffice.Service"

Or le service tourne....







françois lefebvre a écrit :
Bonjour,

Sous ma debian, voici les manip que j'ai fait :

- apt-get install openoffice.org

- /usr/lib/openoffice/program/unopkg add /home/orioai/src/esup-ecm-svn/nxOOo/patch/nxSkipInstallWizard.oxt

- /usr/lib/openoffice/program/unopkg add /home/orioai/src/esup-ecm-svn/nxOOo/patch/nxOOoAutoListen.oxt

- apt-get install ghostscript poppler-utils

 

Config de : usr\ori\esup-ecm\nuxeo-dm-5.3.1-jboss\server\default\deploy\nuxeo.ear\config\ooo-config.xml de cette manière  :

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.convert.oooDaemon.config.default">

  <extension target="org.nuxeo.ecm.platform.convert.oooserver.OOoDaemonManagerComponent"
    point="oooServerConfig">

  <OOoServer>
    <!-- enable Nuxeo Daemon to manage OOo server instances : default is true -->
    <enableDaemon>true</enableDaemon>
    <!-- define OOo server listen IP : used even if daemon is disabled -->
    <oooListenIP>127.0.0.1</oooListenIP>
    <!-- define OOo server listen port : used even if daemon is disabled -->
    <oooListenPort>8100</oooListenPort>
    <!-- define Daemon listen port : used only if daemon is enabled -->
    <oooDaemonListenPort>8101</oooDaemonListenPort>
    <!-- define number of OOo worker process : used only if daemon is enabled -->
    <oooWorkers>1</oooWorkers>
    <!-- define maximum wait time in second before timeout -->
    <oooServerStartTimeout>60</oooServerStartTimeout>

    <!-- define OOo installation path : used only if daemon is enabled -->
    <!-- if not defined Nuxeo will try to find the path automatically -->
    <oooInstallationPath>/usr/lib/openoffice/program</oooInstallationPath>

    <!-- define jpipe library path : used only for OOo 3 -->
    <jpipeLibPath> /usr/lib/ure/lib</jpipeLibPath>


    <!-- define number of time a worker process can be used before being recycled: used only if daemon is enabled -->
    <oooWorkersRecycleInterval>10</oooWorkersRecycleInterval>

    <!-- define is Daemon is started at server startup : used only if daemon is enabled -->
    <autoStart>false</autoStart>

  </OOoServer>

  </extension>

</component>

 - find / -name pdftohtml --print ( pour savoir ou se trouve pdftohtml )

- j'ai ensuite créé le fichier pdf2html-config.xml avec ceci dedans :

<?xml version="1.0"?>
<component name="com.myproject.pdftohtml.config">

  <extension target="org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent"
    point="command">

    <command name="pdftohtml" enabled="true">
      <commandLine>/usr/bin/pdftohtml</commandLine>
      <parameterString> -c -noframes #{inFilePath} #{outDirPath}/index.html</parameterString>
      <installationDirective>You need to install pdftohtml</installationDirective>
    </command>

  </extension>

</component>


Et ensuite, j'ai tout lancé :

- /usr/lib/openoffice/program/soffice.bin -headless --nofirststartwizard -accept="socket,host=localhost,port=8100;urp;StarOffice.Service"
- /usr/ori/esup-ecm/nuxeo-dm-5.3.1-jboss/bin/jbossctl start


J'ai eu la chance de voir apparaitre l'icône PDF, mais avec un message me demandant de vérifier que le serveur OO écoutait bien.
Après quelques modifications, je n'ai plus l'icône :/


Merci pour votre aide.




karen raynal a écrit :
Bonjour,

Bonjour Karen, merci pour le lien.

Je l'ai donc suivi du mieux que je peux.

Mon soucis a présent est :

13:03:18,812 ERROR [OOoDaemonManagerComponent] OOo Daemon thread existed
java.lang.UnsatisfiedLinkError: com.sun.star.lib.connections.pipe.PipeConnection.createJNI(Ljava/lang/String;)I

Sachant que j'ai utilisé OO3, il faut configurer la variable jpipelibpath, mais le répertoire /usr/lib/openoffice/ure/lib/ est vide.

c'est étonnant ...
Comment as-tu installé OpenOffice ? Est-il démarré (avec le même user que celui sous lequel tourne le serveur jboss)?

Voici pas à pas l'install qu'on a fait ici (et qui fonctionne) sur une RedHat.

wget http://download.services.openoffice.org/files/stable/3.2.0/OOo_3.2.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz
tar -zxvf OOo_3.2.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz
cd OOO320_m12_native_packed-1_en-US.9483/
./setup
cd RPMS/
mv *integration*.rpm desktop-integration/
mv jre-6u18-linux-amd64.rpm ../
rpm -ivh *.rpm
wget http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxOOoAutoListen.oxt
wget http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxSkipInstallWizard.oxt
/opt/openoffice.org3/program/unopkg add nxSkipInstallWizard.oxt
/opt/openoffice.org3/program/unopkg add nxOOoAutoListen.oxt
démarrage d'openoffice (attention à demarrer openoffice avec le même user que celui qui fait tourner le serveur jboss)

/opt/openoffice.org3/program/soffice.bin -headless -nofirststartwizard -accept="socket,host=localhost,port=8100;urp;StarOffice.Service"
+ configuration du fichier ooo-config.xml comme expliqué dans la FAQ de Nuxeo.




-- 
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73




-- 
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73
francoislefebvre
Bonjour,

Sous ma debian, voici les manip que j'ai fait :

- apt-get install openoffice.org

- /usr/lib/openoffice/program/unopkg add /home/orioai/src/esup-ecm-svn/nxOOo/patch/nxSkipInstallWizard.oxt

- /usr/lib/openoffice/program/unopkg add /home/orioai/src/esup-ecm-svn/nxOOo/patch/nxOOoAutoListen.oxt

- apt-get install ghostscript poppler-utils

 

Config de : usr\ori\esup-ecm\nuxeo-dm-5.3.1-jboss\server\default\deploy\nuxeo.ear\config\ooo-config.xml de cette manière  :

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.convert.oooDaemon.config.default">

  <extension target="org.nuxeo.ecm.platform.convert.oooserver.OOoDaemonManagerComponent"
    point="oooServerConfig">

  <OOoServer>
    <!-- enable Nuxeo Daemon to manage OOo server instances : default is true -->
    <enableDaemon>true</enableDaemon>
    <!-- define OOo server listen IP : used even if daemon is disabled -->
    <oooListenIP>127.0.0.1</oooListenIP>
    <!-- define OOo server listen port : used even if daemon is disabled -->
    <oooListenPort>8100</oooListenPort>
    <!-- define Daemon listen port : used only if daemon is enabled -->
    <oooDaemonListenPort>8101</oooDaemonListenPort>
    <!-- define number of OOo worker process : used only if daemon is enabled -->
    <oooWorkers>1</oooWorkers>
    <!-- define maximum wait time in second before timeout -->
    <oooServerStartTimeout>60</oooServerStartTimeout>

    <!-- define OOo installation path : used only if daemon is enabled -->
    <!-- if not defined Nuxeo will try to find the path automatically -->
    <oooInstallationPath>/usr/lib/openoffice/program</oooInstallationPath>

    <!-- define jpipe library path : used only for OOo 3 -->
    <jpipeLibPath> /usr/lib/ure/lib</jpipeLibPath>


    <!-- define number of time a worker process can be used before being recycled: used only if daemon is enabled -->
    <oooWorkersRecycleInterval>10</oooWorkersRecycleInterval>

    <!-- define is Daemon is started at server startup : used only if daemon is enabled -->
    <autoStart>false</autoStart>

  </OOoServer>

  </extension>

</component>


 - find / -name pdftohtml –print ( pour savoir ou se trouve pdftohtml )

- j'ai ensuite créé le fichier pdf2html-config.xml avec ceci dedans :

<?xml version="1.0"?>
<component name="com.myproject.pdftohtml.config">

  <extension target="org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent"
    point="command">

    <command name="pdftohtml" enabled="true">
      <commandLine>/usr/bin/pdftohtml</commandLine>
      <parameterString> -c -noframes #{inFilePath} #{outDirPath}/index.html</parameterString>
      <installationDirective>You need to install pdftohtml</installationDirective>
    </command>

  </extension>

</component>


Et ensuite, j'ai tout lancé :

- /usr/lib/openoffice/program/soffice.bin -headless –nofirststartwizard -accept="socket,host=localhost,port=8100;urp;StarOffice.Service"
- /usr/ori/esup-ecm/nuxeo-dm-5.3.1-jboss/bin/jbossctl start


J'ai eu la chance de voir apparaitre l'icône PDF, mais avec un message me demandant de vérifier que le serveur OO écoutait bien.
Après quelques modifications, je n'ai plus l'icône :/


Merci pour votre aide.




karen raynal a écrit :
Bonjour,

Bonjour Karen, merci pour le lien.

Je l'ai donc suivi du mieux que je peux.

Mon soucis a présent est :

13:03:18,812 ERROR [OOoDaemonManagerComponent] OOo Daemon thread existed
java.lang.UnsatisfiedLinkError: com.sun.star.lib.connections.pipe.PipeConnection.createJNI(Ljava/lang/String;)I

Sachant que j'ai utilisé OO3, il faut configurer la variable jpipelibpath, mais le répertoire /usr/lib/openoffice/ure/lib/ est vide.

c'est étonnant ...
Comment as-tu installé OpenOffice ? Est-il démarré (avec le même user que celui sous lequel tourne le serveur jboss)?

Voici pas à pas l'install qu'on a fait ici (et qui fonctionne) sur une RedHat.

wget http://download.services.openoffice.org/files/stable/3.2.0/OOo_3.2.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz
tar -zxvf OOo_3.2.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz
cd OOO320_m12_native_packed-1_en-US.9483/
./setup
cd RPMS/
mv *integration*.rpm desktop-integration/
mv jre-6u18-linux-amd64.rpm ../
rpm -ivh *.rpm
wget http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxOOoAutoListen.oxt
wget http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxSkipInstallWizard.oxt
/opt/openoffice.org3/program/unopkg add nxSkipInstallWizard.oxt
/opt/openoffice.org3/program/unopkg add nxOOoAutoListen.oxt
démarrage d'openoffice (attention à demarrer openoffice avec le même user que celui qui fait tourner le serveur jboss)

/opt/openoffice.org3/program/soffice.bin -headless -nofirststartwizard -accept="socket,host=localhost,port=8100;urp;StarOffice.Service"
+ configuration du fichier ooo-config.xml comme expliqué dans la FAQ de Nuxeo.




-- 
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73
francoislefebvre
Petite précision :

Pendant que je rédigeais cet email, j'ai mis le daemon à TRUE.

La commande : ps aux | grep openoffice renvoi :
/usr/lib/openoffice/program/soffice.bin -env:UserInstallation=file:///tmp/nxoosrv0 -headless -norestore -invisible -nofirststartwizard -accept=pipe,name=daemon-instance-0;urp; -splash-pipe=5

L'icône PDF est bien affichée, mais en cliquant dessus, il m'affiche :

Assurez-vous que l'application OpenOffice est installée et écoute sur le port 8100 du serveur Nuxeo EP. Pour lancer OpenOffice en mode serveur, utilisez une des commandes suivantes:

/path/to/openoffice/program/soffice.bin -headless -nofirststartwizard -accept="socket,host=localhost,port=8100;urp;StarOffice.Service"

Or le service tourne....







françois lefebvre a écrit :
Bonjour,

Sous ma debian, voici les manip que j'ai fait :

- apt-get install openoffice.org

- /usr/lib/openoffice/program/unopkg add /home/orioai/src/esup-ecm-svn/nxOOo/patch/nxSkipInstallWizard.oxt

- /usr/lib/openoffice/program/unopkg add /home/orioai/src/esup-ecm-svn/nxOOo/patch/nxOOoAutoListen.oxt

- apt-get install ghostscript poppler-utils

 

Config de : usr\ori\esup-ecm\nuxeo-dm-5.3.1-jboss\server\default\deploy\nuxeo.ear\config\ooo-config.xml de cette manière  :

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.convert.oooDaemon.config.default">

  <extension target="org.nuxeo.ecm.platform.convert.oooserver.OOoDaemonManagerComponent"
    point="oooServerConfig">

  <OOoServer>
    <!-- enable Nuxeo Daemon to manage OOo server instances : default is true -->
    <enableDaemon>true</enableDaemon>
    <!-- define OOo server listen IP : used even if daemon is disabled -->
    <oooListenIP>127.0.0.1</oooListenIP>
    <!-- define OOo server listen port : used even if daemon is disabled -->
    <oooListenPort>8100</oooListenPort>
    <!-- define Daemon listen port : used only if daemon is enabled -->
    <oooDaemonListenPort>8101</oooDaemonListenPort>
    <!-- define number of OOo worker process : used only if daemon is enabled -->
    <oooWorkers>1</oooWorkers>
    <!-- define maximum wait time in second before timeout -->
    <oooServerStartTimeout>60</oooServerStartTimeout>

    <!-- define OOo installation path : used only if daemon is enabled -->
    <!-- if not defined Nuxeo will try to find the path automatically -->
    <oooInstallationPath>/usr/lib/openoffice/program</oooInstallationPath>

    <!-- define jpipe library path : used only for OOo 3 -->
    <jpipeLibPath> /usr/lib/ure/lib</jpipeLibPath>


    <!-- define number of time a worker process can be used before being recycled: used only if daemon is enabled -->
    <oooWorkersRecycleInterval>10</oooWorkersRecycleInterval>

    <!-- define is Daemon is started at server startup : used only if daemon is enabled -->
    <autoStart>false</autoStart>

  </OOoServer>

  </extension>

</component>


 - find / -name pdftohtml –print ( pour savoir ou se trouve pdftohtml )

- j'ai ensuite créé le fichier pdf2html-config.xml avec ceci dedans :

<?xml version="1.0"?>
<component name="com.myproject.pdftohtml.config">

  <extension target="org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent"
    point="command">

    <command name="pdftohtml" enabled="true">
      <commandLine>/usr/bin/pdftohtml</commandLine>
      <parameterString> -c -noframes #{inFilePath} #{outDirPath}/index.html</parameterString>
      <installationDirective>You need to install pdftohtml</installationDirective>
    </command>

  </extension>

</component>


Et ensuite, j'ai tout lancé :

- /usr/lib/openoffice/program/soffice.bin -headless –nofirststartwizard -accept="socket,host=localhost,port=8100;urp;StarOffice.Service"
- /usr/ori/esup-ecm/nuxeo-dm-5.3.1-jboss/bin/jbossctl start


J'ai eu la chance de voir apparaitre l'icône PDF, mais avec un message me demandant de vérifier que le serveur OO écoutait bien.
Après quelques modifications, je n'ai plus l'icône :/


Merci pour votre aide.




karen raynal a écrit :
Bonjour,

Bonjour Karen, merci pour le lien.

Je l'ai donc suivi du mieux que je peux.

Mon soucis a présent est :

13:03:18,812 ERROR [OOoDaemonManagerComponent] OOo Daemon thread existed
java.lang.UnsatisfiedLinkError: com.sun.star.lib.connections.pipe.PipeConnection.createJNI(Ljava/lang/String;)I

Sachant que j'ai utilisé OO3, il faut configurer la variable jpipelibpath, mais le répertoire /usr/lib/openoffice/ure/lib/ est vide.

c'est étonnant ...
Comment as-tu installé OpenOffice ? Est-il démarré (avec le même user que celui sous lequel tourne le serveur jboss)?

Voici pas à pas l'install qu'on a fait ici (et qui fonctionne) sur une RedHat.

wget http://download.services.openoffice.org/files/stable/3.2.0/OOo_3.2.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz
tar -zxvf OOo_3.2.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz
cd OOO320_m12_native_packed-1_en-US.9483/
./setup
cd RPMS/
mv *integration*.rpm desktop-integration/
mv jre-6u18-linux-amd64.rpm ../
rpm -ivh *.rpm
wget http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxOOoAutoListen.oxt
wget http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxSkipInstallWizard.oxt
/opt/openoffice.org3/program/unopkg add nxSkipInstallWizard.oxt
/opt/openoffice.org3/program/unopkg add nxOOoAutoListen.oxt
démarrage d'openoffice (attention à demarrer openoffice avec le même user que celui qui fait tourner le serveur jboss)

/opt/openoffice.org3/program/soffice.bin -headless -nofirststartwizard -accept="socket,host=localhost,port=8100;urp;StarOffice.Service"
+ configuration du fichier ooo-config.xml comme expliqué dans la FAQ de Nuxeo.




-- 
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73

-- 
Cordialement.


François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73
karenraynal
Je ne comprends pas pourquoi il renvoie ces options s'il a été démarré
comme indiqué plus bas ?...
Chez moi j'ai bien :
ps aux | grep office
jboss 8317 0.0 2.6 766836 215788 ? Sl Jun04 0:15
/opt/openoffice.org3/program/soffice.bin -headless -nofirststartwizard
-accept=socket,host=localhost,port=8100;urp;StarOffice.Service
Il faudrait essayer d'arrêter ce process et le relancer comme indiqué.

> La commande : ps aux | grep openoffice renvoi :
> /usr/lib/openoffice/program/soffice.bin
> -env:UserInstallation=file:///tmp/nxoosrv0 -headless -norestore
> -invisible -nofirststartwizard -accept=pipe,name=daemon-instance-0;urp;
> -splash-pipe=5
>
> L'icône PDF est bien affichée, mais en cliquant dessus, il m'affiche :
>
> Assurez-vous que l'application OpenOffice est installée et écoute sur le
> port 8100 du serveur Nuxeo EP. Pour lancer OpenOffice en mode serveur,
> utilisez une des commandes suivantes:
>
> /path/to/openoffice/program/soffice.bin -headless -nofirststartwizard
> -accept="socket,host=localhost,port=8100;urp;StarOffice.Service"
>
> Or le service tourne....
>
>
>
>
>
>
>
> françois lefebvre a écrit :

>> Bonjour,
>>
>> Sous ma debian, voici les manip que j'ai fait :
>>
>> - apt-get install openoffice.org
>>
>> - /usr/lib/openoffice/program/unopkg add
>> /home/orioai/src/esup-ecm-svn/nxOOo/patch/nxSkipInstallWizard.oxt
>>
>> - /usr/lib/openoffice/program/unopkg add
>> /home/orioai/src/esup-ecm-svn/nxOOo/patch/nxOOoAutoListen.oxt
>>
>> - apt-get install ghostscript poppler-utils
>>
>>
>>
>> Config de :
>> usr\ori\esup-ecm\nuxeo-dm-5.3.1-jboss\server\default\deploy\nuxeo.ear\config\ooo-config.xml
>> de cette manière :
>>
>>
>> >> name="org.nuxeo.ecm.platform.convert.oooDaemon.config.default">
>>
>> >> target="org.nuxeo.ecm.platform.convert.oooserver.OOoDaemonManagerComponent"
>>
>> point="oooServerConfig">
>>
>>
>>

>> true
>>

>> 127.0.0.1
>>

>> 8100
>>

>> 8101
>>

>> 1
>>

>> 60
>>
>>

>>

>>
>> /usr/lib/openoffice/program
>>
>>

>> /usr/lib/ure/lib
>>
>>
>>

>> 10
>>
>>

>> false
>>
>>
>>
>>
>>
>>
>>
>> - find / -name pdftohtml --print ( pour savoir ou se trouve pdftohtml )
>>
>> - j'ai ensuite créé le fichier pdf2html-config.xml avec ceci dedans :
>>
>>
>>
>>
>> >> target="org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent"
>>
>> point="command">
>>
>>
>> /usr/bin/pdftohtml
>>
-c -noframes #{inFilePath}
>> #{outDirPath}/index.html
>> You need to install
>> pdftohtml

>>

>>
>>
>>
>>

>>
>>
>> Et ensuite, j'ai tout lancé :
>>
>> - /usr/lib/openoffice/program/soffice.bin -headless
>> --nofirststartwizard
>> -accept="socket,host=localhost,port=8100;urp;StarOffice.Service"
>> - /usr/ori/esup-ecm/nuxeo-dm-5.3.1-jboss/bin/jbossctl start
>>
>>
>> J'ai eu la chance de voir apparaitre l'icône PDF, mais avec un message
>> me demandant de vérifier que le serveur OO écoutait bien.
>> Après quelques modifications, je n'ai plus l'icône :/
>>
>>
>> Merci pour votre aide.
>>
>>
>>
>>
>> karen raynal a écrit :

>>> Bonjour,
>>>

>>>> Bonjour Karen, merci pour le lien.
>>>>
>>>> Je l'ai donc suivi du mieux que je peux.
>>>>
>>>> Mon soucis a présent est :
>>>>
>>>> 13:03:18,812 ERROR [OOoDaemonManagerComponent] OOo Daemon thread
>>>> existed
>>>> java.lang.UnsatisfiedLinkError:
>>>> com.sun.star.lib.connections.pipe.PipeConnection.createJNI(Ljava/lang/String;)I
>>>>
>>>>
>>>> Sachant que j'ai utilisé OO3, il faut configurer la variable
>>>> jpipelibpath, mais le répertoire /usr/lib/openoffice/ure/lib/ est vide.

>>>
>>> c'est étonnant ...
>>> Comment as-tu installé OpenOffice ? Est-il démarré (avec le même user
>>> que celui sous lequel tourne le serveur jboss)?
>>>
>>> Voici pas à pas l'install qu'on a fait ici (et qui fonctionne) sur
>>> une RedHat.
>>>
>>> wget
>>> http://download.services.openoffice.org/files/stable/3.2.0/OOo_3.2.0_Lin...
>>>
>>> tar -zxvf OOo_3.2.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz
>>> cd OOO320_m12_native_packed-1_en-US.9483/
>>> ./setup
>>> cd RPMS/
>>> mv *integration*.rpm desktop-integration/
>>> mv jre-6u18-linux-amd64.rpm ../
>>> rpm -ivh *.rpm
>>> wget http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxOOoAutoListen.oxt
>>> wget
>>> http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxSkipInstallWizard.oxt
>>> /opt/openoffice.org3/program/unopkg add nxSkipInstallWizard.oxt
>>> /opt/openoffice.org3/program/unopkg add nxOOoAutoListen.oxt
>>> démarrage d'openoffice (attention à demarrer openoffice avec le même
>>> user que celui qui fait tourner le serveur jboss)
>>>
>>> /opt/openoffice.org3/program/soffice.bin -headless
>>> -nofirststartwizard
>>> -accept="socket,host=localhost,port=8100;urp;StarOffice.Service"
>>> + configuration du fichier ooo-config.xml comme expliqué dans la FAQ
>>> de Nuxeo.
>>>
>>>
>>>

>>
>> --
>> Cordialement.
>>
>>
>> François Lefebvre
>> Bibliothèque Universitaire de Lille 1
>> Cité Scientifique - B.P. 30155
>> 59653 VILLENEUVE D'ASCQ CEDEX
>> Tél.: 03.20.33.60.73

>

karenraynal
Bonjour,

> Bonjour Karen, merci pour le lien.
>
> Je l'ai donc suivi du mieux que je peux.
>
> Mon soucis a présent est :
>
> 13:03:18,812 ERROR [OOoDaemonManagerComponent] OOo Daemon thread existed
> java.lang.UnsatisfiedLinkError:
> com.sun.star.lib.connections.pipe.PipeConnection.createJNI(Ljava/lang/String;)I
>
>
> Sachant que j'ai utilisé OO3, il faut configurer la variable
> jpipelibpath, mais le répertoire /usr/lib/openoffice/ure/lib/ est vide.

c'est étonnant ...
Comment as-tu installé OpenOffice ? Est-il démarré (avec le même user
que celui sous lequel tourne le serveur jboss)?

Voici pas à pas l'install qu'on a fait ici (et qui fonctionne) sur une
RedHat.

wget
http://download.services.openoffice.org/files/stable/3.2.0/OOo_3.2.0_Lin...
tar -zxvf OOo_3.2.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz
cd OOO320_m12_native_packed-1_en-US.9483/
./setup
cd RPMS/
mv *integration*.rpm desktop-integration/
mv jre-6u18-linux-amd64.rpm ../
rpm -ivh *.rpm
wget http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxOOoAutoListen.oxt
wget http://svn.nuxeo.org/nuxeo/tools/ooo/extensions/nxSkipInstallWizard.oxt
/opt/openoffice.org3/program/unopkg add nxSkipInstallWizard.oxt
/opt/openoffice.org3/program/unopkg add nxOOoAutoListen.oxt
démarrage d'openoffice (attention à demarrer openoffice avec le même
user que celui qui fait tourner le serveur jboss)

/opt/openoffice.org3/program/soffice.bin -headless -nofirststartwizard
-accept="socket,host=localhost,port=8100;urp;StarOffice.Service"
+ configuration du fichier ooo-config.xml comme expliqué dans la FAQ de
Nuxeo.

francoislefebvre
Bonjour Karen, merci pour le lien.

Je l'ai donc suivi du mieux que je peux.

Mon soucis a présent est :

13:03:18,812 ERROR [OOoDaemonManagerComponent] OOo Daemon thread existed
java.lang.UnsatisfiedLinkError:
com.sun.star.lib.connections.pipe.PipeConnection.createJNI(Ljava/lang/String;)I

Sachant que j'ai utilisé OO3, il faut configurer la variable
jpipelibpath, mais le répertoire /usr/lib/openoffice/ure/lib/ est vide.

Comment faire pour installer la librairie jpipe ?

Merci.

karen raynal a écrit :

> Bonjour,
> Nuxeo fonctionne aussi avec openoffice 3 (et ça permet de convertir en
> plus les formats office 2007).
> niveau configuration, se reporter à cette page :
> http://www.nuxeo.org/xwiki/bin/view/FAQ/previewOfficeMac
> --
> Karen Raynal
> DI - Université Boreaux 1
>
>
>

>> Bonjour,
>>
>> Je me galère à trouver un openoffice 2.4 au format deb pour
>> l'installer avec nuxeo :/
>> Le site d'OpenOffice ne propose que la version 3.0 au minimum.
>>
>> Quelqu'un sait ou je pourrai le télécharger ?
>>
>> Merci
>>

>
>

--
Cordialement.

François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73

francoislefebvre
Bonjour a tous,

Merci pour les infos, je vais essayer de faire fonctionner tout ca.

Par contre, y a t il des formations/présentations de prévues sur ce module ?
Car je l'installe sans savoir ce qu'on peut en faire. Cela permet de
stockage, mais ensuite rien...

Personnellement, au niveau de l'utilisation, je le trouve assez
compliqué. Je fais uniquement du stockage pour ensuite publier, mais les
workflows internes, le travail collaboratif etc... je vois mal le
personnel l'utiliser.

Ne sachant pas correctement l'utiliser, je ne sais pas comment faire une
aide à proposer aux utilisateurs.

Jacques va t il pouvoir nous faire une formation niveau 2 de ORI OAI,
voir même nous montrer les possibilités du fameux esup ecm ?

Cordialement.

karen raynal a écrit :

> Bonjour,
> Nuxeo fonctionne aussi avec openoffice 3 (et ça permet de convertir en
> plus les formats office 2007).
> niveau configuration, se reporter à cette page :
> http://www.nuxeo.org/xwiki/bin/view/FAQ/previewOfficeMac
> --
> Karen Raynal
> DI - Université Boreaux 1
>
>
>

>> Bonjour,
>>
>> Je me galère à trouver un openoffice 2.4 au format deb pour
>> l'installer avec nuxeo :/
>> Le site d'OpenOffice ne propose que la version 3.0 au minimum.
>>
>> Quelqu'un sait ou je pourrai le télécharger ?
>>
>> Merci
>>

>
>

--
Cordialement.

François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73

karenraynal
Bonjour,
Nuxeo fonctionne aussi avec openoffice 3 (et ça permet de convertir en
plus les formats office 2007).
niveau configuration, se reporter à cette page :
http://www.nuxeo.org/xwiki/bin/view/FAQ/previewOfficeMac
--
Karen Raynal
DI - Université Boreaux 1

> Bonjour,
>
> Je me galère à trouver un openoffice 2.4 au format deb pour l'installer
> avec nuxeo :/
> Le site d'OpenOffice ne propose que la version 3.0 au minimum.
>
> Quelqu'un sait ou je pourrai le télécharger ?
>
> Merci
>

Daniel Berthereau
Bonjour,

Je ne sais pas si cela peux vous aider, mais pour Debian, vous trouverez
les principales versions ici :
http://ftp.debian.org/debian/pool/main/o/openoffice.org/
et pour la variante Ubuntu ici :
ftp://ftp.ubuntu.com/ubuntu/pool/main/o/

Cordialement,

Daniel Berthereau
| daniel.berthereau@insa-lyon.fr
| +33 (0)4 72 43 74 46
| Doc'INSA - INSA Lyon
| http://scd.docinsa.insa-lyon.fr

Le 10/06/2010 14:38, françois lefebvre a écrit :

> Bonjour,
>
> Je me galère à trouver un openoffice 2.4 au format deb pour
> l'installer avec nuxeo :/
> Le site d'OpenOffice ne propose que la version 3.0 au minimum.
>
> Quelqu'un sait ou je pourrai le télécharger ?
>
> Merci
>

francoislefebvre
Bonjour,

Je me galère à trouver un openoffice 2.4 au format deb pour l'installer
avec nuxeo :/
Le site d'OpenOffice ne propose que la version 3.0 au minimum.

Quelqu'un sait ou je pourrai le télécharger ?

Merci

--
Cordialement.

François Lefebvre
Bibliothèque Universitaire de Lille 1
Cité Scientifique - B.P. 30155
59653 VILLENEUVE D'ASCQ CEDEX
Tél.: 03.20.33.60.73

Options d'affichage des commentaires

Sélectionnez la méthode d'affichage des commentaires que vous préférez, puis cliquez sur « Enregistrer les paramètres » pour activer vos changements.
Sujet clos