cancel
Showing results for 
Search instead for 
Did you mean: 

alf_start.bat as windows 2003 service !!

g_rathod
Star Contributor
Star Contributor
Friends,

I want to start alfresco as windows service.
I get the link for starting tomcat as windows service on wiki : http://wiki.alfresco.com/wiki/Configuring_Alfresco_as_a_Windows_Service

actually above link only gives to start tomcat service but I want  my alfresco server should run as service.
like by default it will start   http://localhost:8080/alfresco
is there any way or any tool through which I can make enable that on my windows 2003 server ?

thanks in advance…

…..
3 REPLIES 3

loftux
Star Contributor
Star Contributor
What you want to do is exactly what the instruction gives you. Once you have done that, go to the Services admin console in windows and set the service to autostart. And change to the proper account that Alfresco should run under. That account is preferably a non admin account but with proper access to the Alfresco installation and the alf_data directory. You may need to add some more rights, like start as a service.

Peter Löfgren

power
Champ in-the-making
Champ in-the-making
Hi Loftux,

g_rathod is right on his post for
http://wiki.alfresco.com/wiki/Configuring_Alfresco_as_a_Windows_Service

once we set it all - with given instructions it will only starts tomcat service so we are only able to see http://localhost:8080

thing we need to start  alf_start.bat for alfrescco. Even I tried on my windows machine through services.msc and make status start automatically on window start.
it still starts only tomcat not alfresco.

any more input on this ?

loftux
Star Contributor
Star Contributor
Then it is most likely something that goes wrong when you start alfresco as a service.
Have you checked alfresco.log, or some of the tomcat log files. When you start as a service, configure the log4j.properties (in webapps/alfresco/WEB-INF/classes) so that the logfile is to an absolute path.
log4j.appender.File.File=C:/mylog/alfresco.log

Then make sure the custom-repository.properties (shared/classes/alfresco/extension) and the value dir.root is pointing to an absolute path.

Now try to start again and see what the logfile says.