Thanks Maxim.

I set office.path to /usr/lib/openoffice.org3/ in OM's configuration, and it works.


2012-06-08 오후 7:47, Maxim Solodovnik 쓴 글:

You need to set office.home in configurations

On Jun 8, 2012 5:22 PM, "madkoala ([email protected] <mailto:[email protected]>)" <[email protected] <mailto:[email protected]>> wrote:

    I've installed and logged in successfully with latest build of OM.
    I also installed jodconverter and added path in configuration of OM.
    But I can't upload file.

    If I upload file (OM was started with red5-debug.sh on my RHEL5),
    it displays error window immediately with some messages following,

    Name: out
    Value:
    Name: exitValue
    Value: 1
    Name: command
    Value: [java, -cp,
    /opt/jodconverter-core-3.0-beta-4/lib/jodconverter-core-3.0-beta-4.jar,
    -cp, /opt/jodconverter-core-3.0-beta-4/lib/json-20090211.jar, -cp,
    /opt/jodconverter-core-3.0-beta-4/lib/jurt-3.2.1.jar, -cp,
    /opt/jodconverter-core-3.0-beta-4/lib/commons-io-1.4.jar, -cp,
    /opt/jodconverter-core-3.0-beta-4/lib/commons-cli-1.1.jar, -cp,
    /opt/jodconverter-core-3.0-beta-4/lib/ridl-3.2.1.jar, -cp,
    /opt/jodconverter-core-3.0-beta-4/lib/unoil-3.2.1.jar, -cp,
    /opt/jodconverter-core-3.0-beta-4/lib/juh-3.2.1.jar, -jar,
    /opt/jodconverter-core-3.0-beta-4/lib/jodconverter-core-3.0-beta-4.jar,
    
/root/downloads/red5/webapps/openmeetings/uploadtemp/files/63bc8e3eb4c79dc92c3720dd089aba06.doc,
    
/root/downloads/red5/webapps/openmeetings/upload/files/63bc8e3eb4c79dc92c3720dd089aba06/63bc8e3eb4c79dc92c3720dd089aba06.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)
    ...... (omitted)


    How can I solve this problem?
    How do I set officeHome? Is it environment variable?

    Thankyou in advance.


Reply via email to