So, I've installed openkm 6.2.3. Inside of a FreeBSD jail
I'm trying to get it to use either libreoffice or openoffice. I've got both installed, but neither works at the moment. I think it's got something to do with being in a jail, but that's not a for sure. Anyway, there's a way to set which port that the soffice.bin listener will attache to, is there a way to set the IP?
right now, I've attempted to use both libreaoffice and apache openoffice with identical results:
Another Question:
I just got PDF Text extraction to work (yay, my search engine is indexing now!). So... I've already loaded about a hundred or so PDFs into this, so has my wife. Now... how do I re-run the Text Extractor across the existing PDFs? is this a marker set in the database somewhere?
thanks!
I'm trying to get it to use either libreoffice or openoffice. I've got both installed, but neither works at the moment. I think it's got something to do with being in a jail, but that's not a for sure. Anyway, there's a way to set which port that the soffice.bin listener will attache to, is there a way to set the IP?
right now, I've attempted to use both libreaoffice and apache openoffice with identical results:
Code: Select all
I know others have fired it up standalone on freebsd, but since it seems to want to attach to 127.0.0.1, and the jail will redirect that to the jail ip, this might be the issue. Any help?2013-06-04 19:37:16,836 [localhost-startStop-1] INFO com.openkm.util.DocConverter - *** Build Office Manager ***
2013-06-04 19:37:16,836 [localhost-startStop-1] INFO com.openkm.util.DocConverter - system.openoffice.path=/usr/local/openoffice-3.4.1/openoffice.org3/
2013-06-04 19:37:16,837 [localhost-startStop-1] INFO com.openkm.util.DocConverter - system.openoffice.tasks=200
2013-06-04 19:37:16,837 [localhost-startStop-1] INFO com.openkm.util.DocConverter - system.openoffice.port=9000
2013-06-04 19:37:16,877 [localhost-startStop-1] INFO org.artofsolving.jodconverter.office.ProcessPoolOfficeManager - ProcessManager implementation is SigarProcessManager
2013-06-04 19:37:16,903 [localhost-startStop-1] WARN com.openkm.servlet.RepositoryStartupServlet - failed to start and connect
org.artofsolving.jodconverter.office.OfficeException: failed to start and connect
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.startAndWait(ManagedOfficeProcess.java:64)
at org.artofsolving.jodconverter.office.PooledOfficeManager.start(PooledOfficeManager.java:101)
at org.artofsolving.jodconverter.office.ProcessPoolOfficeManager.start(ProcessPoolOfficeManager.java:62)
at com.openkm.util.DocConverter.start(DocConverter.java:149)
at com.openkm.servlet.RepositoryStartupServlet.start(RepositoryStartupServlet.java:285)
at com.openkm.servlet.RepositoryStartupServlet.init(RepositoryStartupServlet.java:127)
at javax.servlet.GenericServlet.init(GenericServlet.java:160)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1280)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1193)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1088)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5123)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5407)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1114)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1672)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: org.hyperic.sigar.ptql.SigarProcessQuery.create(Ljava/lang/String;)V
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
at java.util.concurrent.FutureTask.get(FutureTask.java:111)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.startAndWait(ManagedOfficeProcess.java:62)
... 23 more
Caused by: java.lang.UnsatisfiedLinkError: org.hyperic.sigar.ptql.SigarProcessQuery.create(Ljava/lang/String;)V
at org.hyperic.sigar.ptql.SigarProcessQuery.create(Native Method)
at org.hyperic.sigar.ptql.ProcessQueryFactory.getQuery(ProcessQueryFactory.java:66)
at org.hyperic.sigar.ptql.ProcessFinder.find(ProcessFinder.java:68)
at org.hyperic.sigar.ptql.ProcessFinder.find(ProcessFinder.java:56)
at org.artofsolving.jodconverter.process.SigarProcessManager.findPid(SigarProcessManager.java:42)
at org.artofsolving.jodconverter.office.OfficeProcess.start(OfficeProcess.java:65)
at org.artofsolving.jodconverter.office.OfficeProcess.start(OfficeProcess.java:60)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.doStartProcessAndConnect(ManagedOfficeProcess.java:119)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.access$000(ManagedOfficeProcess.java:31)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess$1.run(ManagedOfficeProcess.java:58)
... 6 more
Another Question:
I just got PDF Text extraction to work (yay, my search engine is indexing now!). So... I've already loaded about a hundred or so PDFs into this, so has my wife. Now... how do I re-run the Text Extractor across the existing PDFs? is this a marker set in the database somewhere?
thanks!
