tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trask <wb...@comcast.net>
Subject RE: Apache 2 and Tomcat 4
Date Sat, 03 Aug 2002 21:16:48 GMT
Robert,

	Is the JAVA_HOME/conf directory the correct place to put
jk2.properties file, because I do not have a conf file in my JAVA_HOME
directory?   Thanks Trask

-----Original Message-----
From: Robert L Sowders [mailto:rsowders@usgs.gov] 
Sent: Saturday, August 03, 2002 12:18 AM
To: tomcat-user@jakarta.apache.org
Subject: Re: Apache 2 and Tomcat 4

Sure thing,

But it's for Tomcat 4.1.8

Install J2sdk1.4.0_01
http://java.sun.com/j2se/1.4/download.html
No need to install src or demos.  I chose an install path of c:\1\java, 
try to keep it simple. Add the java bin directory to the system PATH 
variable in my case it is       C:\1\java\bin
Add JAVA_HOME to the system variables pointing it at where you installed

JSDK mine is C:\1\java

Install Apache 2.0.39
http://www.apache.org/dist/httpd/binaries/win32/apache_2.0.39-win32-x86-
no_ssl.msi
Make a nice short path without any blank spaces for the installation.
Mine 
is C:\1\Apache2
During installation set domain and ServerName to localhost.
 
Install Tomcat 4.1.8
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/test/v4.1.8/bin/jaka
rta-tomcat-4.1.8-LE-jdk14.exe
Again make sure to chose a nice short install path without any blanks in

the names.  Mine is C:\1\Tomcat

Note:  During installation you don't have select the check box for nt 
service.  Tomcat will be started by Apache as it's needed.

Set system environment variables for Tomcat home;  TOMCAT_HOME= 
C:\1\Tomcat

Install and configure mod_jk2.dll
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/nightly/w
in32/
Save mod_jk2.dll to the APACHE_HOME/modules directory.


In the httpd.conf file add this LoadModule statement to the beginning of

the LoadModule section;
LoadModule jk2_module modules/mod_jk2.dll

In your APACHE_HOME/logs directory create three empty files;
stdout.log
stderr.log
jk2.shm

Drop the attached workers2.properties file into the APACHE_HOME/conf 
directory. 
(Edit paths to suit)

Cut and paste the following jk2.properties file into the JAVA_HOME\conf 
directory 
(Edit paths to suit)

Reboot to make all the variables active

Open http://localhost/examples to test.

Have fun

rls

>Hello All,

>I am trying to find a configuration that will allow apache 2 and tomcat
4 
to
>talk to each other on a windows platform. Does anyone have any pointers

on
>where to look?

>Thanks.

>Stephen.



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message