Tomcat Manager

How to configure Liferay as a Tomcat Manager service in Windows #

  1. http://www.mbaworld.com/docs/windows-service-howto.html
  2. Open a Command Prompt and go to: C:\Portals\mycustomer\liferay-5.2.0\tomcat-6.0.18\bin
  3. 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
  4. Install the service: service.bat install MyCustomer
  5. Create a shortcut for Startup/Shutdown/Configuration: C:\Portals\mycustomer\liferay-5.2.0\tomcat-6.0.18\bin\tomcat6w.exe ESMyCustomer
  6. 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
0 Anhänge
18509 Angesehen
Durchschnitt (0 Stimmen)
Die durchschnittliche Bewertung ist 0.0 von max. 5 Sternen.
Kommentare