Solved

How to set up OpenOffice as a Windows Servide?

Posted on 2008-10-30
6
234 Views
Last Modified: 2013-12-23
I need to run JODConverter with OpenOffice. The issue is that I tried to install OpenOffice as a Windows service but when trying to run the service installed I always get an error that the system is unable to start the service in a timely fashion.
The following are details about my installation:
Windows 2003 server
OpenOfficePortable version 2.1.4
0
Comment
Question by:Antonio Cruz
  • 3
  • 2
6 Comments
 
LVL 83

Expert Comment

by:oBdA
ID: 22846114
A service has to be programmed as such. If you want to run a regular program as service, you need a wrapper that emulates the service itself and starts/closes the respective program.
SrvAny.exe from the W2k3 Resource Kit is such a wrapper; you can use it in conjunciton with InstSrv.exe to run basically any exe as service.
Check the ResKt documentation for details:
Windows Server 2003 Resource Kit Tools
http://www.microsoft.com/downloads/details.aspx?familyid=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en
0
 

Author Comment

by:Antonio Cruz
ID: 22870632
That behavious was know by myself. The issue is processing as the microsoft tip explains and after to have it installed the service is not working, but if you run openoffice as a standalone application, it is.
That I am looking for is how to install it avoiding those kinds of problems.
My behavior when trying to run OpenOffice as a service is the system is not able of start it up on a timely fashion.
0
 
LVL 83

Expert Comment

by:oBdA
ID: 22870765
Not every program will be capable of running as a srvany-wrapped service. OpenOffice surely wasn't programmed with the intention of having it running as a service. A dialog box opening up (without you being able to see it) or anything else requiring user input may prevent it from working.
You can try to run this srvany instance with a dedicated user account instead of Local System, and/or you can try to run it as a scheduled task during bootup.
0
 

Author Comment

by:Antonio Cruz
ID: 22879433
There are tips in internet saying that OpenOffice can be installed as a service. So, that is not the case.
I just ask for the solutions fixing the problem that I reported
0
 
LVL 83

Accepted Solution

by:
oBdA earned 125 total points
ID: 22879607
Did you follow the instructions here?
Creating an OpenOffice.org Service on Windows
http://www.artofsolving.com/node/11
The issue probably is, as I mention above, that there's a license agreement (see 7. in the link above) dialog or something similar popping up that you can't see because it's running in the local system / local service context.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question