Comment 52 for bug 131526

Revision history for this message
Fabio Da Soghe (fabio-dasoghe) wrote :

I have a blocking problem with OpenOffice in Gutsy, which is not resolved by the proposed patch. I mean: I get the error with the official OpenOffice repository version and with the updated version available from http://codeprobe.de/tmp/ooo/ (provided by dAniel hAhler).

I'm using OpenOffice in server mode: I run it on Ubuntu Server 7.10, using xvfb (so I have no gnome desktop). I'm developing a java application that makes use of UNO interface to connect to a live OOo server and do some work on text documents. To achieve this I keep a running OOo instance with this command:

xvfb-run --server-args='-screen 0 800x600x16' -a /usr/lib/openoffice/program/soffice -headless -nologo -norestore -accept="socket,host=0.0.0.0,port=2002;urp;" &

The problem I get is an exception when I try to save the document to disk:
com.sun.star.task.ErrorCodeIOException: ^Iat
com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedException(Job.java:187) ^Iat com.sun.star.lib.uno.env
ironments.remote.Job.execute(Job.java:153) ^Iat com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:34
9) ^Iat com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:318) ^Iat com.sun.star.lib.uno.environment
s.remote.JavaThreadPool.enter(JavaThreadPool.java:106) ^Iat com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.
sendRequest(java_remote_bridge.java:657) ^Iat com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(Prox
yFactory.java:159) ^Iat com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:141) ^Iat
 $Proxy60.storeAsURL(Unknown Source)

Please note that:
- it's not a write permission issue: I tried to chmod 777 the destination directory with no success, and the OOo engine is able to create the file with 0 length;
- this whole system (my own application, the OOo headless server installation and configuration) works fine in Ubuntu 6.10 (my OOo version is 2.0.4).
- I tried in Ubuntu Server 7.04, with OOo 2.2 with no success (there is another type of error: while inserting an image into the document, but the exception is aways about UNO calls)
- the same installation works fine with OOo 2.3 on windows xp, without changing a single line of code, so I'm confident it's not an UNO API issue from OOo 2.0 (which works on Ubuntu 6.10 and windows xp) to OOo 2.3 (which works only on windows xp).

It's almost a week of hard work that I'm trying to resolve this problem with no hope, so now I'm forced (due to my deadline) to setup my production environment with an Ubuntu Server 6.10 (the only system I was able to make working).

For what I can see, it seems to me the OOo version of Ubuntu is quite buggy: maybe I have to consider myself lucky to have at last one version of Ubuntu Server where all the software I need is working. As an application developer which wants to use Ubuntu and OOo-on-the-server I would like to debug deeper this issue, but it doesn't seem to be an OOo core issue (so I cannot expect much help from the OOo people). If you (Ubuntu OOo package maintainer) agree this is a package issue, I would be glad to supply all information I can to fix the problem.

Best regards,

Fabio Da Soghe