Included in the Magnolia bundle, Apache Tomcat application server provides an environment where the Magnolia application is executed.

To install Tomcat:

  1. Go to Apache Tomcat and download Tomcat.
    The latest usable version is Tomcat 6.x if Java 5 has been installed, recommended due to issues with 7.x starting on Windows.

  2. Extract the ZIP file in the directory where you want to install Tomcat. These instructions assume you chose C:\Program Files\Apache Software Foundation and installed Tomcat version 6.0.32. The subdirectory apache-tomcat-6.0.32 is created from the archive.

To verify installation:

  1. Open Command Prompt.
  2. Go to the Tomcat installation directory.
    cd C:\Program Files\Apache Software Foundation\apache-tomcat-6.0.32
  3. Start Tomcat.
    bin\startup.bat
    A second command prompt window is displayed for Tomcat. The following lines appear when the server has started:

    org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8080
    org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/66 config=null
    org.apache.catalina.startup.Catalina start
    INFO: Server startup in 2238 ms
    
  4. Open a browser and go to <tt>http://localhost:8080</tt>. Message "If you're seeing this page via web browser, it means you've setup Tomcat successfully." indicates success.

    Type bin\shutdown.bat in the first command prompt window to stop Tomcat.

 

#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels