This wiki does not contain official documentation and is currently deprecated and read only. Please try reading the documentation on the Liferay Developer Network, the new site dedicated to Liferay documentation. DISCOVER Build your web site, collaborate with your colleagues, manage your content, and more. DEVELOP Build applications that run inside Liferay, extend the features provided out of the box with Liferay's APIs. DISTRIBUTE Let the world know about your app by publishing it in Liferay's marketplace. PARTICIPATE Become a part of Liferay's community, meet other Liferay users, and get involved in the open source project. 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
18607 vues