On Tue, 25 Jun 2002, Jacob Kjome wrote:

> Milt,
>
> You can set up a static mod_jk.conf file for Apache to load that
> includes references to contexts that you may not have installed yet,
> but you plan on installing.  Then, once it is actually installed in
> Tomcat, the redirector will get the request to Tomcat just fine.
> Just plan a bit in advance.  Also, it usually doesn't take long to
> restart Apache, do adding stuff to the mod_jk.conf and restarting
> shouldn't be too much of a big deal.

Thanks for the reply.

This file would have to be Include'd in Apache's main httpd.conf file,
correct?  We've considered this solution, but it is not ideal.  For
example, there might be several Tomcat instances, so there'd be
several such mod_jk.conf files.  And they'd probably be Include'd in
the same section(s) of httpd.conf.  Thus there is increased chances of
errors or interference between the different mod_jk.conf files.

FWIW, I sent out a separate message with a more detailed description
of what we're trying to do and what we're considering.


> At 10:21 PM 6/24/2002 -0500, you wrote:
> >On Mon, 24 Jun 2002, Craig R. McClanahan wrote:
> >
> > > On Mon, 24 Jun 2002, Milt Epstein wrote:
> >[ ... ]
> > >
> >
> >Thanks for the info.
> >
> >
> > > > Also, is this something that only applies to Tomcat standalone, or
> > > > will it work when Tomcat is integrated with Apache?  If so, how
> > > > does it take care of the neccesary Apache httpd directives (either
> > > > JkMount or WebAppDeploy or whatever) to make sure Apache forwards
> > > > the appropriate requests to Tomcat.
> > >
> > > These tasks are targeted at Tomcat standalone.  They don't do
> > > anything about restarting your web server for you (and, AFAIK, you
> > > don't have any choice -- Apache, at least, does not have any notion
> > > of dynamic deployment without restarting, although the restart
> > > process can be pretty quick).
> >
> >But it's more than just a matter of restarting Apache, right?  Even
> >with a restart, Apache has to know about the new URL's/contexts.  And
> >can that be done without modifying Apache's httpd.conf file?
> >
> >(I'm asking because we may be setting up an environment with separate
> >"service" managers and "system" managers, with the service managers
> >having access to all the Tomcat stuff, but not the Apache stuff --
> >although they probably will be able to stop/start Apache.)
> >
> >Thanks.

Milt Epstein
Research Programmer
Systems and Technology Services (STS)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to