Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 72320 invoked from network); 22 Jul 2009 22:09:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Jul 2009 22:09:35 -0000 Received: (qmail 77357 invoked by uid 500); 22 Jul 2009 22:10:35 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 77308 invoked by uid 500); 22 Jul 2009 22:10:35 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 77266 invoked by uid 99); 22 Jul 2009 22:10:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jul 2009 22:10:35 +0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [207.97.245.205] (HELO smtp205.iad.emailsrvr.com) (207.97.245.205) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jul 2009 22:10:25 +0000 Received: from relay10.relay.iad.mlsrvr.com (localhost [127.0.0.1]) by relay10.relay.iad.mlsrvr.com (SMTP Server) with ESMTP id 5E0881EA6EB for ; Wed, 22 Jul 2009 18:10:05 -0400 (EDT) Received: by relay10.relay.iad.mlsrvr.com (Authenticated sender: david.wall-AT-yozons.com) with ESMTPSA id 2418A1EA52D for ; Wed, 22 Jul 2009 18:10:05 -0400 (EDT) Message-ID: <4A678E3D.7040600@computer.org> Date: Wed, 22 Jul 2009 15:10:05 -0700 From: David Wall User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: Tomcat Users List Subject: Programmatically reload webapp in Tomcat 6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Manually, the Tomcat Manager web app allows me to easily restart a web app. So, assuming I have the tomcat manager username and password, I can make a program invoke the same URL that probably would cause the web app to reload, using something like: https://myhost.com/manager/html/reload?path=/THISONE Is there a programmatic way to do this directly instead to make it easier to detect any errors or the like? I basically would like a web app to be able to reload itself, without stopping Tomcat itself, such as after an automated download that installed some new versions of JARs and JSPs for the web app (allowing the web app to download upgrades, install them, then restart the web app so it's put into use). Thanks, David --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org