Solved

How to set up OpenOffice as a Windows Servide?

Posted on 2008-10-30
6
229 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:aacruzv
  • 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:aacruzv
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:aacruzv
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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
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…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

895 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now