On Thu, 1 Mar 2001, Scott Tatum wrote:
[ ... ]
> So in review, my questions are: If running separate JVM's connected
> to a single Apache, how do I restart one JVM while leaving the other
> running? Also, if running under said setup, does restarting one
> Tomcat JVM mean that Apache and any other Tomcat JVM's have to be
> restarted as well? Thanks in advance for any insight.
As to your first question, check out:
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/uguide/tomcat_ug.html
particularly the section "Configuring for Multiple Tomcat JVMs". If I
understand correctly what you are trying to do, it seems to talk about
just what you're looking for (in particular, the startup.sh script can
take an option that specifies the server.xml file).
Hmmm, in re-reading the part of your note that I deleted, I see that
you're already aware of that, and you're worried about shutdown.
Well, that's not explicitly covered in the above document, but perhaps
the shutdown.sh script can take that same option. I do note that the
tomcat.sh script, which both startup.sh and shutdown.sh call, passes
any incoming command line options/arguments to the java class it runs,
for both start and stop (and those two scripts pass their command line
options/arguments to tomcat.sh).
As to your second question, I myself am confused as to when Apache and
Tomcat need to be restarted as well (although my questions have more
to do with what needs to be done so that changes in certain config
files are picked up), and perhaps someone can comment on that.
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]