You are not logged in.

#1 2012-04-13 09:45:08

gauravsingh
Member
Registered: 2012-04-13
Posts: 2

unable to run oowriter as web user

I have a web server set up in my laptop. I was building a web application which i am accessing in the local network.
I have a php file which contains following line:
  $command = "/usr/bin/oowriter --invisible --convert-to pdf /var/www/hackathon/document/gaurav.doc -outdir /var/www/hackathon/pdf/"
  exec($command,$output,$return_var);
  print_r($output);

So, the problem is when i run in terminal above php runs perfect.But when accessed via web browser, output is just empty and no conver is done as intended.
apache error log shows following lines:

[Java framework] Error in function createSettingsDocument (elements.cxx).
javaldx failed!
Warning: failed to read path from javaldx

i have tried solutions https://wiki.archlinux.org/index.php/Li … work_Error.
but it didnt work.

Anybody having any idea how to make this work??

Offline

#2 2012-04-13 20:53:18

onny
Member
From: Europe
Registered: 2010-08-07
Posts: 46
Website

Re: unable to run oowriter as web user

Do you use Sun Java or OpenJDK?

Offline

#3 2012-04-14 09:28:30

gauravsingh
Member
Registered: 2012-04-13
Posts: 2

Re: unable to run oowriter as web user

OpenJDK 7

Offline

Board footer

Powered by FluxBB