cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco as Windows Service

lock999
Champ in-the-making
Champ in-the-making
Hi,

I configured Alfresco 2.1 R1 as a windows service as per instructions on Alfresco wiki at: http://wiki.alfresco.com/wiki/Configuring_Alfresco_as_a_Windows_Service.

With this configuration, i found the following issues:
1. When i start Alfresco configured as a windows service, Alfresco does not write a log file on windows file system or windows Event Log.
2. When i start Alfresco configured as a windows service, i cannot configure CIFS. Note: I have put Alfresco\bin in windows Path environment variable.

Please note that when i start Alfresco using alf_start.bat, i do not have the issues listed above.

Is there any other way to cofigure Alfresco as a windows service without the issues listed above? 

Thanks
2 REPLIES 2

paulhh
Champ in-the-making
Champ in-the-making
Hi

You'll probably find the alfresco.log in windows/system32 or wherever the "current" location is determined to be when the service starts.  There should be ways of changing this.  If the netbios DLLs from the bin are in the Windows path, then htey should be found - again, try adding to system32.

Another option I'm considering is to use the open source wrapper tool, as this can be set up for Win & Linux and may make some of the config easier:
http://wrapper.tanukisoftware.org/doc/english/introduction.html

Cheers
Paul.

lock999
Champ in-the-making
Champ in-the-making
Yes, both your suggestions worked. I found the alfresco.log file in windows/system32 and i am now able to use CIFS after adding netbios DLLs to system32. This setup works for us.

Thanks again!