Let me take the easy part first: [root@openmeetings ~]# java -version java version "1.7.0_05-icedtea" OpenJDK Runtime Environment (rhel-2.2.1.el6_3-i386) OpenJDK Client VM (build 23.0-b21, mixed mode)
Now, the thing of it is, even though I installed the Sun/Oracle version, when I installed some other component (libreoffice, I think, but I forget exactly what), a dependency that was installed was OpenJDK. Hmmm. I tried to do the following conversion at the command line: java -jar /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar "FAX COVER SHEET.doc" faxcover.pdf It failed. I got: Exception in thread "main" org.artofsolving.jodconverter.office.OfficeException: could not load document: FAX COVER SHEET.doc ~ Caused by: com.sun.star.lang.IllegalArgumentException: URL seems to be an unsupported one. ~ I can convert MS Word docs, can't I? Dimitri On Monday 30 July 2012 2:27:56 pm Maxim Solodovnik wrote: > Please try to stop it and run jod converter via commandline (jod converter > will start libreoffice automatically) > also please check your java version? > > > java -cp /usr/local/jodconverter/lib/juh-3.2.1.jar > -cp /usr/local/jodconverter/lib/jurt-3.2.1.jar > -cp /usr/local/jodconverter/lib/ridl-3.2.1.jar > -cp /usr/local/jodconverter/lib/unoil-3.2.1.jar > -cp /usr/local/jodconverter/lib/commons-cli-1.1.jar -cp > /usr/local/jodconverter/lib/commons-io-1.4.jar > -cp /usr/local/jodconverter/lib/json-20090211.jar > -cp /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar > -jar /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar > /usr/local/openmeetings/webapps/openmeetings/upload/files/5b494e18e94e7b178 >4cbc2a9b42b161a/5b494e18e94e7b1784cbc2a9b42b161a.doc 1a.pdf > > On Tue, Jul 31, 2012 at 1:23 AM, Dimitri Yioulos <dyiou...@onpointfc.com>wrote: > > Thanks to both Maxim and Alexsei for your responses. CentOS 6.x (and, by > > extension, I'd guess, RHEL 6.x) no longer use openoffice but, rather, > > libreoffice. libreoffice-headless is installed, and is running as a > > service: > > > > tcp 0 0 127.0.0.1:8100 0.0.0.0:* > > LISTEN 13514/soffice.bin > > > > started with: > > > > soffice --headless --accept="socket,host=127.0.0.1,port=8100;urp;" > > --nofirststartwizard > > > > Dimitri > > > > On Monday 30 July 2012 2:08:17 pm Alexei Fedotov wrote: > > > It says, URL seems to be unsupported. > > > > > > The class which produces it is under com.sun, so the problem may be in > > > > the > > > > > old OpenOffice version > > > 30.07.2012 21:54 пользователь "Dimitri Yioulos" > > > <dyiou...@onpointfc.com> > > > > > > написал: > > > > Hello to all. > > > > > > > > I'm not new to Openmeetings, having originally installed and tried it > > > > at > > > > > > least a > > > > couple of years ago. Thanks to Sabastian Wgner for having created > > > > it, and to > > > > Apache for taking the project forward. > > > > > > > > I've installed version 2.0.0 on a CentOS 6.2 server. All of the > > > > prerequisites > > > > are installed, and Openmeetings works well. With the exception of > > > > file uploading, that is. After figuring out the paths of the various > > > > components required to make file uploading work, I'm finally at a > > > > point where I'm stuck. > > > > When I try to upload a file, I get the following (it's verbose; I > > > > apologize): > > > > > > > > Name: out > > > > Value: > > > > Name: exitValue > > > > Value: 1 > > > > Name: command > > > > Value: > > > > [java, -cp, /usr/local/jodconverter/lib/juh-3.2.1.jar, -cp, > > > > /usr/local/jodconverter/lib/jurt-3.2.1.jar, -cp, > > > > /usr/local/jodconverter/lib/ridl-3.2.1.jar, -cp, > > > > /usr/local/jodconverter/lib/unoil-3.2.1.jar, -cp, > > > > /usr/local/jodconverter/lib/commons-cli-1.1.jar, -cp, > > > > /usr/local/jodconverter/lib/commons-io-1.4.jar, -cp, > > > > /usr/local/jodconverter/lib/json-20090211.jar, -cp, > > > > /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar, -jar, > > > > /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar, > > > > /usr/local/openmeetings/webapps/openmeetings/uploadtemp/files/5b494e18e94 > > > > > >e7b1784cbc2a9b42b161a.doc, > > > > /usr/local/openmeetings/webapps/openmeetings/upload/files/5b494e18e94e7b1 > > > > > >784cbc2a9b42b161a/5b494e18e94e7b1784cbc2a9b42b161a.pdf] Name: error > > > > Value: Jul 30, 2012 1:18:25 PM > > > > org.artofsolving.jodconverter.office.ProcessPoolOfficeManager > > > > INFO: ProcessManager implementation is LinuxProcessManager > > > > Jul 30, 2012 1:18:26 PM > > > > org.artofsolving.jodconverter.office.OfficeProcess start > > > > INFO: starting process with > > > > acceptString 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1' and > > > > profileDir '/tmp/.jodconverter_socket_host-127.0.0.1_port-2002' > > > > Jul 30, 2012 1:18:26 PM > > > > org.artofsolving.jodconverter.office.OfficeProcess start > > > > INFO: started process; pid = 13986 > > > > Jul 30, 2012 1:18:26 PM > > > > org.artofsolving.jodconverter.office.OfficeConnection > > > > connect > > > > INFO: connected: 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1' > > > > Jul 30, 2012 1:18:26 PM > > > > org.artofsolving.jodconverter.office.ProcessPoolOfficeManager stop > > > > INFO: stopping > > > > Jul 30, 2012 1:18:26 PM > > > > org.artofsolving.jodconverter.office.OfficeConnection$1 > > > > disposing > > > > INFO: disconnected: 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1' > > > > Jul 30, 2012 1:18:27 PM > > > > org.artofsolving.jodconverter.office.ManagedOfficeProcess > > > > doEnsureProcessExited > > > > INFO: process exited with code 0 > > > > Jul 30, 2012 1:18:27 PM > > > > org.artofsolving.jodconverter.office.ProcessPoolOfficeManager stop > > > > INFO: stopped > > > > Exception in thread "main" > > > > org.artofsolving.jodconverter.office.OfficeException: > > > > could not load document: 5b494e18e94e7b1784cbc2a9b42b161a.doc > > > > at > > > > org.artofsolving.jodconverter.AbstractConversionTask.loadDocument(Abstrac > > > > > >tConversionTask.java:92) at > > > > org.artofsolving.jodconverter.AbstractConversionTask.execute(AbstractConv > > > > > >ersionTask.java:59) at > > > > org.artofsolving.jodconverter.office.PooledOfficeManager$2.run(PooledOffi > > > > > >ceManager.java:80) at > > > > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:47 > > > >1) 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 > > > > > >:1110) at > > > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.jav > > > > > >a:603) at java.lang.Thread.run(Thread.java:722) > > > > Caused by: com.sun.star.lang.IllegalArgumentException: URL seems to > > > > be > > > > an > > > > > > unsupported one. > > > > at > > > > com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedExcept > > > > > >ion(Job.java:177) at > > > > com.sun.star.lib.uno.environments.remote.Job.execute(Job.java:143) > > > > at > > > > com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:335 > > > > > >) at > > > > com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:304 > > > > > >) at > > > > com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter(JavaThreadP > > > > > >ool.java:91) at > > > > com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(j > > > > > >ava_remote_bridge.java:639) at > > > > com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(Pro > > > > > >xyFactory.java:151) at > > > > com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(Prox > > > > > >yFactory.java:133) at $Proxy4.loadComponentFromURL(Unknown Source) > > > > at > > > > org.artofsolving.jodconverter.AbstractConversionTask.loadDocument(Abstrac > > > > > >tConversionTask.java:90) ... 8 more > > > > > > > > Name: process > > > > Value: doJodConvert > > > > Name: exitValue > > > > Value: 0 > > > > Name: command > > > > Value: > > > > Name: completeName > > > > Value: > > > > /usr/local/openmeetings/webapps/openmeetings/uploadtemp/files/5b494e18e94 > > > > > >e7b1784cbc2a9b42b161a Name: error > > > > Value: > > > > Name: fileExplorerItemId > > > > Value: 7 > > > > Name: process > > > > Value: > > > > Name: exitValue > > > > Value: 0 > > > > Name: process > > > > Value: generateXMLDocument > > > > Name: out > > > > Value: > > > > Name: exitValue > > > > Value: 1 > > > > Name: command > > > > Value: [/usr/bin/convert, -thumbnail, > > > > 80, > > > > /usr/local/openmeetings/webapps/openmeetings/upload/files/5b494e18e94e7b1 > > > > > >784cbc2a9b42b161a/5b494e18e94e7b1784cbc2a9b42b161a.pdf, > > > > /usr/local/openmeetings/webapps/openmeetings/upload/files/5b494e18e94e7b1 > > > > > >784cbc2a9b42b161a/_thumb_page-%04d.jpg] Name: error > > > > Value: convert: unable to open image > > > > `/usr/local/openmeetings/webapps/openmeetings/upload/files/5b494e18e94e7b > > > > > >1784cbc2a9b42b161a/5b494e18e94e7b1784cbc2a9b42b161a.pdf': No such file > > > > or > > > > > > directory @ blob.c/OpenBlob/2480. > > > > convert: missing an image filename > > > > `/usr/local/openmeetings/webapps/openmeetings/upload/files/5b494e18e94e7b > > > > > >1784cbc2a9b42b161a/_thumb_page-%04d.jpg' @ > > > > convert.c/ConvertImageCommand/2800. > > > > > > > > Name: process > > > > Value: generateBatchThumbByWidth > > > > Name: exitValue > > > > Value: 0 > > > > Name: process > > > > Value: processPDF > > > > Name: out > > > > Value: > > > > Name: exitValue > > > > Value: 1 > > > > Name: command > > > > Value: [/usr/local/bin/pdf2swf, -s, insertstop, -s, poly2bitmap, -i, > > > > -j, > > > > > > 85, -s, > > > > zoom=72, > > > > /usr/local/openmeetings/webapps/openmeetings/upload/files/5b494e18e94e7b1 > > > > > >784cbc2a9b42b161a/5b494e18e94e7b1784cbc2a9b42b161a.pdf, > > > > /usr/local/openmeetings/webapps/openmeetings/upload/files/5b494e18e94e7b1 > > > > > >784cbc2a9b42b161a/5b494e18e94e7b1784cbc2a9b42b161a.swf] Name: error > > > > > > > > Value: Error: Couldn't open > > > > file > > > > '/usr/local/openmeetings/webapps/openmeetings/upload/files/5b494e18e94e7b > > > > > >1784cbc2a9b42b161a/5b494e18e94e7b1784cbc2a9b42b161a.pdf' > > > > > > > > Name: process > > > > Value: generateSwf > > > > > > > > So, it looks like a file couldn't be opened. The file is owner by > > > > root, > > > > > > and has > > > > 644 permissions. Are these set by jodconverter? Anyway, does anyone > > > > know how > > > > I can resolve this issue? > > > > > > > > Many thanks. > > > > > > > > Dimitri > > > > > > > > -- > > > > This message has been scanned for viruses and > > > > dangerous content by MailScanner, and is > > > > believed to be clean. > > > > -- > > This message has been scanned for viruses and > > dangerous content by MailScanner, and is > > believed to be clean. > > -- > WBR > Maxim aka solomax -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.