cancel
Showing results for 
Search instead for 
Did you mean: 

Tomcat as a windows service for Alfresco3.3g tomcat bundle

rzs
Champ in-the-making
Champ in-the-making
Hello,

Im using the alfresco tomcat bundle zip file of version 3.3g (alfresco-community-tomcat-3.3g.zip) . I extracted the zip file, set the dir_root, JAVA_HOME and CATALINA_HOME and was able to start alfresco successfully.
However, i want to set tomcat as a windows service, so that it automatically starts when windows boots, but there is no service.bat in alfresco-community-tomcat-3.3g\tomcat\bin.
I tried following instructions given at http://wiki.alfresco.com/wiki/Configuring_Alfresco_as_a_Windows_Service,but there is no tomcat6.exe either.There is startup.bat,catalina.bat etc.
What steps to follow to install tomcat as a windows service in this case ?

Thank You
11 REPLIES 11

williamgh
Champ in-the-making
Champ in-the-making
The service refuses to start and I'm not sure what to do about this error:

[2010-09-22 15:42:31] [174  javajni.c] [error] %1 is not a valid Win32 application.
[2010-09-22 15:42:31] [994  prunsrv.c] [error] Failed creating java C:\Java\jdk1.6.0_20\jre\bin\server\jvm.dll
[2010-09-22 15:42:31] [1269 prunsrv.c] [error] ServiceStart returned 1

williamgh
Champ in-the-making
Champ in-the-making
Does this kind of error ring any bells? I tried various things which only resulted in other immediate and obvious errors. I don't know which way to go next with attempting to get a working service. I feel like if this error wasn't an issue, it would be good because I think I have everything else right.