tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: How to prevent tomcat from restarting after hot code replacement?
Date Fri, 04 Apr 2008 18:56:54 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Remo,

Remo Liechti wrote:
| I have the problem that always when I start tomcat in debug mode, and
| change some java files, tomcat restarts after some seconds after the
| code was replaced.

Do you mean that your /webapp/ restarts? Tomcat should not restart
itself for any reason.

| How can this be turned off?

The best you can do is to turn off auto-reload.

| I just want my code to be hot deployed and
| not restarting tomcat.

You cannot do this unless you hack Tomcat or your webapp to re-load
class files when they change.

| If JSP files are hot deployed, tomcat does not
| start, so why should it start by java files?

JSPs are treated specially. Sorry :(

- -chris

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

iEYEARECAAYFAkf2efYACgkQ9CaO5/Lv0PCuAACeN6uD4mMD+y3/iKoRaGI4EjOy
1fQAn00mTlSBtt0ye5+QCT49I6UED6vK
=lbFE
-----END PGP SIGNATURE-----

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


Mime
View raw message