Thanks Chris! I will look into this and let you guys know what I find
On Wed, Apr 2, 2014 at 4:19 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Elias, > > On 4/2/14, 4:05 PM, Christopher Schultz wrote: > > Chuck, > > > > On 4/2/14, 8:21 AM, Caldarale, Charles R wrote: > >>> From: Elias Kopsiaftis [mailto:yemi...@gmail.com] Subject: > >>> tomcat randomly undeploys and redeploys the applications > > > >>> I deploy the application, then in the log file catalina.out i > >>> get many messages from WebappClassLoader > >>> clearReferencesThreads saying threads appear to have started > >>> but have failed to stop > > > >> This is an indication that your webapp is not managing its > >> threads properly. > > > >>> then finally, Ill get a message from HostConfig checkResources > >>> that says its undeploying the context, and then it redeploys. > > > >> This is sometimes caused by incorrect timestamps on the bits of > >> the webapp that Tomcat monitors, or an incorrect clock setting on > >> the system Tomcat is running on. The mismatch makes it appear > >> that the webapp is being updated continuously. > > > > I've found that in development, a single update can cause Tomcat to > > go into a loop of redeployments, re-deploying my web application > > every few seconds or so. If I let it go, it does finally stop > > reloading and settle down. > > > > I believe Tomcat will emit a log message informing the > > administrator which file has triggered the reload, but I think it's > > at the DEBUG log level. > > It's WebappClassLoader. You'll want to add this to your > logging.properties in order to emit those messages: > > org.apache.catalina.loader.WebappClassLoader.level=DEBUG > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1 > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQIcBAEBCAAGBQJTPHDjAAoJEBzwKT+lPKRYr4wP/3AzjqhtU8MKyuEoHSwyrwTt > 3z0GaYZEolH+kW46+QOOnFUOXvWaK8MHjy5VgRU1rZP9DK/dwGYGbKrA7sMd9iuG > nvjo7v/hLrPxtvvt8LKiH+vQslhyMU86uNReXu90QUWD0shj3twfC78IEWJKp0rl > NR2/+mIardJv4KeZ06HQVgD/+xWpWVSxeDOeJJ3i1/alxhh7P7ybs8M3v9QTmaHC > XFQEKSdb4MEn1tgEl88ucbhaibKLJKizOYRBfG2k0J3CcVsRtfsefmh0KDXSSBT+ > C6cOKULYCf4JimHdLAo8Ap0C4d6dBIu2MwIXRR+voV0rEtsn2uf43VaJmp9XsQie > 9Gb6PQz7LUHUBAMb4FNrTRAWqfAb0LSq9Q1wXVOa9Ai6HMkYKnIZaO9pHfnAaQKK > 34Zc5JMahtsbPtRj2jKSWiss92N5EDcKZHPLnhz1Z0q+zKRfCiBxDC3aS/bb4vIY > HuYLc1MZq9+2PXjj6Mp9TP/eYOLkGgmT9OLsN+sdNSEmwpFQd/p5zQ9He7OW05O9 > q0wMjNmx0SRfjV5BrtG2k4eSvVaJpUP0FNKWWhaBAkreIyLs3P5C2QMjZ36NnJkA > zO6jDsCJjwc7QOroSFyB++qm3FISDxGTuestkv0UAi92I+ePgjxooOPqSLmaVv5i > 7UiJvtiB6XzAMxpn8wny > =cKnh > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >