cancel
Showing results for 
Search instead for 
Did you mean: 

Install the Tomcat package to run as service

irblue
Champ in-the-making
Champ in-the-making
Hi,

I install the Tomcat package in a W2K server, how can I run Alfresco (Tomcat) as a windows service so that it will start automatically whenever the server rebooted ?

I understand that if I install a fresh copy of Tomcat, it will have a option to run it as service, I just don't know how to turn this option on in the Alfresco/Tomcat package.

Any help will be appreciated.

Thanks in advance !
2 REPLIES 2

spyke
Champ in-the-making
Champ in-the-making
I have also tried to run Alfresco as a Service in Windows 2003 and used the sc.exe command but when the service starts alf_start.bat, an error message appears:

"Error 1053: The service did not respond to the start or control requiest in a timely fashion."

My OS: Windows 2003 SP1


Any suggestions?? Well, maybe one of in the dev department will see this post…

On another note, I would like to take some time to thank all the Alfresco team for their great product.  I can't wait to see the new features in v1.3.

Cheers

—————————-

Dany Asselin
Avexar Soltions inc.

http://www.avexar.com

irblue
Champ in-the-making
Champ in-the-making
Hi,

After much of fooling around, I'm now able to switch the Alfresco Tomcat package to run as service when Windows starts. Here is what I did :

- Add Windows environmental veriable :

JAVA_HOME=C:\Program Files\Java\jdk1.5.0_06
OPENOFFICE_PATH=C:\Program Files\OpenOffice.org 2.0\program

- Add scheduled task to run batch file "start_oo.bat" when Windows starts, the file is in C:\Alfresco

- Set the dir.root in repository.properties file, it is located in  C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\, change it to an absolute path, e.g. dir.root=C:/Alfresco/alf_data

- Add Tomcat service, in C:\Alfresco\tomcat\bin, run the batch file by type in "service install", a "Apache Tomcat" service will be added, change the startup option to automatic.

I think that's it. If there should be other steps to be done, please kindly advise.

Cheers