Thanks for the How To. Do you know if this will work with Apache 1.3.x? I assume it will and I tried the configuration steps. Everything starts up correctly. I can run servlets and JSPs on port 8080. However, when I try to access via apache (port 80), I am getting 403s for any request in any of my webapps. Unfortunately, there are no error messages in apache error file.
Based on another poster's comments, I added the jkDebug="info" attribute to both listener tags. But, after requests from apache the mod_jk.log file (in tomcat log directory) is 0 bytes. Any suggestions on getting more info to troubleshoot the 403s? Regards, Jeff On Thursday 23 January 2003 06:50 am, Turner, John wrote: > See either of my HOWTOs: > > http://www.johnturner.com/howto > > In the Windows XP HOWTO, it is step 5 under "installing the JK Connector". > Note that the process is the same on any platform...the fact that it is a > HOWTO for Windows XP is irrelevant. > > Also note that you will have to wait about 15 or 20 seconds after starting > Tomcat for it to generate the file...it is not instantaneous (Tomcat has a > lot of work to do when starting, even without the auto-config for Apache). > This also means that you will need to restart Apache AFTER you start > Tomcat, otherwise the include in httpd.conf will not work. > > John > > > -----Original Message----- > > From: Jeffery Cann [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, January 23, 2003 2:42 AM > > To: [EMAIL PROTECTED] > > Subject: Enable Apache auto configure in Tomcat 4.1? > > > > > > Greetings. > > > > I am struggling to understand how to set up my server.xml for > > Tomcat 4.1.x to > > build Apache configuration files for mod_jk automatically. > > > > Under 'Using Tomcat auto-configure', the JK Apache How To > > > > <http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowt > > o.html> reads: > > > > "The simplest way to configure Apache to use mod_jk is to > > turn on the Apache > > auto-configure setting in Tomcat and put the following > > include directive at > > the end of your Apache httpd.conf file (make sure you replace > > TOMCAT_HOME > > with the correct path for your Tomcat installation: > > > > To be added at the end of your httpd.conf > > Include /var/tomcat3/conf/jk/mod_jk.conf-auto > > > > This will tell Apache to use directives in the > > mod_jk.conf-auto file in the > > Apache configuration. This file is created by enabling the Apache > > auto-configuration as described in the Tomcat documentation. " > > > > Two problems with this statement: 1) My tomcat installation > > is not producing > > a mod_jk.conf-auto file because 2) the server.xml file is not > > enabled for > > auto-configuration. > > > > Unfortunately, the 'Tomcat Documentation' I could find for > > mod_jk seems to be > > relevant to Tomcat 3.3. The 'Enabling Tomcat's Apache > > Auto-Config' section, > > published at: > > <http://jakarta.apache.org/tomcat/tomcat-3.2-doc/mod_jk-howto. > > html#s81> > reads: > > "To configure Tomcat to generate the Apache auto-configuration add the > following block to your TOMCAT_HOME/conf/server.xml file after <AutoWebApp > ... />. > > <ApacheConfig /> > > That's it, you can now start Tomcat and Apache and access Tomcat from the > Apache server. " > > My tomcat 4.1 server.xml does not contain an AutoWebApp tag. The > server.xml > > does not contain a DTD or XML schema so I can look up to see what the tag > is > > supposed to be. In addition, the only documentation in the server.xml file > pertains to the (not working) mod_webapp connector. > > So, can anyone please explain how I can enable apache auto-configure within > my > Tomcat 4.1 server.xml file? I appreciate any suggestions. > > Jeffery Cann -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
