i have configured the office.path and jod.path in configurations but still
it fails to load the document in white board

jod.path : /usr/local/lib/jodconverter-core-3.0-beta-4/lib
office.path : /usr/lib/openoffice.org3/

here's the error i get when i upload the .doc file

*Name: out*
*Value: *
*Name: exitValue*
*Value: 1*
*Name: command*
*Value: [java, -Doffice.home=/usr/lib/openoffice.org3/, -cp,
/usr/local/lib/jodconverter-core-3.0-beta-4/lib/commons-io-1.4.jar, -cp,
/usr/local/lib/jodconverter-core-3.0-beta-4/lib/unoil-3.2.1.jar, -cp,
/usr/local/lib/jodconverter-core-3.0-beta-4/lib/juh-3.2.1.jar, -cp,
/usr/local/lib/jodconverter-core-3.0-beta-4/lib/commons-cli-1.1.jar, -cp,
/usr/local/lib/jodconverter-core-3.0-beta-4/lib/jurt-3.2.1.jar, -cp,
/usr/local/lib/jodconverter-core-3.0-beta-4/lib/json-20090211.jar, -cp,
/usr/local/lib/jodconverter-core-3.0-beta-4/lib/ridl-3.2.1.jar, -cp,
/usr/local/lib/jodconverter-core-3.0-beta-4/lib/jodconverter-core-3.0-beta-4.jar,
-jar,
/usr/local/lib/jodconverter-core-3.0-beta-4/lib/jodconverter-core-3.0-beta-4.jar,
/opt/red5/webapps/jellvideo/uploadtemp/files/ddc621597ee638a290dc4300f2fc7902.doc,
/opt/red5/webapps/jellvideo/upload/files/ddc621597ee638a290dc4300f2fc7902/ddc621597ee638a290dc4300f2fc7902.pdf]
*
*Name: error*
*Value: May 2, 2012 9:41:13 PM
org.artofsolving.jodconverter.office.ProcessPoolOfficeManager *
*INFO: ProcessManager implementation is LinuxProcessManager*
*May 2, 2012 9:41:13 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'*
*May 2, 2012 9:41:13 PM org.artofsolving.jodconverter.office.OfficeProcess
start*
*INFO: started process; pid = 21847*
*May 2, 2012 9:41:14 PM
org.artofsolving.jodconverter.office.OfficeConnection connect*
*INFO: connected: 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1'*
*May 2, 2012 9:41:15 PM
org.artofsolving.jodconverter.office.ProcessPoolOfficeManager stop*
*INFO: stopping*
*May 2, 2012 9:41:15 PM
org.artofsolving.jodconverter.office.OfficeConnection$1 disposing*
*INFO: disconnected: 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1'*
*May 2, 2012 9:41:15 PM
org.artofsolving.jodconverter.office.ManagedOfficeProcess
doEnsureProcessExited*
*INFO: process exited with code 0*
*May 2, 2012 9:41:15 PM
org.artofsolving.jodconverter.office.ProcessPoolOfficeManager stop*
*INFO: stopped*
*Exception in thread "main"
org.artofsolving.jodconverter.office.OfficeException: could not load
document: ddc621597ee638a290dc4300f2fc7902.doc*
* at
org.artofsolving.jodconverter.AbstractConversionTask.loadDocument(AbstractConversionTask.java:92)
*
* at
org.artofsolving.jodconverter.AbstractConversionTask.execute(AbstractConversionTask.java:59)
*
* at
org.artofsolving.jodconverter.office.PooledOfficeManager$2.run(PooledOfficeManager.java:80)
*
* at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
*
* at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)*
* at java.util.concurrent.FutureTask.run(FutureTask.java:138)*
* at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
*
* at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
*
* at java.lang.Thread.run(Thread.java:662)*
*Caused by: com.sun.star.lang.IllegalArgumentException: URL seems to be an
unsupported one.*
* at
com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedException(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(JavaThreadPool.java:91)
*
* at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:639)
*
* at
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:151)
*
* at
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:133)
*
* at $Proxy4.loadComponentFromURL(Unknown Source)*
* at
org.artofsolving.jodconverter.AbstractConversionTask.loadDocument(AbstractConversionTask.java:90)
*
* ... 8 more*
*
*
*Name: process*
*Value: doJodConvert*
*Name: exitValue*
*Value: 0*
*Name: command*
*Value: *
*Name: completeName*
*Value:
/opt/red5/webapps/jellvideo/uploadtemp/files/ddc621597ee638a290dc4300f2fc7902
*
*Name: error*
*Value: *
*Name: fileExplorerItemId*
*Value: 42*
*Name: process*
*Value: *
*Name: exitValue*
*Value: 0*
*Name: process*
*Value: generateXMLDocument*
*Name: out*
*Value: *
*Name: exitValue*
*Value: 1*
*Name: command*
*Value: [/usr/local/bin/convert, -thumbnail, 80,
/opt/red5/webapps/jellvideo/upload/files/ddc621597ee638a290dc4300f2fc7902/ddc621597ee638a290dc4300f2fc7902.pdf,
/opt/red5/webapps/jellvideo/upload/files/ddc621597ee638a290dc4300f2fc7902/_thumb_page-%04d.jpg]
*
*Name: error*
*Value: convert: unable to open image
`/opt/red5/webapps/jellvideo/upload/files/ddc621597ee638a290dc4300f2fc7902/ddc621597ee638a290dc4300f2fc7902.pdf':
No such file or directory @ error/blob.c/OpenBlob/2614.*
*convert: missing an image filename
`/opt/red5/webapps/jellvideo/upload/files/ddc621597ee638a290dc4300f2fc7902/_thumb_page-%04d.jpg'
@ error/convert.c/ConvertImageCommand/3017.*
*
*
*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,
100,
/opt/red5/webapps/jellvideo/upload/files/ddc621597ee638a290dc4300f2fc7902/ddc621597ee638a290dc4300f2fc7902.pdf,
/opt/red5/webapps/jellvideo/upload/files/ddc621597ee638a290dc4300f2fc7902/ddc621597ee638a290dc4300f2fc7902.swf]
*
*Name: error*
*Value: Error: Couldn't open file
'/opt/red5/webapps/jellvideo/upload/files/ddc621597ee638a290dc4300f2fc7902/ddc621597ee638a290dc4300f2fc7902.pdf'
*
*
*
*Name: process*
*Value: generateSwf*
*
*
*Thanks*
*Baskar*

Reply via email to