
Tomcat Manager
How to configure Liferay as a Tomcat Manager service in Windows #
- http://www.mbaworld.com/docs/windows-service-howto.html
- Open a Command Prompt and go to: C:\Portals\mycustomer\liferay-5.2.0\tomcat-6.0.18\bin
- Edit the service.bat; add this to the installation line: --DependsOn MSSQL$SQLExpress;SomeOtherService so that it looks like this in the end: "%EXECUTABLE%" IS%SERVICE_NAME% --StartClass org.apache.catalina.startup.Bootstrap --StopClass org.apache.catalina.startup.Bootstrap --StartParams start --StopParams stop --DependsOn MSSQL$SQLExpress;SomeOtherService
- Install the service: service.bat install MyCustomer
- Create a shortcut for Startup/Shutdown/Configuration: C:\Portals\mycustomer\liferay-5.2.0\tomcat-6.0.18\bin\tomcat6w.exe ESMyCustomer
- Double click on the shortcut, and change these config options:
- General Tab:
- Change Description to: Apache Tomcat MyCustomer
- Change Startup Type to: Automatic
- Logging Tab:
- Change level to: Info
- Java Tab (Java Options): -XX:MaxPermSize=128m -Dfile.encoding=UTF8 -Duser.timezone=GMT -Djava.security.auth.login.config=C:\Portals\mycustomer\liferay-5.2.0\tomcat-6.0.18\conf\jaas.config
-Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false
- Java Tab:
- Set Initial memory pool to: 256
- Set Maximum memory pool to: 1200
- Startup Tab:
- Change working path to: C:\Portals\mycustomer\liferay-5.2.0\tomcat-6.0.18\bin
- Shutdown Tab:
- Change working path to: C:\Portals\mycustomer\liferay-5.2.0\tomcat-6.0.18\bin
18510 Views