For the record, I'm a bit superstitious about this. I'm using webapp folders as opposed to WARs and I always stop Tomcat during `ant update`. :)
Alan On Wed, Jul 29, 2015 at 11:17 PM, Brown, Jacob <j.h.br...@tcu.edu> wrote: > In what situations, if ever, is it safe to run `ant update` while Tomcat > is running? > > > > I’ve mapped my webapps for Tomcat using “Technique A” (defining a context > that points to [dspace]/webapps/[app]). > > > > In a development environment, I’ve played around with running `ant update` > while Tomcat is running. Most of the time, Tomcat seems to reload the web > application appropriately and continues to serve requests. Occasionally I > will get errors or a blank page after doing so, which continue until I > restart Tomcat (which resolves the issue). > > > > Would using WARs make this safe? That is, if I added the “-Dwars=true” > option to `ant update` and updated my Tomcat contexts to point to > [dspace]/webapps/[app].war instead, would it be okay to update my webapps > while Tomcat is running? Or is there other stuff going on in `ant update` > that is potentially going to break Tomcat? > > > > Thanks, > > > > Jacob > > > ------------------------------------------------------------------------------ > > _______________________________________________ > DSpace-tech mailing list > DSpace-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-tech > List Etiquette: > https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette > -- Alan Orth alan.o...@gmail.com https://alaninkenya.org https://mjanja.ch "In heaven all the interesting people are missing." -Friedrich Nietzsche GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0
------------------------------------------------------------------------------
_______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette