|
You need to change the http.conf file in Apache and
change your workers.propeties file ect and if you want your server.xml file.
Read the doc "Working with mod_jk closely. Where it show a directory structure
like
JkWorkersFile
/usr/local/jakarta-tomcat/conf/workers.properties (partial example of apache
http.conf file)
this is a solaris file structure - you need to use
windows C:/program files/apache
group/jakarta-tomcat3.2.1/workers.properties
Here is what I add to my apache http.conf
file
#server name added 12/25/2000 ServerName
localhost
#Apache and Tomcat configuration added
12/25/2000 Include "C:/Program Files/Apache
Group/jakarta-tomcat-3.2.1/conf/mod_jk.conf-auto"
LoadModule jk_module
libexec/mod_jk.so AddModule mod_jk.c JkWorkersFile
"C:/Program Files/Apache
Group/jakarta-tomcat-3.2.1/conf/workers.properties" JkLogFile
"C:/Program Files/Apache
Group/jakarta-tomcat-3.2.1/logs/mod_jk.log JkLogLevel
warn
Email me directly and let me know if this works for
you [EMAIL PROTECTED] Forget
anything to do with virtual hosts for now -- just get the apache-tomcat
configueration to work - remember read and reread the doc.
-- Pete --
----- Original Message -----
Sent: Thursday, December 28, 2000 12:37
AM
Subject: RE: msdev mod_jk.dsp /make
all
Why?
I copy the mod_jk.dll file to moduler.And I run the tomcat
first.Then I run the apache.
But the screen isn't that "Apache/1.3.14 (win
32) mod_jk running" .
It is " Apache/1.3.14 (win
32) running" .
It seems no change!
hope u r help!
thx!
oliver
////////////////
I recently set this up (NT4.0 Apache 1.3.14 and
tomcat) and it works for me. You need to download the mod_jk.dll or you write
your own. The docs say "For Win32, mod_jk is available as mod_jk.dll. If there
isn't a prebuilt mod_jk available or you wish to build your own copy, you can
build it yourself from the source" Why build your own when you can use
the .dll available at http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1/bin/win32/i386/ You put mod_jk.dll in your modules directory in the
Apache web server. Also my installation of tomcat (which is correct - is in
the Apache Group directory in the web server) which is shown in Professional
JSP (wrox book) - follow the rest of the directions in the docs
apache-tomcat howto. You start tomcat first and then Apache - when Apache
starts the dos screen says "Apache/1.3.14 (win 32) mod_jk
running" and I can go to http:localhost8080:index.html. I assume
that my setup is correct - if not, please someone let me know.
-- Pete -- [EMAIL PROTECTED] -----
Original Message -----
From: oliver To:
[EMAIL PROTECTED] Sent: Wednesday, December 27, 2000 7:55
PM Subject: MSDEV mod_jk.dsp /MAKE ALL
I want to use mod_jk in
the NT4.0 apache1.3.14 tomcat3.21. I can not find the msdev.exe and
mod_jk.dsp files. where is the two
files? help! thx!
oliver
|