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 load a new jar file while server is running
Date Fri, 01 Feb 2008 14:44:25 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

kr1,

kr1 wrote:
| I need to place a new jar file into lib while server is running.
| How can we load this jar(entirely a new file) into tomcat's current
| classpath without restarting the server.
|
| Could you please suggest me how to do it?

If you have reloadable="true" in your <Context> element for your webapp,
you could copy the new JAR into place, and then "touch" a random other
JAR in the WEB-INF/lib directory. This should trigger an automatic reload.

If you do not have reloadable="true" (say, because you are in
production), then, as David says, you'll just have to restart the webapp
(or Tomcat itself) manually.

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

iEYEARECAAYFAkejMEkACgkQ9CaO5/Lv0PDXgACeLJv8uUHNhv5wzL9E0u7rVEbx
254AoI7k6oa915nd12BOAw/Kb5O+PUbn
=7jFi
-----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