Check out the workers.properties file.  If Tomcat is running as an out-of-
or in-process container, you will see the redirection for the webserver to
pass requests to certain web virtual directories (check the virtual
directories on your webserver, too).  A real quick clue is if you can invoke
a servlet from port 80 while the webserver is running without an error.  If
you can, the container is running non-stand-alone.  If you have to call a
servlet from port 8080 (or other non-80 port while the webserver is running,
the container is in stand-alone mode.  Finally, if any support HTML files
are in your webserver document root and they can invoke JSP/servlet methods,
your container is not stand-alone.  To find out whether it is out-of- or
in-process mode, again, check the properties files.

You are correct with the reload question.  Be advised, however, that you do
not want this configured as true in a production environment.  It will hose
your server under heavy stress.  Reloading is used mainly for development.

Cheers!
Mark

----- Original Message -----
From: "Jie Ren" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 01, 2001 5:56 PM
Subject: Tomcat and reloadable servlet


> Hi everyone,
>
> I have a couple of questions as following.
>
> 1.  How do I find out which type of servlet container tomcat
> is configured to?  We use apache and tomcat on Unix server
> which have been installed and configured by somebody I can
> not reach.  According to tomcat's user guide, tomcat can be
> used in three ways: Stand-alone servlet container,
> In-process servlet container, and Out-of-process servlet
> container.
>
> 2. How do I reload a servlet object ? If servlet is set to
> reloadable, that is as
> <Context path="/whatever" docBase="webapps/whatever"
> reloadable="true"></Context>  in server.xml file.
>
> Thanks,
>
> -Jie
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to