Run OpenOffice.org 3 as Windows service (updated instructions)
by Aleksejs
After 11 months I offer you the 2nd edition of my instruction how to run OpenOffice.org 3 as Windows service. Now it is little bit shorter and simpler then previous version (thanks to Rob Hudson for his comment).
I have tried this on Windows Server 2008, but I believe it works on Windows XP and Windows Server 2003, because there is no changes related to Windows features in this edition.
You will need:
- OpenOffice.org 3,
- Windows Server 2003 Resource Kit Tools.
Follow this steps.
- Download and install OpenOffice.org on your computer.
- Download and install Windows Server 2003 Resource Kit Tools.
- Read How To Create a User-Defined Service.
- Create a service named OpenOfficeService following the instructions above. As the Application registry value use C:Program FilesOpenOffice.org 3programsoffice.exe.
- Add another value to the Parameters key named AppParameters and set it to:
- -headless -accept=socket,port=8100;urp; -nologo -nofirststartwizard
if you what to allow OpenOffice.org accept connections only from localhost, - -headless -accept=socket,host=0.0.0.0,port=8100;urp; -nologo -nofirststartwizard
if you what to allow OpenOffice.org accept connections from any computer.
- -headless -accept=socket,port=8100;urp; -nologo -nofirststartwizard
- Start service.
Some notes:
- To check is our service running from a command prompt do:
> netstat -anp tcp
This shoud show a listening on port 8100. - If you use firewall, you may need to allow connections to port 8100.