Saturday, October 31, 2009

Quick Start - Install and Run Apache Tomcat

Obtain a copy of Apache Tomcat <version> from tomcat.apache.org.
Download >> Binary Distributions >> Core >> zip



Obtain a copy of JDK from Java SE Downloads. There any many options there. Just pick;
Java SE Development Kit (JDK) >> JDK <version> Update <update>

Install the JDK. Please refer to Java SE Downloads page for complete/detail installation instruction.

Unzip Apache Tomcat to a new directory.


Set environment variable JAVA_HOME pointing to the JDK directory.
JAVA_HOME = C:\Program Files\Java\jdk<version>






Locate D:\apache-tomcat-<version>\bin\ and double click startup.bat to start the Apache Tomcat web server.



A command prompt window will popup showing the status.



To confirm it is really running, point your browser to http://localhost:8080. (Default Apache Tomcat port = 8080)



To shutdown Apache Tomcat, simply double click shutdown.bat from the same location that is D:\apache-tomcat-<version>\bin\

No comments:

Post a Comment