Run Tomcat 6 as Windows service:
Info URL:
http://wiki.alfresco.com/wiki/Configuring_Alfresco_as_a_Windows_ServiceInstall Command Line:
:\> cd c:\alfresco\tomcat\bin:\> service.bat install
:\> tomcat6 //US//Tomcat6 --JvmMs=128 --JvmMx=512 --JvmSs=96 ++JvmOptions "-XX:MaxPermSize=128m"
Uninstall Command Line:
:\> service.bat uninstall Tomcat6 (or the "name" used when installing the service)TomCat6 Service Properties Link:
:\> tomcat6w.exe //ES//Tomcat6 (or the "name" used when installing the service)ERRORS: TomCat6 SERVICE NOT STARTING
- prunsrv.c Failed creating java
- Solution:
- Copy msvcr71.dll from java’s bin directory to windows\system32 folder
- Known issue
- Solution:
- Make sure your tomcat’s pointing to correct jvm.dll folder.
- My tomcat pointing to C:\Program Files\Java\jre1.6.0_07\bin\client\jvm.dll, try change to C:\Program Files\Java\jre\bin\client\jvm.dll
Run MySQL as Windows Service:
These instructions assume that Alfresco is installed in C:\Alfresco. Beforeyou can install MySQL as a windows service you need to set the following directories
in the C:\alfresco\mysql\my.ini file
Edit my.ini:
basedir="C:\Alfresco\mysql"datadir="C:\Alfresco\alf_data\mysql"
Install Command Line:
:\> cd C:\Alfresco\mysql\bin :\> mysqld.exe --install AlfrescoMySQL --defaults-file=C:\Alfresco\mysql\my.ini
ERRORS: MySQL SERVICE NOT STARTING
None so far...
2 comments:
men, you're awesome. It really works for me. thanks a lot.
Cool, glad it helped!
Post a Comment