To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=91990
                 Issue #|91990
                 Summary|OpenOffice fails to run as daemonized server
               Component|framework
                 Version|OOo 3.0 Beta 2
                Platform|Macintosh
                     URL|
              OS/Version|Mac OS X
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|tm
             Reported by|jsnajdr





------- Additional comments from [EMAIL PROTECTED] Tue Jul 22 13:44:02 +0000 
2008 -------
I'm trying to run OOo 3.0 beta for Mac OS X as a daemon without UI. I intend to 
connect to the server 
using UNO and ask it to convert DOC files to HTML. This worked for me with 
version 2.4.1 (X11), but 
stopped working with the new beta.

Steps to reproduce:

1. Download, compile and install the daemonize tool from 
http://www.clapper.org/software/daemonize/
2. Run the following command line:

env -i /usr/local/bin/daemonize -e /tmp/ood.log -u _www 
/Applications/OpenOffice.org.app/Contents/MacOS/soffice.bin -headless -nologo 
-norestore -
nofirststartwizard -accept="socket,port=8100;urp;"

This tries to run the soffice.bin binary as a daemon as user "www" (I call the 
server from within Apache). 
The process starts, but doesn't listen on port 8100.

In the /tmp/ood.log, where the stderr of the soffice.bin process has been 
redirected, is the following:

_RegisterApplication(), FAILED TO establish the default connection to the 
WindowServer, 
_CGSDefaultConnection() is NULL.
2008-07-22 15:27:47.123 soffice.bin[4056:10b] *** -[NSRecursiveLock unlock]: 
lock 
(<NSRecursiveLock: 0x273c5c0> '(null)') unlocked when not locked
2008-07-22 15:27:47.124 soffice.bin[4056:10b] *** Break on _NSLockError() to 
debug.
2008-07-22 15:27:47.476 soffice.bin[4056:10b] Error (1002) creating CGSWindow

With OpenOffice 2.4, the same command line started the server correctly. I'm 
using the 'env -i' 
command to clean the environment variables: the 2.4 server wouldn't start 
without doing this.

Running the server as root or as a user who is logged in works fine. There is 
an icon being displayed in 
the dock, with no other GUI.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to