-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chuck,

Caldarale, Charles R wrote:
|> From: David Schwartz [mailto:[EMAIL PROTECTED]
|> Subject: auto-run updated classes
|>
|> What is the setting/config to automatically run updated classes
|> (without having to restart Tomcat each time I compile a .java file)?
|
| Modified .jsp files can be reprocessed immediately by setting the
| appropriate attributes for the JspServlet in conf/web.xml file.  For
| modified .class files (or .jar files), you need to restart the webapp.

You do have another option: Set reloadable="true" in your <Context>
element, which has the effect of adding <WatchedElement> configuration
for all JAR files in WEB-INF/lib and .class files in WEB-INF/classes.

In this case, Tomcat will restart when any .class file (that has already
been loaded, mind you) or JAR file is updated.

http://tomcat.apache.org/tomcat-6.0-doc/config/context.html

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkejL9MACgkQ9CaO5/Lv0PCJ/QCgn8f0vNrJbup8hq9op744A6/g
yX0AnRWXDQ4ejQ8vzMhCw2U4p2A22j2v
=YoRX
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to