I pasted before I read the link below...that how-to is for 3.2. The one for 4.x is at http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html.
Another good How-to that I used to setup a load-balanced Apache-mod_jk-Tomcat 4.0.6 setup is at http://www.ubeans.com/tomcat/. Good luck, Ben Ricker On Thu, 2002-12-12 at 10:44, Ben Ricker wrote: > You seem to be confused here. I believe you said you were accessing port > 8080 when it was working. Now, unless you setup Apache to listen on port > 8080, you were talking directly to Tomcat's web server. Now that you > have moved to Apache, you want to drop the 8080 and use port 80, which > Apache listens to by default (again, unless you changed it). > > I would suggest that you post all the lines you added to httpd.conf, > your workers.properties conf file, and your server.xml file. > > The JkMount directive tells Apache what path gets mapped to Tomcat; see > http://jakarta.apache.org/tomcat/tomcat-3.2-doc/mod_jk-howto.html for > more information about the directive. > > HTH, > > Ben Ricker > > On Thu, 2002-12-12 at 10:41, Denise Mangano wrote: > > I do have a workers.properties file. I checked that, my server.xml, and my > > httpd.conf and all server names are the same. > > > > I thought the mod_jk.conf file took care of the LoadModule directive that I > > would have had to place in my httpd.conf file. I tried searching for info > > on the JkMount directive but could not find any. Do I place JkMount > > path/to/modules/mod_jk-1.3-eapi.so? And where would I place that in the > > httpd.conf file? I just don't get why it was working before, but now it > > isn't.... > > > > Thanks again. > > > > Denise Mangano > > Help Desk Analyst > > Complus Data Innovations, Inc. > > > > > > -----Original Message----- > > From: Turner, John [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, December 12, 2002 10:52 AM > > To: 'Tomcat Users List' > > Subject: RE: Apache-Tomcat mod_jk > > > > > > > > Do you have a workers.properties file? Creating one is explained in my > > HOWTO...JK needs one to understand how to get to Tomcat. > > > > Do you have the JkMount statements in httpd.conf? Apache needs those to > > understand what to send to JK. > > > > John > > > > > > > -----Original Message----- > > > From: Denise Mangano [mailto:[EMAIL PROTECTED]] > > > Sent: Thursday, December 12, 2002 10:38 AM > > > To: 'Tomcat Users List' > > > Subject: RE: Apache-Tomcat mod_jk > > > > > > > > > Thank you very much for your help. The instructions were easy enough > > > to follow, with a few exceptions. I downloaded the > > > mod_jk-1.3-eapi.so because > > > as per the site, that was the module to use if I am running > > > Apache 1.3 with > > > mod_ssl. After doing all the steps I tried to restart Apache > > > and got the > > > following error message: > > > > > > Starting httpd: Syntax error on line 4 of > > > /var/jakarta-tomcat-4.1.12/conf/auto/mod_jk.conf: > > > Cannot load /etc/httpd/libexec/mod_jk.so into server: > > > /etc/httpd/libexec/mod_jk.so: cannot open shared object file: No such > > > file or directory > > > > > > I changed the path in the mod_jk.conf file to LoadModule jk_module > > > /the/exact/path/to/mod_jk-1.3-eapi.so > > > > > > When I tried to restart Apache it restarted no problem. But now I > > > cannot get to http://localhost:8080 when before I could. > > > (http://localhost still > > > works though) Any thoughts? In the meantime I am going back > > > to double > > > check everything. > > > > > > Denise Mangano > > > Help Desk Analyst > > > Complus Data Innovations, Inc. > > > > > > > > > -----Original Message----- > > > From: Turner, John [mailto:[EMAIL PROTECTED]] > > > Sent: Thursday, December 12, 2002 9:14 AM > > > To: 'Tomcat Users List' > > > Subject: RE: Apache-Tomcat HOWTO > > > > > > > > > > > > #1: Yes. > > > > > > #2: No. :) > > > > > > You don't need ant. When I originally wrote the HOWTO, I thought you > > > did, so I hacked through getting it to work and put that in my > > > HOWTO. Then, > > > based on a tip from someone on the list I learned that I > > > didn't need to go > > > through all that, all I needed to do was follow connector > > > build option #2, > > > which is using the standard ./configure method. > > > > > > So, basically, if you want to build the connector from source, all you > > > have to do is (assuming a GNU-ready build environment): > > > > > > NOTE: the ./configure method assumes you have a sane build > > > environment: > > > libtool, GNU make, autoconf, m4 > > > > > > a) cd to CONNECTOR_HOME/jk/native. > > > > > > b) check README and README.configure. > > > > > > c) run buildconf.sh: ./buildconf.sh. This will create a file called > > > "configure" in CONNECTOR_HOME/jk/native. > > > > > > d) run configure: ./configure > > > --with-apxs=/some/path/to/apache/bin/apxs > > > --with-java-home=${JAVA_HOME} > > > > > > e) run make: make > > > > > > g) You should end up with a mod_jk.so file in > > > CONNECTOR_HOME/jk/native/apache-1.3. Copy that mod_jk.so file to > > > /path/to/apache/libexec/. > > > > > > John > > > > > > > > > > -----Original Message----- > > > > From: Denise Mangano [mailto:[EMAIL PROTECTED]] > > > > Sent: Thursday, December 12, 2002 9:04 AM > > > > To: 'Tomcat Users List' > > > > Subject: Apache-Tomcat HOWTO > > > > > > > > > > > > Another trivial question... I am looking at John Turner's > > > how-to's for > > > > setting up Apache 1.3.26 + Tomcat 4.0.4. There was a post > > > that when > > > > reading the how-to's version numbers are not that critical. > > > Will this > > > > document help > > > > me for my Apache 1.3.27/Tomcat 4.1.12 set up? If so, then does that > > > > mean I have to install ant? > > > > > > > > Thanks! > > > > > > > > Denise Mangano > > > > Complus Data Innovations, Inc. > > > > > > > > -- > > > > To unsubscribe, e-mail: > > > > <mailto:[EMAIL PROTECTED]> > > > > For additional commands, e-mail: > > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > -- > > > To unsubscribe, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > For additional commands, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > > > > -- > > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > -- > > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- Ben Ricker <[EMAIL PROTECTED]> Wellinx.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>