You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Paul landolt <la...@royalsys.com> on 2002/07/12 20:04:28 UTC
Tomcat 4.1.7b / Apache httpd 2.0.39 connection how-to
Like several other people, I am trying to Connect Tomcat 4.1.7b with Apache
v2.0.39 using the Coyote JK2 connector (because the site said, in big friendly
letters, "IMPORTANT NOTE: The JK connector is now deprecated. Use the Coyote JK 2
connector instead")
I am going though the motions of following the directions, and I appear to have
made _some_ headway, but I cannot be sure since httpd does not appear to be
configured correctly.
Rather than a long bout of "This is what I'm doing" and "are you doing this as
well?", I would like to know if anyone has successfully configured the two
applications using JK2, and if they'd be willing to supply a simple "How-to" in
order for the rest of us to get farther along in the game.
In my particular case, I'm running Tomcat 4.1.7b and Apache v2.0.39 on a Win2K
box (for proof of concept), but I would like to know how to configure same on a
linux box.
I'm sure that any help in this matter would be of tremendous value to many of us
newbies
...Paul
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Tomcat 4.1.7b / Apache httpd 2.0.39 connection how-to
Posted by Andrew Conrad <an...@msn.com>.
I have this configuration working, but that doesn't mean I did it
correctly.
Here goes:
1) Downloaded the mod_jk2.dll from
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/nightly/w
in32/ and placed it in ${APACHE2_HOME}/modules
2) Added 1 line to my httpd.conf file.
LoadModule jk2_module modules/mod_jk2.dll
3) Downloaded the workers2.properties from
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-connectors/jk/conf/ and
placed it in ${APACHE2_HOME}/conf <--- stumbled a lot trying to
place it anywhere else. The logs kept looking for it in this location,
and I couldn't use JkWorkersFile in my httpd.conf file to load it
anywhere else.
4) commented out a lot of lines in the workers2.properties file until it
loaded smoothly ( very scientific aproach ) Particulary, I commented
out jni and unix sockets info. Didn't know what to do with it anyways.
5) commented out the entire ${CATALINA_HOME}\conf\jk2.properties file
That's it. It seems to work. I'm waiting for an authoratative doc to
see if I configured it correctly.
I used the archives a bit, and this one I found helpful
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg57438.html
Also, as long as you don't comment out the [uri:/jkstatus/*] section,
you can go here and get some helpful info
http://localhost/jkstatus
- Andrew
-----Original Message-----
From: Paul landolt [mailto:landolt@royalsys.com]
Sent: Friday, July 12, 2002 2:04 PM
To: Tomcat Users List
Subject: Tomcat 4.1.7b / Apache httpd 2.0.39 connection how-to
Like several other people, I am trying to Connect Tomcat 4.1.7b with
Apache v2.0.39 using the Coyote JK2 connector (because the site said, in
big friendly letters, "IMPORTANT NOTE: The JK connector is now
deprecated. Use the Coyote JK 2 connector instead")
I am going though the motions of following the directions, and I appear
to have made _some_ headway, but I cannot be sure since httpd does not
appear to be configured correctly.
Rather than a long bout of "This is what I'm doing" and "are you doing
this as well?", I would like to know if anyone has successfully
configured the two applications using JK2, and if they'd be willing to
supply a simple "How-to" in order for the rest of us to get farther
along in the game.
In my particular case, I'm running Tomcat 4.1.7b and Apache v2.0.39 on a
Win2K box (for proof of concept), but I would like to know how to
configure same on a linux box.
I'm sure that any help in this matter would be of tremendous value to
many of us newbies
...Paul
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>