Hello Linas, As exception states: "officeHome not set and could not be auto-detected" you need to go to the administration->configurations and set configuration with key "office.path" the path entered should lead to the folder where "program/soffice.bin" is located. i.e.
if locate soffice.bin /usr/lib/libreoffice/program/soffice.bin path_entered == /usr/lib/libreoffice this should help On Wed, Dec 19, 2012 at 7:34 PM, Linas Redeckis <[email protected]> wrote: > Its best practice not to touch anything if it works fine. But NO - i had > to be curious and try new OM2 .. > > So i took fresh install of FreeBSD 8.2, installed all required parts for > OM2, and started. At first it looked like everything worked fine. Later > started clicking buttons (i think every problems starts this way). And > found out, that document conversion doesn't work. Error window from the > systems says alot of processes finished with error. But all starts with > jod error: > > Name: out > Value: > Name: exitValue > Value: 1 > Name: command > Value: [java, -cp, > /usr/local/www/om2/jodconverter-core-3.0-beta-4/lib/commons-io-1.4.jar, > -cp, /usr/local/www/om2/jodconverter-core-3.0-beta-4/lib/juh-3.2.1.jar, > -cp, /usr/local/www/om2/jodconverter-core-3.0-beta-4/lib/jurt-3.2.1.jar, > -cp, /usr/local/www/om2/jodconverter-core-3.0-beta-4/lib/ridl-3.2.1.jar, > -cp, /usr/local/www/om2/jodconverter-core-3.0-beta-4/lib/unoil-3.2.1.jar, > -cp, > /usr/local/www/om2/jodconverter-core-3.0-beta-4/lib/commons-cli-1.1.jar, > -cp, /usr/local/www/om2/jodconverter-core-3.0-beta-4/lib/json-20090211.jar, > -cp, > /usr/local/www/om2/jodconverter-core-3.0-beta-4/lib/jodconverter-core-3.0-beta-4.jar, > -jar, > /usr/local/www/om2/jodconverter-core-3.0-beta-4/lib/jodconverter-core-3.0-beta-4.jar, > /usr/local/www/om2/webapps/openmeetings/uploadtemp/files/2cbf2c1eaa7db75c59e8259809db16f3.doc, > /usr/local/www/om2/webapps/openmeetings/upload/files/2cbf2c1eaa7db75c59e8259809db16f3/2cbf2c1eaa7db75c59e8259809db16f3.pdf] > Name: error > Value: Exception in thread "main" java.lang.IllegalStateException: > officeHome not set and could not be auto-detected > at > org.artofsolving.jodconverter.office.DefaultOfficeManagerConfiguration.buildOfficeManager(DefaultOfficeManagerConfiguration.java:163) > at org.artofsolving.jodconverter.cli.Convert.main(Convert.java:111) > > Name: process > Value: doJodConvert > Name: exitValue > Value: 0 > Name: command > Value: > Name: completeName > Value: > ... > > Any thoughts? I have installed openoffice-3, installed java 1.6, > jodconverter (download from google code and set path in administration > configuration) ... what else is missing? maybe somehow there's no > openoffice paths or what? how can i check that? (i use command line of > freebsd). > > thank you in advance, > Linas > -- WBR Maxim aka solomax
