Skip to main content
osebbah
New Participant
November 10, 2015
Question

getting error message: "Could not determine OpenOffice installation" when using the CFDOCUMENT tag to convert a DOC file to PDF ?

  • November 10, 2015
  • 1 reply
  • 800 views

Hello,

I get the error message "Could not determine OpenOffice installation"  when I call  CFDOCUMENT tag to convert a DOC file to PDF format.

The the path of the OpenOffice installation (/opt/openoffice4/) is correctly  set in CFADMIN - Document. I am still receiving the same error message though

The OS platform is Linus RH 6   (2.6.32-504.23.4.el6.x86_64)

Coldfusion version : 10,282462

Any idea/tips about this issue

Thaks in advance

Othmane

    This topic has been closed for replies.

    1 reply

    WolfShade
    Brainiac
    November 12, 2015

    The only thing that I can think of (and I'm new to Linux, myself) is the most common problem I encounter when running Linux - permissions!!!  Make sure that the CF user account has permissions to that folder.

    HTH,

    ^_^

    osebbah
    osebbahAuthor
    New Participant
    November 16, 2015

    Thanks for the feedback .. I've checked the permissions either on Solaris & Linux without success.. I suspect a wrong java class path or a missing library of stuff like that !

    Actually I've fixed the problem by Configuring "remote OpenOffice"   instead of Configuring 'local OpenOffice'. The two existing  ways to set OpenOffice at the CF server administration console. 

    Concretely we need to follow the next steps:

    1- Install OpenOffice package.

    2- Start the service Manager of OpenOffice at the server level by using equivalent  command: 

    '/opt/openoffice4/program/soffice' --accept="socket,host=your_host_name,port=9000;urp;StarOffice.ServiceManager"  --headless --nologo --norestore &

    4- Check that the instance of OpenOffice is launched: "ps -ef  | grep -i openoffce"  or  "netstat -an |grep 9000" 

    3- configuring  through the Administration console of CF: Server Setting --> Document -->  the remote server parameters:

    Remote Host: your_host_name

    Remote Port: 9000

    result: It works like a charm !

    WolfShade
    Brainiac
    November 16, 2015

    Thanks for the instructions.  I do not currently have/need OOo, but might follow your tips just to see if I can get it to work.

    V/r,

    ^_^