Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 15788 invoked by uid 500); 12 Mar 2001 22:33:36 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: tomcat-dev@jakarta.apache.org Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 15775 invoked from network); 12 Mar 2001 22:33:35 -0000 Message-ID: <8940E26B14DA3E489D6E38084542C5740297E4@goldmine.ilan.net> From: Mike Braden To: tomcat-dev@jakarta.apache.org Subject: [PATCH] Update to mod_jk-howto.html Date: Mon, 12 Mar 2001 17:33:02 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/mixed; boundary="----_=_NextPart_000_01C0AB44.6B8BFE9A" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N ------_=_NextPart_000_01C0AB44.6B8BFE9A Content-Type: text/plain; charset="iso-8859-1" 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 tag - Updated path references to the mod_jk.conf-auto and workers.properties from conf/ to conf/jk/ Mike. -- Mike Braden mbraden@utenzi.com mikeb@mwbinc.com <> ------_=_NextPart_000_01C0AB44.6B8BFE9A Content-Type: text/plain; name="patchfile.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="patchfile.txt" 311,313c311,313=0A= < In most of simple cases Tomcat can generate the needed Apache = configuration.=0A= < When Tomcat starts up it will automatically generate=0A= < a configuration file for Apache in = TOMCAT_HOME/conf/mod_jk.conf-auto.=0A= ---=0A= > In most simple cases Tomcat can generate the needed Apache = configuration. You=0A= > can configure Tomcat so that when it starts up it will automatically = generate=0A= > a configuration file for Apache.=0A= 315,316c315,326=0A= < include this file (appending "Include = TOMCAT_HOME/conf/mod_jk.conf-auto")=0A= < in your httpd.conf. That's it, you can=0A= ---=0A= > include this file (appending "Include = TOMCAT_HOME/conf/jk/mod_jk.conf-auto")=0A= > in your httpd.conf. To configure Tomcat to generate the Apache=0A= > auto-configuration:=0A= >

=0A= >

=0A= > Add the following block to your TOMCAT_HOME/conf/server.xml = file after <AutoWebApp ... />.=0A= >

=0A= >
=0A=
> <ApacheConfig />=0A=
> 
=0A= >

=0A= > That's it, you can=0A= 326c336=0A= <

Tomcat 3.2: you must restart tomcat and apache = after adding a new=0A= ---=0A= >

Note that you must restart tomcat and apache after adding a new=0A= 328c338=0A= < the file TOMCAT_HOME/conf/mod_jk.conf-auto is generated = when=0A= ---=0A= > the file TOMCAT_HOME/conf/jk/mod_jk.conf-auto is generated = when=0A= 330,335c340,344=0A= < overwrite TOMCAT_HOME/conf/mod_jk.conf-auto each startup = so=0A= < customized configuration should be kept elsewhere.

=0A= <

Tomcat 3.3: The default location of = mod_jk.conf and=0A= < mod_jk.conf-auto has changed. They are now in=0A= < TOMCAT_HOME/conf/jk/mod_jk.conf and=0A= < TOMCAT_HOME/conf/jk/mod_jk.conf-auto. =0A= ---=0A= > overwrite TOMCAT_HOME/conf/jk/mod_jk.conf-auto each startup = so=0A= > a customized configuration should be kept elsewhere.  For = example, copy =0A= > TOMCAT_HOME/conf/jk/mod_jk.conf-auto to = TOMCAT_HOME/conf/jk/mod_jk.conf-local=0A= > before making changes.  You'll need to startup Tomcat once = to generate=0A= > this file with your configuration for the first time.=0A= 336a346,378=0A= >

It is also possible to specify the location of the auto generated = files by=0A= > setting options in the <ApacheConfig /> block.  The = following details=0A= > the syntax:=0A= >

=0A= >
=0A=
> < ContextManager ... >=0A=
>   ...=0A=
>   <ApacheConfig options />=0A=
>   ...=0A=
> < /ContextManager >=0A=
> 
=0A= >

=0A= >  where options can include any of the following = attributes:=0A= >

=0A= >
    =0A= >
  • confighome - default parent directory for the following = paths. If=0A= > not set, this defaults to TOMCAT_HOME. Ignored whenever any of = the following=0A= > paths is absolute.=0A= >
  • jservconfig - path to write apache jserv conf file to. = If not set,=0A= > defaults to "conf/jserv/tomcat-apache.conf".=0A= >
  • jkconfig - path to write apacke mod_jk conf file to. If = not set,=0A= > defaults to "conf/jk/mod_jk.conf".=0A= >
  • workersconfig - path to workers.properties file used by = mod_jk. If=0A= > not set, defaults to "conf/jk/workers.properties".=0A= >
  • modjserv - path to Apache JServ plugin module file. If = not set,=0A= > defaults to "modules/ApacheModuleJServ.dll" on = windows,=0A= > "modules/Jserv.nlm" on netware, and = "libexec/mod_jserv.so"=0A= > everywhere else.=0A= >
  • modjk - path to Apache mod_jk plugin file. If not set, = defaults to=0A= > "modules/mod_jk.dll" on windows, = "modules/mod_jk.nlm" on=0A= > netware, and "libexec/mod_jk.so" everywhere else.=0A= >
  • jklog - path to log file to be used by mod_jk.
  • =0A= >
=0A= 342c384=0A= < Workers are configured using the file = TOMCAT_HOME/conf/workers.properties.=0A= ---=0A= > Workers are configured using the file = TOMCAT_HOME/conf/jk/workers.properties.=0A= 371c413=0A= < JkWorkersFile /usr/local/jakarta-tomcat/conf/workers.properties=0A= ---=0A= > JkWorkersFile /usr/local/jakarta-tomcat/conf/jk/workers.properties=0A= 467c509=0A= < JkWorkersFile /usr/local/jakarta-tomcat/conf/workers.properties=0A= ---=0A= > JkWorkersFile /usr/local/jakarta-tomcat/conf/jk/workers.properties=0A= ------_=_NextPart_000_01C0AB44.6B8BFE9A Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, email: tomcat-dev-help@jakarta.apache.org ------_=_NextPart_000_01C0AB44.6B8BFE9A--