Consultor Eletrônico



Kbase 21577: How To Install and Configure TomCat for Windows
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/15/2008
Status: Unverified

GOAL:

How to install and configure Tomcat on a Windows box with an Apache Web server.

FACT(s) (Environment):

Windows NT 32 Intel/Windows 2000
Windows 32 Intel

FIX:

1) Download TOMCAT.
From  http://jakarta.apache.org click on the Binaries link and choose the appropriate version of Tomcat from the list.

2) Uncompress the zip file and extract the files to the root directory where you would like it installed.  The extraction will create a Jakarta-tomcat-3.n.n directory for you.

3) Define the following environment variables:

  TOMCAT_HOME=C:\Jakarta-tomcat-3.2.4
  JAVA_HOME=%DLC%\JDK

  Append the Java interpreter to your path environment variable.
  %DLC%\JDK\bin\Java

4) Edit the CP variable in the
  c:\Jakarta-tomcat-3.2.4\bin\tomcat.bat file
  - from -
  SET CP=%CP  
  - to -
  SET CP=%DLC%\Java\aia.zp;%CP%

5. Copy mod_jk.dll to your Apache modules directory. Add the following line to the end of the httpd.conf file.
  Include c:\Jakarta-tomcat-3.n.n\conf\mod_jk.conf-auto

6.) stop and restart Apache

7) Launch the c:\Jakarta-tomcat-3.2.4\startup.bat file.

8) Test tomcat: http://localhost:8080/examples