Friday, July 16, 2010

Tomcat Installation

Pe tu tomcat?
java based web server,
kalo wamp server container/support php,and so on
tomcat lak container for servlet,jsp n java application..

1. Download and Install JDK Java
*better to install at C:\java.... (don't install in C:\Program Files\...)
the space between 'Program' and 'Files' makes everything break..

2.Download Tomcat

3.Extract and paste on C:\ with appropiate folder name
*mine is C:\apache-tomcat-[6.0.28]\

4.Environment Variable Setting

go to Control Panel -> System -> Advanced System Settings
click Environment Variables..

set JAVA_HOME=C:\Java\jdk1.6.0_20
*point to where you install the java

5. Click startup.bat in tomcat bin folder to start
*to test it is working or not,
type http://localhost:8080/ in webbrowser

6. Click shutdown.bat to stop tomcat

Reference and more configuration,
Help with environment variables,