This patch updates the mod_jk-howto.html to include the latest changes for TC3.3's mod_jk configuration files. Updates: - Updated section on configuring Tomcat to include setting up the <ApacheConfig /> tag - Updated path references to the mod_jk.conf-auto and workers.properties from conf/ to conf/jk/ Mike. -- Mike Braden [EMAIL PROTECTED] [EMAIL PROTECTED] <<patchfile.txt>>
311,313c311,313 < In most of simple cases Tomcat can generate the needed Apache configuration. < When Tomcat starts up it will automatically generate < a configuration file for Apache in <tt>TOMCAT_HOME/conf/mod_jk.conf-auto</tt>. --- > In most simple cases Tomcat can generate the needed Apache configuration. You > can configure Tomcat so that when it starts up it will automatically generate > a configuration file for Apache. 315,316c315,326 < include this file (appending <tt>"Include TOMCAT_HOME/conf/mod_jk.conf-auto"</tt>) < in your httpd.conf. That's it, you can --- > include this file (appending <tt>"Include >TOMCAT_HOME/conf/jk/mod_jk.conf-auto"</tt>) > in your httpd.conf. To configure Tomcat to generate the Apache > auto-configuration: > </p> > <p> > Add the following block to your <tt>TOMCAT_HOME/conf/server.xml</tt> file after ><AutoWebApp ... />. > </p> > <blockquote><pre> > <ApacheConfig /> > </pre></blockquote> > <p> > That's it, you can 326c336 < <p class=note><b>Tomcat 3.2:</b> you must restart tomcat and apache after adding a new --- > <p>Note that you must restart tomcat and apache after adding a new 328c338 < the file <tt>TOMCAT_HOME/conf/mod_jk.conf-auto</tt> is generated when --- > the file <tt>TOMCAT_HOME/conf/jk/mod_jk.conf-auto</tt> is generated when 330,335c340,344 < overwrite <tt>TOMCAT_HOME/conf/mod_jk.conf-auto</tt> each startup so < customized configuration should be kept elsewhere.</p> < <p class=note><b>Tomcat 3.3:</b> The default location of mod_jk.conf and < mod_jk.conf-auto has changed. They are now in < <tt>TOMCAT_HOME/conf/jk/mod_jk.conf</tt> and < <tt>TOMCAT_HOME/conf/jk/mod_jk.conf-auto</tt>. --- > overwrite <tt>TOMCAT_HOME/conf/jk/mod_jk.conf-auto</tt> each startup so > a customized configuration should be kept elsewhere. For example, copy > <tt>TOMCAT_HOME/conf/jk/mod_jk.conf-auto</tt> to ><tt>TOMCAT_HOME/conf/jk/mod_jk.conf-local > </tt>before making changes. You'll need to startup Tomcat once to generate > this file with your configuration for the first time. 336a346,378 > <p>It is also possible to specify the location of the auto generated files by > setting options in the <ApacheConfig /> block. The following details > the syntax: > </p> > <blockquote><pre> > < ContextManager ... > > ... > <ApacheConfig <i>options</i> /> > ... > < /ContextManager > > </pre></blockquote> > <p> > where <i>options</i> can include any of the following attributes: > </p> > <ul> > <li><b>confighome</b> - default parent directory for the following paths. If > not set, this defaults to TOMCAT_HOME. Ignored whenever any of the following > paths is absolute. > <li><b>jservconfig</b> - path to write apache jserv conf file to. If not set, > defaults to "conf/jserv/tomcat-apache.conf". > <li><b>jkconfig</b> - path to write apacke mod_jk conf file to. If not set, > defaults to "conf/jk/mod_jk.conf". > <li><b>workersconfig</b> - path to workers.properties file used by mod_jk. If > not set, defaults to "conf/jk/workers.properties". > <li><b>modjserv</b> - path to Apache JServ plugin module file. If not set, > defaults to "modules/ApacheModuleJServ.dll" on windows, > "modules/Jserv.nlm" on netware, and "libexec/mod_jserv.so" > everywhere else. > <li><b>modjk</b> - path to Apache mod_jk plugin file. If not set, defaults to > "modules/mod_jk.dll" on windows, "modules/mod_jk.nlm" on > netware, and "libexec/mod_jk.so" everywhere else. > <li><b>jklog</b> - path to log file to be used by mod_jk.</li> > </ul> 342c384 < Workers are configured using the file <tt>TOMCAT_HOME/conf/workers.properties</tt>. --- > Workers are configured using the file ><tt>TOMCAT_HOME/conf/jk/workers.properties</tt>. 371c413 < JkWorkersFile /usr/local/jakarta-tomcat/conf/workers.properties --- > JkWorkersFile /usr/local/jakarta-tomcat/conf/jk/workers.properties 467c509 < JkWorkersFile /usr/local/jakarta-tomcat/conf/workers.properties --- > JkWorkersFile /usr/local/jakarta-tomcat/conf/jk/workers.properties
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]